Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161968 - net-analyzer/nessus-core-2.3.1 fails with LDFLAGS="-Wl,--as-needed"
Summary: net-analyzer/nessus-core-2.3.1 fails with LDFLAGS="-Wl,--as-needed"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2007-01-13 23:03 UTC by Russell Knighton
Modified: 2007-01-21 19:27 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Russell Knighton 2007-01-13 23:03:55 UTC
pretty much as the summary says....

Reproducible: Always

Steps to Reproduce:
1.emerge nessus-core

Actual Results:  
i686-pc-linux-gnu-gcc -Wl,--as-needed auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o context.o preferences.o families.o attack.o report.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_scope_tree.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o  prefs_comment.o prefs_context.o prefs_options.o prefs_report.o prefs_dialog_prefs.o prefs_scan_assistant.o pdf_output.o -o nessus `/usr/bin/nessus-config --libs`   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0     gdchart0.94b/gd1.3/libgd.a -lm  
/usr/lib/ undefined reference to `pcap_close'
/usr/lib/ undefined reference to `pcap_perror'
/usr/lib/ undefined reference to `pcap_datalink'
/usr/lib/ undefined reference to `pcap_compile'
/usr/lib/ undefined reference to `pcap_open_live'
/usr/lib/ undefined reference to `pcap_lookupdev'
/usr/lib/ undefined reference to `pcap_next'
/usr/lib/ undefined reference to `pcap_lookupnet'
/usr/lib/ undefined reference to `pcap_setfilter'
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nessus-core-2.3.1/work/nessus-core/nessus'
make: *** [client] Error 2

Expected Results:  
A clean compile

Portage 2.1.2_rc4-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.8
Last Sync: Thu, 04 Jan 2007 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
CFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
LINGUAS="en_GB en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="/ 3dnow 3dnowext 7zip X a52 aac aalib acpi aiglx aim alsa aoss asf audiofile avahi avi beagle bidi bitmap bitmap-fonts bluetooth bonobo bzip2 cairo caps cdda cddb cdio cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dhcp divx divx4linux dlloader dmi dpms dri dv dvb dvd dvdr dvdread eds encode esd evo evolution exif faad fastcgi fbcon ffmpeg fglrx firefox flac flash foomaticdb fortran ftp fuse gb gd gdbm gif gimp glibc-omitfp gmedia gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jikes joystick jpeg jpeg2k kerberos keyring krb4 lcms ldap libg++ libnotify libvisual libwww lirc live lm_sensors mad matroska migemo mikmod mime ming mjpeg mmx mmx2 mmxext mng modplug mono mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpi mppe-mppc msn musepack nas nautilus ncurses network nforce2 nfs nls nptl nptlonly nsplugin oav odbc offensive ogg oggvorbis on-the-fly-crypt opengl oscar pam pcre pda pdf pdflib perl pic pmu png ppds pppd prelude python qt3 quicktime readline real reflection rtc samba sasl scanner sdl session shorten slp sndfile snmp sockets sox speex spell spl sse ssl stream sysfs syslog szip tcl tcltk tcpd theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vidix vim vim-syntax visualization vorbis wavpack win32codecs wma wmf wmp x264 x86 xinerama xml xml2 xorg xosd xpm xprint xv xvid yahoo zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LINGUAS="en_GB en" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="fglrx ati radeon vesa v4l"
Comment 1 Russell Knighton 2007-01-13 23:04:56 UTC
It works fine when you do LDFLAGS="" emerge nessus-core
Comment 2 Cédric Krier gentoo-dev 2007-01-21 19:27:32 UTC
Fix in cvs
You need to re-emerge net-analyzer/nessus-libraries