Hi list,
I can't compile Ethereal anymore wth the current CVS snapshot. Below
you'll find the last lines of my make (after a make distclean):
gcc -O3 -ggdb
"-D_U_=__attribute__((unused))" -Wall -W -Wcast-qual -Wcast-align -Wba
d-function-cast -pedantic -Wstrict-prototypes -O3 -ggdb -I/usr/local/i
nclude -pthreads -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0
/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/
include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o
ethereal.exe packet-aarp.o [... skipping other packet object files
... ] packet-zebra.o adler32.o afn.o asn1.o column.o crc32.o
crypt-des.o crypt-md4.o crypt-md5.o crypt-rc4.o follow.o g711.o
h225-persistentdata.o in_cksum.o ipproto.o packet-dcerpc-nt.o prefs.o
ptvcursor.o reassemble.o req_resp_hdrs.o t35.o tap.o util.o xdlc.o
xmlstub.o capture_stop_conditions.o cfile.o conditions.o
disabled_protos.o pcap-util.o pcap-util-unix.o print.o ps.o range.o
ringbuffer.o timestats.o version_info.o register.o capture.o file.o
filters.o proto_hier_stats.o
summary.o -Wl,--export-dynamic -pthreads -Wl,--export-dynamic -L/usr/
local/lib wiretap/libwiretap.a gtk/libui.a epan/libethereal.a
epan/ftypes/libftypes.a epan/dfilter/libdfilter.a
.libs/libimp-cygpcre-0.a -lpcap -L/usr/X11R6/lib
.libs/libimp-cyggtk-x11-2.0-0.a -lX11 .libs/libimp-cyggdk-x11-2.0-0.a
.libs/libimp-cygatk-1.0-0.a -L/usr/lib
.libs/libimp-cyggdk_pixbuf-2.0-0.a .libs/libimp-cygpangox-1.0-0.a
.libs/libimp-cygpango-1.0-0.a .libs/libimp-cyggobject-2.0-0.a
.libs/libimp-cyggmodule-2.0-0.a .libs/libimp-cyggthread-2.0-0.a
.libs/libimp-cygglib-2.0-0.a -luser32 -lkernel32
.libs/libimp-cygintl-2.a
.libs/libimp-cygiconv-2.a -lz -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpa
th -Wl,/usr/X11R6/lib
gcc: unrecognized option `-pthreads'
gcc: unrecognized option `-pthreads'
wiretap/libwiretap.a(buffer.o)(.text+0x12): In function `buffer_init':
/home/Eigenaar/ethereal/cvs/ethereal-pcre/wiretap/buffer.c:36:
undefined reference to `_mcount'
wiretap/libwiretap.a(buffer.o)(.text+0x5c): In function `buffer_free':
/home/Eigenaar/ethereal/cvs/ethereal-pcre/wiretap/buffer.c:45:
undefined reference to `_mcount'
wiretap/libwiretap.a(buffer.o)(.text+0x85): In function
`buffer_assure_space':
/home/Eigenaar/ethereal/cvs/ethereal-pcre/wiretap/buffer.c:54:
undefined reference to `_mcount'
wiretap/libwiretap.a(buffer.o)(.text+0x125): In function
`buffer_append':
/home/Eigenaar/ethereal/cvs/ethereal-pcre/wiretap/buffer.c:91:
undefined reference to `_mcount'
wiretap/libwiretap.a(buffer.o)(.text+0x232): In function
`buffer_remove_start':
/home/Eigenaar/ethereal/cvs/ethereal-pcre/wiretap/buffer.c:98:
undefined reference to `_mcount'
epan/libethereal.a(packet.o)(.text+0xe2):/home/Eigenaar/ethereal/cvs/e
thereal-pcre/epan/packet.c:251: more undefined references to `_mcount'
follow
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)
collect2: ld returned 1 exit status
make[2]: *** [ethereal.exe] Error 1
make[2]: Leaving directory `/home/Eigenaar/ethereal/cvs/ethereal-pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Eigenaar/ethereal/cvs/ethereal-pcre'
make: *** [all-recursive-am] Error 2
Regards,
Olivier