Steps to reproduce: 1.- USE="samba" emerge app-misc/mc Actual results: Compilation failed: i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-mp -O2 -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o mc achown.o background.o boxes.o chmod.o chown.o cmd.o color.o command.o complete.o cons.handler.o dialog.o dir.o dlg.o ext.o file.o filegui.o filenot.o fileopctx.o find.o findme.o fsusage.o help.o hotlist.o info.o key.o keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o mouse.o option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o profile.o regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o win.o wtools.o charsets.o selcodepage.o ../edit/libedit.a ../vfs/libvfs-mc.a ../intl/libintl.a -lglib-2.0 -lSM -lICE -lX11 -lgpm -lncurses -lsmbclient i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-mp -O2 -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o mcmfmt mfmt.o i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-mp -O2 -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o cons.saver cons.saver.o i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-mp -O2 -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o man2hlp man2hlp.o -lglib-2.0 ../vfs/libvfs-mc.a(smbfs.o): In function `loaddir_helper': smbfs.c:(.text+0xe3f): undefined reference to `LocalTime' ../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path': smbfs.c:(.text+0x26eb): undefined reference to `write_socket' collect2: ld returned 1 exit status make[2]: *** [mc] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0' make: *** [all] Error 2 !!! ERROR: app-misc/mc-4.6.0-r14 failed. !!! Function src_compile, Line 109, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected results: app-misc/mc emerged correctly. Additional information: I've installed samba 3.0.21b which is the latest stable on x86. If I install the previous stable samba version (3.0.14a-r2), emerge finishes correctly. One of the problematic symbols (LocalTime) seems to have been removed from samba 3.0.21b. May be this an upstream problem (mc team)? emerge --info: Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) MP 1800+ Gentoo Base System version 1.6.14 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="-march=athlon-mp -O2 -pipe -fomit-frame-pointer" 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 /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/" LINGUAS="es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cli cscope ctype cups curl dba dga dio dri dvd emboss extensions faad fastbuild ffmpeg flac font-server force-cgi-redirect ftp gd gif gnutls gpm gstreamer gtk gtk2 hal imagemagick imlib jabber java javascript jikes jpeg kqemu libg++ libwww lzo mad matroska memlimit mmx mmxext mng motif mp3 mpeg msn ncurses nls nodrm nptl nptlonly nsplugin nvidia ogg opengl oss pam pdflib perl pic pie png posix python qt quicktime readline rtc samba sdl session simplexml soap sockets softmmu spl sse ssl svga symlink sysvipc szip tcpd tetex tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales videos vorbis win32codecs wmf xml xml2 xmms xsl xv xvid xvmc zlib linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Search before reporting bugs... *** This bug has been marked as a duplicate of 102356 ***