Date: Tue, 5 Sep 2000 06:39:40 -0500 (CDT) From: missnglnk <missnglnk@sneakerz.org> To: Phil Staub <phils@staub.net> Cc: freebsd-small@freebsd.org Subject: Re: Building PicoBSD on 4.1 Message-ID: <Pine.BSF.4.21.0009050637120.38117-100000@sneakerz.org> In-Reply-To: <39B41755.32B28739@staub.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Looks like someone removed the NOPAM, NOCRYPT, NOIPSEC, and NONETGRAPH defines. Check /usr/src/release/picobsd/build/Makefile.crunch and make sure these are defined in the variable CRUNCHFLAGS. On Mon, 4 Sep 2000, Phil Staub wrote: > Date: Mon, 04 Sep 2000 14:42:45 -0700 > From: Phil Staub <phils@staub.net> > To: freebsd-small@freebsd.org > Subject: Building PicoBSD on 4.1 > > Is anyone having success building PicoBSD in a 4.1 build tree? > > At the very least, I found that you need to change the 'progs' line in > crunch.conf and crunch1.conf that includes "more" to say "less". Then I > added a "ln" line that says "ln less more". > > After this, the build gets farther, but gets undefined references when > linking crunch1: > > cc -static -o crunch1 crunch1.o sh.lo test.lo echo.lo hostname.lo ln.lo > login.lo getty.lo stty.lo inetd.lo telnetd.lo w.lo msg.lo kget.lo > reboot.lo init.lo ifconfig.lo df.lo sps.lo ns.lo vm.lo cat.lo cp.lo > rm.lo mknod.lo chmod.lo chown.lo mkdir.lo ls.lo syslogd.lo sysctl.lo > route.lo pwd_mkdb.lo dev_mkdb.lo mount.lo mount_msdos.lo umount.lo > kill.lo mount_std.lo natd.lo pwd.lo ppp.lo telnet.lo less.lo passwd.lo > date.lo mount_cd9660.lo mount_nfs.lo ping.lo traceroute.lo routed.lo > ipfw.lo minigzip.lo -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap > -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm -lgnuregex -ltelnet > -lradius > login.lo: In function `auth_pam': > login.lo(.text+0x1154): undefined reference to `pam_start' > login.lo(.text+0x116c): undefined reference to `pam_strerror' > login.lo(.text+0x1187): undefined reference to `pam_set_item' > login.lo(.text+0x119f): undefined reference to `pam_strerror' > login.lo(.text+0x11c3): undefined reference to `pam_set_item' > login.lo(.text+0x11db): undefined reference to `pam_strerror' > login.lo(.text+0x1201): undefined reference to `pam_authenticate' > login.lo(.text+0x1239): undefined reference to `pam_get_item' > login.lo(.text+0x127f): undefined reference to `pam_strerror' > login.lo(.text+0x12ab): undefined reference to `pam_strerror' > login.lo(.text+0x12cc): undefined reference to `pam_end' > login.lo(.text+0x12e4): undefined reference to `pam_strerror' > login.lo(.data+0xc0): undefined reference to `misc_conv' > inetd.lo: In function `ipsecsetup': > inetd.lo(.text+0x1d94): undefined reference to `ipsec_set_policy' > inetd.lo(.text+0x1da9): undefined reference to `ipsec_get_policylen' > inetd.lo(.text+0x1e28): undefined reference to `ipsec_set_policy' > inetd.lo(.text+0x1e3d): undefined reference to `ipsec_get_policylen' > inetd.lo: In function `getconfigent': > inetd.lo(.text+0x21f5): undefined reference to `ipsec_get_policylen' > ppp.lo: In function `ID0NgMkSockNode': > ppp.lo(.text+0x14ae2): undefined reference to `NgMkSockNode' > ppp.lo(.data+0x654): undefined reference to `ether_Create' > ppp.lo(.data+0x658): undefined reference to `ether_iov2device' > ppp.lo(.data+0x65c): undefined reference to `ether_DeviceSize' > telnet.lo: In function `setpolicy': > telnet.lo(.text+0x22a3): undefined reference to `ipsec_set_policy' > telnet.lo(.text+0x22b4): undefined reference to `ipsec_strerror' > telnet.lo(.text+0x22f7): undefined reference to `ipsec_get_policylen' > passwd.lo: In function `local_passwd': > passwd.lo(.text+0x3dd): undefined reference to `local_password' > passwd.lo: In function `main': > passwd.lo(.text+0x4d6): undefined reference to `yp_domain' > passwd.lo(.text+0x4dc): undefined reference to `yp_server' > passwd.lo(.text+0x4e5): undefined reference to `yp_server' > passwd.lo(.text+0x4f6): undefined reference to `yp_server' > passwd.lo(.text+0x4fe): undefined reference to `force_old' > passwd.lo(.text+0x562): undefined reference to `use_yp' > passwd.lo(.text+0x57f): undefined reference to `yp_passwd' > passwd.lo(.text+0x5cc): undefined reference to `yp_in_pw_file' > passwd.lo(.text+0x5e4): undefined reference to `yp_passwd' > passwd.lo: In function `pw_error': > passwd.lo(.text+0xf55): undefined reference to `_use_yp' > ping.lo: In function `main': > ping.lo(.text+0x915): undefined reference to `ipsec_set_policy' > ping.lo(.text+0x926): undefined reference to `ipsec_strerror' > ping.lo(.text+0x93c): undefined reference to `ipsec_get_policylen' > ping.lo(.text+0x99e): undefined reference to `ipsec_set_policy' > ping.lo(.text+0x9af): undefined reference to `ipsec_strerror' > ping.lo(.text+0x9c4): undefined reference to `ipsec_get_policylen' > traceroute.lo: In function `main': > traceroute.lo(.text+0x798): undefined reference to `ipsec_strerror' > traceroute.lo(.text+0x7c5): undefined reference to `ipsec_strerror' > traceroute.lo(.text+0x96c): undefined reference to `ipsec_strerror' > traceroute.lo(.text+0x999): undefined reference to `ipsec_strerror' > traceroute.lo: In function `setpolicy': > traceroute.lo(.text+0xe55): undefined reference to `ipsec_set_policy' > traceroute.lo(.text+0xe6a): undefined reference to `ipsec_get_policylen' > traceroute.lo(.text+0xe90): undefined reference to `ipsec_strerror' > *** Error code 1 > > Stop in /usr/src/release/picobsd/net/crunch1. > *** Error code 1 > > Stop in /usr/src/release/picobsd/net/crunch1. > --> Error 1 code crunch > Error while building ../net/crunch1... > -> Aborting ./stage1 > > > > Are there more libraries that need to be included? > > Thanks, > Phil > > -- > Phil Staub, KE7HC > phils@staub.net > "Unix: because reboots are for hardware upgrades" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > 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?Pine.BSF.4.21.0009050637120.38117-100000>