Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2000 10:15:55 +0400
From:      Igor Roboul <igor@raduga.dyndns.org>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   PicoBSD. Can' build
Message-ID:  <20000925101555.A14472@linux.rainbow>

next in thread | raw e-mail | index | archive | help
Hello, 

I again have problems while building custom PicoBSD release :-(
I _need_ picoBSD because I have one reasonable good PC for making it 
dialin/dialout server. 
It need only PPP suport, and one network card (any). And of course it need
NAT support.

If someone can direct me to correct place where to ask about picoBSD, or
even offer non-BSD based solution I'll be happy.

By the way, 
I have AMD K6-2/300 (undercloking), 32 Mb of RAM, 1 FDD 1.44Mb, _no HDD_
and this PC will never have HDD.

All paths are relative to /usr/src/releases/picobsd , when I don't say 
other.
When I'm trying build picoBSD with "build" script in build/ it reports:

 -> Populating MFS tree...
 -> Making and installing crunch1...
 crunchgen: ./crunch1.conf: more: warning: could not find source directory
 crunchgen: ./crunch1.conf: more: warning: could not find any .o files
 crunchgen: ./crunch1.conf: more: error: no objpaths specified or calculated
 crunchgen: ./crunch1.conf: more: ignoring program because of errors
 Run "make -f crunch1.mk objs exe" to build crunched binary.
 *** Error code 1

then I change to isp/crunch1 and try "make -f crunch1.mk objs exe"
I got "ld" style errors about undefined symbols:

login.lo: In function `auth_pam':
login.lo(.text+0x111c): undefined reference to `pam_start'
login.lo(.text+0x1135): undefined reference to `pam_strerror'
login.lo(.text+0x1160): undefined reference to `pam_set_item'
login.lo(.text+0x1179): undefined reference to `pam_strerror'
login.lo(.text+0x11ac): undefined reference to `pam_set_item'
login.lo(.text+0x11c5): undefined reference to `pam_strerror'
login.lo(.text+0x11ea): undefined reference to `pam_authenticate'
login.lo(.text+0x1222): undefined reference to `pam_get_item'
login.lo(.text+0x1268): undefined reference to `pam_strerror'
login.lo(.text+0x1294): undefined reference to `pam_strerror'
login.lo(.text+0x12b6): undefined reference to `pam_end'
login.lo(.text+0x12cf): undefined reference to `pam_strerror'
login.lo(.data+0xc0): undefined reference to `misc_conv'
inetd.lo: In function `ipsecsetup':
inetd.lo(.text+0x1cca): undefined reference to `ipsec_set_policy'
inetd.lo(.text+0x1cdf): undefined reference to `ipsec_get_policylen'
inetd.lo(.text+0x1d97): undefined reference to `ipsec_set_policy'
inetd.lo(.text+0x1dac): undefined reference to `ipsec_get_policylen'
inetd.lo: In function `getconfigent':
inetd.lo(.text+0x1eb9): undefined reference to `ipsec_get_policylen'
pppd.lo: In function `MakeKey':
pppd.lo(.text+0x11456): undefined reference to `des_set_odd_parity'
pppd.lo: In function `DesEncrypt':
pppd.lo(.text+0x1161a): undefined reference to `des_set_key'
pppd.lo(.text+0x1162a): undefined reference to `des_ecb_encrypt'
telnet.lo: In function `tn':
telnet.lo(.text+0x23fd): undefined reference to `ipsec_set_policy'
telnet.lo(.text+0x240e): undefined reference to `ipsec_strerror'

etc.

I know this is normal because strippeddown version of BSD does 
not need PAM for example :-) 
But how can I tell login.c to don't use PAM?
I have looked to /etc/defaults/make.conf and didn't found something 
like PAM_ENABLE=true

So, what I can do with this. All advices acceptable (except advices about
bying HDD :-)) )

-- 
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", 
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000925101555.A14472>