Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3161] text2pcap.c define trickery breaks strdup() handling

Date: Mon, 17 May 2010 05:19:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3161

--- Comment #11 from Petr Sumbera <petr.sumbera@xxxxxxx> 2010-05-17 05:19:07 PDT ---
Without the patch from comment #1 it still fails on Solaris (Wireshark 1.3.5):

source='text2pcap.c' object='text2pcap.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ./depcomp \
        /ws/onnv-tools/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I. -I.  -I.
-I./wiretap     -I/usr/include -I/usr/include/pcap -I/usr/include/kerberosv5
'-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.3.5"'  -DNEW_PACKET_LIST -D_U_=""
-xO3 -m32 -xarch=sparc -xspace -W0,-Lt -Xa  -xildoff -xc99=all -W2,-xwrap_int
-I/usr/include/pcre -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-D_PTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/pcap
-I/usr/include/kerberosv5 -c text2pcap.c
"/usr/include/sys/feature_tests.h", line 353: #error: "Compiler or options
invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"
cc: acomp failed for text2pcap.c
gmake[2]: *** [text2pcap.o] Error 2

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.