Hi, I use Kamikaze 7.09. I have compiled many things natively, but there are strange problems around libpam. The first thing is the files of this module:
[EMAIL PROTECTED]:~# /usr/bin/ipkg files libpam Package libpam (0.99.6.3-1) is installed on root and has the following files: /lib/lib/security/pam_debug.a /lib/usr/man/man5/time.conf.5 /lib/usr/include/security/pam_modutil.h /lib/usr/include/security/pam_misc.h ... and many similar ones, of course. It seems that all the library is built under the /lib directory, except some files. The configure script of qpopper4.0.9 wants to compile the test program for libpam: gcc -o conftest -g -O2 conftest.c -lpam -lcrypt -ldl and the result is: /opt/bin/ld: cannot find -lpam Of course, because it is located under the /lib/lib/ directory. I tried to move all the files to their expected location (e.g. the objects to the directory /lib/ ) but the result is the same. Now, I tried to add '-L/lib' to the commandline: (the objects are already moved to the directory /lib/ ) gcc -o conftest -g -O2 conftest.c -L/lib -lpam -lcrypt -ldl /tmp/cc49CBje.o: In function `main': configure:7401: undefined reference to `pam_authenticate' collect2: ld returned 1 exit status I think that /lib/ must be a default search path for objects. After this, I checked the library: [EMAIL PROTECTED]:~# nm /lib/libpam.a | grep pam_authenticate 00000074 T pam_authenticate I think that libpam.so must contain the same, but it responds "no symbols" to this command. I gave up here. Any hints? Thanks in advance Gyorgy Kovesdi _______________________________________________ openwrt-users mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
