Ethereal-dev: [Ethereal-dev] ethereal 0.9.16 build on HP-UX 11.00 stopped in packet-ansi_a.c
Dear Michael Lum,
the build of ethereal 0.9.16 on HP-UX 11.00 stopped
in packet-ansi_a.c.
The file named Your mail address as responsible person for
this dissector. Hopefully You are the right person to adress this issue.
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-c `test -f 'packet-ansi_a.c' || echo './'`packet-ansi_a.c
packet-ansi_a.c:5959: conflicting types for `P_SID' /usr/include/sys/wait.h:162: previous
declaration of `P_SID'
make[2]: *** [packet-ansi_a.o] Error 1
make[2]: Leaving directory `/usr/local/src/ethereal/ethereal-0.9.16'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ethereal/ethereal-0.9.16'
make: *** [all] Error 2
root cause:
You hit a system default of HP-UX. ;-)
Workaround:
rename in packet-ansi_a.c P_SID into i.e. P_ANSISID
(There are 2 locations to change)
I did this to re-enable the build.
Perhaps my rename proposal is not the best, but....
With kindly regards
F.
--
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++