From owner-freebsd-small Fri Jan 15 12:30:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06792 for freebsd-small-outgoing; Fri, 15 Jan 1999 12:30:32 -0800 (PST) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from alsatian.cslab.vt.edu (alsatian.cslab.vt.edu [198.82.184.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06785 for ; Fri, 15 Jan 1999 12:30:30 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from john.baldwin.cx (zapote.cslab.vt.edu [198.82.184.63]) by alsatian.cslab.vt.edu (8.9.1a/8.9.1) with ESMTP id PAA16791; Fri, 15 Jan 1999 15:30:11 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 15 Jan 1999 15:31:16 -0500 (EST) From: John Baldwin To: Andrzej Bialecki Subject: Re: Can't build net disk on 3.0.0-19990105-SNAP... Cc: freebsd-small@FreeBSD.ORG, John Baldwin Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On 15-Jan-99 Andrzej Bialecki wrote: > On Thu, 14 Jan 1999, John Baldwin wrote: >> Hi all, >> >> Since I couldn't build a custom PicoBSD disk, I tried to build the net >> floppy >> and I ended up with a similar slew of undefined reference errors. Can >> anyone >> offer any suggestions or know how to get this to work? Thanks. > > Yesterday I committed a bunch of fixes to -current. Please cvsup and let > us know if they help... > > Andrzej Bialecki I think most of my errors were due to pilot error: I took out snmpd (since the port has been updated to 3.5.3 now) and I thought that all of the 'lib' lines in the crunch1/crunch.conf line fell under the comment about snmpd, I've now got them back in and almost have it working. The only problems now revolve around PAM in login. First, the login.diff file in net/crunch1 needs to be updated to the following: - ----- *** Makefile Thu Jan 14 11:50:00 1999 - --- Makefile.orig Sat Nov 21 13:27:15 1998 *************** *** 6,12 **** MAN5= login.access.5 SRCS= login.c login_access.c login_fbtab.c ! CFLAGS+=-Wall DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM} LDADD= -lutil -lcrypt -lpam - --- 6,12 ---- MAN5= login.access.5 SRCS= login.c login_access.c login_fbtab.c ! CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM} LDADD= -lutil -lcrypt -lpam - ----- However, the other problem is that pam doesn't build a static library that crunch can link to. From my understanding of pam, however (which is a bit shaky), a static libpam would not be feasible since pam has to load other shared objects as the pam modules. I'm going to fiddle around with backing hte pam changes out of login and see if I can get it to work that way, in which case the patch above would not apply. - --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNp+lB7aE8XzBCodNAQG4zgP9HFPWjjEkWf5YvPVaa/jTmSgsJhF0MzOx DrQ+rjDjIbd4p44ohCMvw1O+FUPJoLAHJprP5CZ2zJoDpTqTbQc7CjcF/vvtns9H L5czVrWZXtn6h0QKyti2eVtYm1xwqy6sitIkHELDaNrkohBn6MjcYVJyElqsqtZN jGN38CmljuQ= =d7pa -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message