ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Compiler errors on SGI IRIX

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2003 15:12:20 -0700

On Sep 25, 2003, at 12:18 PM, Craig Brockmeier wrote:

-----------------------
epan/osi-utils.c  line 73:
function print_nsap_net_buf is declared void but returns a value:

    return( print_area_buf( ad, length, buf ) );

See the first of the attached patches. That fix went in after 0.9.15 was released.

packet-lwapp.c:
I had to add an include for alloca.h

#include <epan/resolv.h>
#include "prefs.h"
#include <alloca.h>

This should probably be an #ifdef  or in configure

No, it shouldn't be using "alloca()" in the first place. See second of the attached patches; that also went in after 0.9.15 was released.

Attachment: patch1
Description: Binary data

Attachment: patch2
Description: Binary data