Date: Tue, 15 Dec 1998 19:24:31 -0800 From: Jake <jake@checker.org> To: freebsd-small@FreeBSD.ORG Subject: picobsd and pam Message-ID: <199812160324.TAA23054@h24-64-221-247.gv.wave.shaw.ca>
next in thread | raw e-mail | index | archive | help
I'm trying to build the "isp" picobsd disk, and it keeps dying when it tries to build the crunched binary. cc -O -pipe -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT -c crunch1.c cc -static -o crunch1 crunch1.o ash.lo test.lo echo.lo hostname.lo ln.lo getty.l o login.lo inetd.lo telnetd.lo stty.lo w.lo msg.lo kget.lo natd.lo init.lo fsck. lo ifconfig.lo df.lo ps.lo ns.lo vm.lo cat.lo cp.lo rm.lo mkdir.lo ls.lo chmod.l o chown.lo sysctl.lo route.lo pwd_mkdb.lo dev_mkdb.lo mount.lo umount.lo comcont rol.lo kill.lo mount_std.lo pwd.lo telnet.lo more.lo date.lo passwd.lo ping.lo t raceroute.lo routed.lo ipfw.lo dhcpc.lo simple_httpd.lo -ledit -lutil -lmd -lcry pt -lrpcsvc -lmp -lgmp -lm -lkvm -lmytinfo -lipx -lz -lpcap -lalias -ltermcap -l gnuregex -ltelnet -lcurses login.lo: In function `auth_pam': login.lo(.text+0xef8): undefined reference to `pam_start' login.lo(.text+0xf0a): undefined reference to `pam_strerror' login.lo(.text+0xf24): undefined reference to `pam_set_item' login.lo(.text+0xf36): undefined reference to `pam_strerror' login.lo(.text+0xf58): undefined reference to `pam_set_item' login.lo(.text+0xf6a): undefined reference to `pam_strerror' login.lo(.text+0xf8e): undefined reference to `pam_authenticate' login.lo(.text+0xfba): undefined reference to `pam_get_item' login.lo(.text+0xff5): undefined reference to `pam_strerror' login.lo(.text+0x101d): undefined reference to `pam_strerror' login.lo(.text+0x103b): undefined reference to `pam_end' login.lo(.text+0x104d): undefined reference to `pam_strerror' login.lo(.data+0x98): undefined reference to `misc_conv' *** Error code 1 Stop. *** Error code 1 Stop. I tried adding -lpam to the libs section of crunch.conf: /usr/libexec/elf/ld: cannot open -lpam: No such file or directory It builds fine if I remove login from the progs section in crunch.conf, but that doesn't help much. My system is current as of yesterday, and I have /usr/lib/libpam.so but there is no libpam.a. All the other libraries included have libfoo.so and libfoo.a. After reading some makefiles I decided I needed a static libpam, but I haven't been able to build one. Does anyone have a working picobsd setup with the current login? I don't need pam, I just want a working login program. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812160324.TAA23054>