Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9424 - mc4.6.0-pre1 fails to compile (PAM-error during compile)
Summary: mc4.6.0-pre1 fails to compile (PAM-error during compile)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael M Nazaroff (RETIRED)
Depends on:
Reported: 2002-10-21 04:23 UTC by Mark
Modified: 2002-10-28 03:56 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 Mark 2002-10-21 04:23:31 UTC
emerge mc gives this error: 
gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-DCONFIGDIR=\""/etc/samba"\" -Wall -march=athlon-xp -O3 -pipe 
-fomit-frame-pointer -mfpmath=sse -m3dnow -msse -mmmx -fforce-addr 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-Wall  -lcrypt -lncurses -o mcserv -lshadow  -lpam -ldl  mcserv.o tcputil.o  
-L/usr/lib -lglib -L/usr/lib  
mcserv.o: In function `do_auth': 
mcserv.o(.text+0x234a): undefined reference to `pam_start' 
mcserv.o(.text+0x2362): undefined reference to `pam_authenticate' 
mcserv.o(.text+0x237a): undefined reference to `pam_end' 
mcserv.o(.text+0x24c3): undefined reference to `pam_acct_mgmt' 
mcserv.o(.text+0x24df): undefined reference to `pam_setcred' 
mcserv.o(.text+0x24fb): undefined reference to `pam_end' 
collect2: ld returned 1 exit status 
distcc[4907] (dcc_critique_status) ERROR: compile on failed 
with exit code 1 
distcc[4907] (dcc_exit) Notice: exit: code 1; self: 0.000000 user 0.010000 
sys; children: 0.020000 user 0.030000 sys 
make[3]: *** [mcserv] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0_pre1/work/mc-4.6.0-pre1' 
make: *** [all] Error 2 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 65, Exitcode 2 
!!! (no error message)
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-10-23 02:32:38 UTC
I have a fix that I'm working on....the latest snapshot fixes this problem and gpm
and mc has never worked better here with the snapshot :)
Comment 2 Brad Cowan (RETIRED) gentoo-dev 2002-10-23 04:30:22 UTC
commited keyword masked
Comment 3 Ulrik Mikaelsson 2002-10-25 16:54:30 UTC
I have a question I've wanted to ask a long time and this seems like a good 
place and time: 
Why is Midnight Commander located under gnome-extras and require gnome? I've 
never seen any special gnome-support in mc? 
I've got the same problem with wine b.t.w., and it have costed me 16h of 
compilation time in upgrading from 1.2 to 1.4.. :-) 
Comment 4 Michael M Nazaroff (RETIRED) gentoo-dev 2002-10-28 00:17:34 UTC
emerge sync ... and merge in the newest pam this will take care of the issue
since it's actually a pam problem not a mc problem.  Pam was not linking
correctly so applications where not building properly against it.


And why is it in gnome-extra... I'm not sure why it is, it does reguire glib to
compile for some reason so I'm not sure really, ask someone else.
Comment 5 Mark 2002-10-28 03:56:13 UTC
Michael, thanks for the great help :)