gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DSHADOW_PWD -DNO_ASMSIGNALH -c charset.c Compiling parse_ip.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DSHADOW_PWD -DNO_ASMSIGNALH -c parse_ip.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX -DSHADOW_PWD -DNO_ASMSIGNALH -o nat nat.o client.o util.o system.o nmb.o charset.o parse_ip.o -lshadow -L/usr/X11R6/lib/modules /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miUnion' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miEmptyData' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miIntersect' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `serverGeneration' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `Xfree' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `fbGetWinPrivateIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miEmptyBox' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `xf86abort' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `RegisterBlockAndWakeupHandlers' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateGCPrivate' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `PictureScreenPrivateIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateScreenPrivateIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `Xalloc' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateGCPrivateIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `WindowTable' collect2: ld returned 1 exit status make: *** [nat] Error 1 !!! ERROR: net-analyzer/nbaudit-1.0 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce:
not reproducible here... could you do a emerge info?
emerge info Portage 2.0.51-r15 (hardened/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-hardened-r3 i686) ================================================================= System uname: 2.6.10-hardened-r3 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 14:34:51)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.9.4, 1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa arts bash-completion berkdb bitmap-fonts cdr crypt cups dlloader dvd fam hardened java kde ldap mmx motif mozilla ncurses nls oggvorbis opengl pam perl pic pie png python qt readline snmp sse ssl tcpd tiff truetype truetype-fonts usb wifi x86 xml2 xmms xscreensaver xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Can't reproduce here either. I tried using a hardened 3.3.5, but still no luck. I did however, run across some gcc-3.4 compile problems, which I've fixed.
I get the same problem. emerge --info follows: CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks loadpolicy sandbox sfperms sign strict" GENTOO_MIRRORS="http://mirror.padus.net/gentoo http://mirror.uni-c.dk/gentoo http://gentoo.osuosl.org" LC_ALL="en_DK.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.1/gentoo-portage" USE="X alsa audiofile berkdb cdr crypt doc flac gd gpm gtk gtk2 hardened libwww mad mikmod mysql ncurses nls oggvorbis opengl pam perl pic pie png python readline selinux slang ssl tcpd tiff unicode userlocales x86 xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS
from nbaudit Makefile: # Use this for Linux with shadow passwords # contributed by Andrew.Tridgell@anu.edu.au # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the # right libraries and includes # FLAGSM = -DLINUX -DSHADOW_PWD # LIBSM = -lshadow Maybe you need to set shadow passwords correctly? if itsnt the case why dont you try -DLINUX_BIGCRYPT ?
Omkhar, Did you solved it?
sorry - not sure I understand how to implement your suggestion. Can you elaborate?
Created attachment 51334 [details, diff] nbaudit-1.0-gentoo.diff overwrite the attachment over /usr/portage/net-analyzer/nbaudit/files/nbaudit-1.0-gentoo.diff and emerge nbaudit
Still blows up: Compiling parse_ip.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"n obody\" -DLINUX -DLINUX_BIGCRYPT -DSHADOW_PWD -DNO_ASMSIGNALH -trigraphs -c par se_ip.c gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"n obody\" -DLINUX -DLINUX_BIGCRYPT -DSHADOW_PWD -DNO_ASMSIGNALH -trigraphs -o nat nat.o client.o util.o system.o nmb.o charset.o parse_ip.o -lshadow -L/usr/X11R 6/lib/modules /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miUnion' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miEmptyData' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miIntersect' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `serverGeneration' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `Xfree' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `fbGetWinPrivateInde x' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `miEmptyBox' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `xf86abort' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `RegisterBlockAndWak eupHandlers' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateGCPrivate' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `PictureScreenPrivat eIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateScreenPriva teIndex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `Xalloc' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `AllocateGCPrivateIn dex' /usr/X11R6/lib/modules/libshadow.so: undefined reference to `WindowTable' collect2: ld returned 1 exit status make: *** [nat] Error 1 !!! ERROR: net-analyzer/nbaudit-1.0 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
This should now be fixed. Please check the latest ebuild and if there are still problems re-open.