x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs -march=native -O2 -pipe -DGUNZIP="\"gunzip\"" -DBUNZIP2="\"bunzip2\"" -DLOAD_MODULE_HTTP -DHTTP_SAFE -DHTTP_DUMP_TIMES -DLOAD_MODULE_TRAFFIC -DLOAD_MODULE_SLICE -DLOAD_MODULE_RTTGRAPH -DLOAD_MODULE_COLLIE -DLOAD_MODULE_REALTIME -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NETM -DGROK_ETHERPEEK -DGROK_NS - tcpdump.o: In function `pread_tcpdump': tcpdump.c:(.text+0x34): undefined reference to `pcap_offline_read' collect2: error: ld returned 1 exit status make: *** [Makefile:189: tcptrace] Error 1 * ERROR: net-analyzer/tcptrace-6.6.7-r2::gentoo failed (compile phase): $ cat emerge-info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-desktop-unstable_20160716-152302) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- make.conf: USE="pax_kernel xtpax -cdinstall -oci8 -bindist apache2 bugzilla contrib -dot ecc egl extra ffmpeg ftp gles2 graphtft gstreamer haptic havege kvm -libkms lzma mikmod minizip mpeg mpeg3 -multimedia -mysql networking nls -obj opengl pcre16 -scrypt sdl smartcard source spice sql tk usb uxa vala vim vlc vorbis widgets wxwidgets X x264 xcb xkb xml zip" package specific USE flags: mail-mta/ssmtp ssl net-misc/wget ssl app-editors/emacs -dbus -svg -ssl -gtk -gtk3 net-misc/iputils -caps -filecaps dev-util/cmake -qt4 ----------------------------------------------------------------- [1] x86_64-pc-linux-gnu-4.9.3 [2] x86_64-pc-linux-gnu-5.4.0 * Available Java Virtual Machines: [1] icedtea-bin-7 [2] icedtea-bin-8 system-vm Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) [6] jython2.7 (fallback) Available Ruby profiles: [1] ruby20 (with Rubygems) * [2] ruby21 (with Rubygems) -----------------------------------------------------------------
Created attachment 441996 [details] emerge-history.txt
Created attachment 441998 [details] environment
Created attachment 442000 [details] net-analyzer:tcptrace-6.6.7-r2:20160730-145433.log
pcap_offline_read is not marked as part of the 1.8.0 API. I don't know yet whether that's intentional.
Fixed in 6.6.7_p4_p1.
*** Bug 640008 has been marked as a duplicate of this bug. ***