Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590076 - net-analyzer/tcptrace-6.6.7-r2 : tcpdump.c:(.text+<snip>): undefined reference to `pcap_offline_read'
Summary: net-analyzer/tcptrace-6.6.7-r2 : tcpdump.c:(.text+<snip>): undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-30 15:26 UTC by Toralf Förster
Modified: 2017-12-06 12:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-history.txt (emerge-history.txt,595.47 KB, text/plain)
2016-07-30 15:26 UTC, Toralf Förster
Details
environment (environment,113.82 KB, text/plain)
2016-07-30 15:26 UTC, Toralf Förster
Details
net-analyzer:tcptrace-6.6.7-r2:20160730-145433.log (net-analyzer:tcptrace-6.6.7-r2:20160730-145433.log,61.86 KB, text/plain)
2016-07-30 15:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-07-30 15:26:31 UTC
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)

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2016-07-30 15:26:38 UTC
Created attachment 441996 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2016-07-30 15:26:41 UTC
Created attachment 441998 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2016-07-30 15:26:43 UTC
Created attachment 442000 [details]
net-analyzer:tcptrace-6.6.7-r2:20160730-145433.log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-30 18:56:33 UTC
pcap_offline_read is not marked as part of the 1.8.0 API. I don't know yet whether that's intentional.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-30 19:28:14 UTC
Fixed in 6.6.7_p4_p1.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-06 12:12:57 UTC
*** Bug 640008 has been marked as a duplicate of this bug. ***