Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127389 - Compilation of net-analyzer/pchar-1.5 fails
Summary: Compilation of net-analyzer/pchar-1.5 fails
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 127422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 23:49 UTC by Vasilij K. Savin
Modified: 2006-04-03 23:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilij K. Savin 2006-03-23 23:49:47 UTC
I can't compile the "net-analyzer/pchar-1.5" as with as without the USE "pcap" (errors are different):

without "pcap":
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `HMAC'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `SSLeay'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `DES_cbc_encrypt'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `DES_ncbc_encrypt'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `DES_key_sched'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libsnmp.so: undefined reference to `AES_cfb128_encrypt'
collect2: ld returned 1 exit status
make: *** [pchar] Error 1

!!! ERROR: net-analyzer/pchar-1.5 failed.
!!! Function einstall, Line 534, Exitcode 2
!!! einstall failed

with "pcap":
PctestIpv4Tcp.cc: In member function `virtual int PctestIpv4Tcp::Test(TestRecord&)':
PctestIpv4Tcp.cc:174: error: 'struct tcphdr' has no member named 'th_sport'
PctestIpv4Tcp.cc:175: error: 'struct tcphdr' has no member named 'th_dport'
PctestIpv4Tcp.cc:176: error: 'struct tcphdr' has no member named 'th_seq'
PctestIpv4Tcp.cc:177: error: 'struct tcphdr' has no member named 'th_ack'
PctestIpv4Tcp.cc:184: error: 'struct tcphdr' has no member named 'th_off'
PctestIpv4Tcp.cc:186: error: 'struct tcphdr' has no member named 'th_flags'
PctestIpv4Tcp.cc:186: error: `TH_FIN' was not declared in this scope
PctestIpv4Tcp.cc:186: error: `TH_ACK' was not declared in this scope
PctestIpv4Tcp.cc:187: error: 'struct tcphdr' has no member named 'th_win'
PctestIpv4Tcp.cc:188: error: 'struct tcphdr' has no member named 'th_sum'
PctestIpv4Tcp.cc:189: error: 'struct tcphdr' has no member named 'th_urp'
PctestIpv4Tcp.cc:220: error: 'struct tcphdr' has no member named 'th_sum'
PctestIpv4Tcp.cc:377: error: 'struct tcphdr' has no member named 'th_dport'
PctestIpv4Tcp.cc:377: error: 'struct tcphdr' has no member named 'th_sport'
PctestIpv4Tcp.cc:378: error: 'struct tcphdr' has no member named 'th_sport'
PctestIpv4Tcp.cc:378: error: 'struct tcphdr' has no member named 'th_dport'
make: *** [PctestIpv4Tcp.o] Error 1

!!! ERROR: net-analyzer/pchar-1.5 failed.
!!! Function einstall, Line 534, Exitcode 2
!!! einstall failed

emerge --info:

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1ws i686)
=================================================================
System uname: 2.6.15-gentoo-r1ws i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -march=pentium4 -O2 -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -pipe -DHAVE_SNPRINTF=1"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -pipe -DHAVE_SNPRINTF=1 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en lt ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 aac acl acpi alsa apache2 apm arts asf atm audiofile avi berkdb bitmap-fonts bluetooth bzip2 caps cdparanoia cdr chroot cli crypt ctype cups curl dba dga directfb divx4linux dlloader dmx dri dts dv dvd dvdread eds emboss encode esd ethereal exif expat fam fastbuild fbcon ffmpeg flac flash font-server foomaticdb force-cgi-redirect fpx ftp gd gdbm gif glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 irda ithreads jack java jbig jpeg kde lcms libg++ libwww lirc live lm_sensors logrotate lzo mad mailbox mailwrapper mbox md5sum memlimit mhash mikmod milter ming mmx mng motif mozilla mp3 mpeg mysql mythtv nas ncurses netboot nethack network nls nptl nsplugin nvidia ogg oggvorbis opengl oss pam pcre pda pdflib perl php png pnp posix ppds pthreads python qt quicktime readline real rtc samba scanner sdl serial session simplexml skey slp sms sndfile snmp soap sockets socks5 speex spell spl sse sse2 ssh ssl svg svga sysfs tcltk tcpd tetex tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vidix vorbis win32codecs wmf xanim xine xinerama xinetd xml xml2 xmms xprint xsl xv xvid xvmc zlib linguas_en linguas_lt linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 05:34:22 UTC
*** Bug 127422 has been marked as a duplicate of this bug. ***
Comment 2 Patrick McLean gentoo-dev 2006-03-24 09:48:07 UTC
Should be fixed now, I dropped the snmp USE flag as the snmp support in the package seems to be broken anyway.

Please test and repopen if it still doesn't work.
Comment 3 Nico Baggus 2006-04-03 23:27:57 UTC
package also works without snmp, please note that snmp flags needs to be disabled manual if snmp is installed.

Ebuild also still depends on openssl although it isn't used anyware now.