From owner-freebsd-small Tue Dec 15 19:24:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA12395 for freebsd-small-outgoing; Tue, 15 Dec 1998 19:24:41 -0800 (PST) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from h24-64-221-247.gv.wave.shaw.ca (h24-64-221-247.gv.wave.shaw.ca [24.64.221.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA12387 for ; Tue, 15 Dec 1998 19:24:39 -0800 (PST) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Received: from h24-64-221-247.gv.wave.shaw.ca (jake@localhost [127.0.0.1]) by h24-64-221-247.gv.wave.shaw.ca (8.9.1/8.9.1) with ESMTP id TAA23054 for ; Tue, 15 Dec 1998 19:24:32 -0800 (PST) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Message-Id: <199812160324.TAA23054@h24-64-221-247.gv.wave.shaw.ca> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-small@FreeBSD.ORG Subject: picobsd and pam Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Dec 1998 19:24:31 -0800 From: Jake Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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