Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128591 - app-misc/mc-4.6.0-r14 fails to build with samba USE flag
Summary: app-misc/mc-4.6.0-r14 fails to build with samba USE flag
Status: VERIFIED DUPLICATE of bug 102356
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 19:56 UTC by Chris Hogevonder
Modified: 2009-08-05 11:30 UTC (History)
0 users

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 Chris Hogevonder 2006-04-02 19:56:15 UTC
When compiling MC with the samba use-flag the following error occurs:

...
i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O2 -march=pentium2 -fomit-frame-pointer -pipe -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 -lslang -lsmbclient
../vfs/libvfs-mc.a(smbfs.o): In function `loaddir_helper':
smbfs.c:(.text+0xdd8): undefined reference to `LocalTime'
../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path':
smbfs.c:(.text+0x270b): 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

Without the Samba use-flag MC will compile. I have this error on 2 different machines (a Mendocino & an AMD Athlon XP) and it happend after an update from GCC-3.3.6 to version 3.4.5.
Rebuilding Samba doesn't seem to have any effect.


Emerge --info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Celeron (Mendocino)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 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="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://194.117.143.69"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl apache2 apm authdaemond avi berkdb bitmap-fonts bzip2 cdr cgi cjk cli commercial crypt cups curl dba dri eds emboss encode esd expat fam foomaticdb fortran freetds ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk2 guile idn imagemagick imap imlib innodb ipv6 java jpeg junit kde kerberos lcms ldap libclamav libg++ libwww lm_sensors lua mad memlimit mhash mikmod mmx mng motif mp3 mssql mysql ncurses nls nptl oav ogg oggvorbis openal opengl oss pam pcre pdflib perl php png ppds python qt quicktime readline recode ruby samba sasl sdl server session slang snmp spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xv zlib linguas_en_US linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 00:28:41 UTC

*** This bug has been marked as a duplicate of 102356 ***