[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Compile Error /lib/libdl.so.2: undefined reference to `atexit'



I have the following compile error when I try and compile PAM 0.75:

gcc -Wall -Wwrite-strings       -Wpointer-arith -Wcast-qual -Wcast-align        -Wstrict-prototypes -Wmissing-prototypes        -Wnested-externs -Winline -Wshadow -Dlinux -ansi -D_POSIX_SOURCE -pedantic -I./include -I/tmp/Linux-PAM-0.75/libpam/include -I/tmp/Linux-PAM-0.75 -I/tmp/Linux-PAM-0.75/libpamc/include -I/usr/include/db1  -I../libpam_misc/include -I../libpamc/include -o blank blank.o -L../libpam -L../libpamc -L../libpam_misc -lpam -lpam_misc
/lib/libdl.so.2: undefined reference to `atexit'
collect2: ld returned 1 exit status
make: *** [blank] Error 1

Everything else went OK. I'm using glibc 2.2.4, gcc version 2.95.2.1
19991024. I compiled them both myself.

http://sources.redhat.com/ml/glibc-linux/2001-q4/msg00006.html
and
http://archive.linuxfromscratch.org/mail-archives/blfs-support/2002/01/1640.html

Suggest I have to recompile gcc and then recompile glibc to fix this
problem. Is this what applies in my case ? Will PAM still function
correctly, even though the examples do not build ? (I presume not,
really).

Thanks,

 Nick

-- 
Part 3 MEng Cybernetics; Reading, UK       http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website   1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []