Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 14:32:07 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Shawn Kennedy <shawnlkennedy@lucent.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Build error - Confused!
Message-ID:  <3CB600D7.6080008@owt.com>
References:  <NEBBLNBDCLDILGOPJLGIMEMKCHAA.shawnlkennedy@lucent.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Shawn Kennedy wrote:

> Hello,
> 
> I have a box that I cvsup'ed a few days ago 
> (was last updated about 2 months ago).  I 
> then did a 'make world' as I don't have anything 
> fancy on the box and am not running anything 
> critical on the system - if I mess it up, no 
> real loss. And, I did cvsup the whole tree 
> (including all ports).
> 
> But (you had to know this was coming!!) when 
> I did the build, it died while building the 
> libraries. I've attached the build output at 
> near the relevant section (in libpam).
> Any ideas?  I'd like not to wipe out
> all my settings and start over.  Also, if you 
> have any words of wisdom about future updating,
> I'm very open!
<snip>
> rm -f .depend
> mkdep -f .depend -a    -I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh  /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c
> /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c:69: log.h: No such file or directory
> In file included from /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c:70:
> /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.h:31: warning: `SSH_CLIENT_IDENTITY' redefined
> /usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/ssh.h:105: warning: this is the location of the previous definition
> /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.h:32: warning: `SSH_CLIENT_ID_DSA' redefined
> /usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/ssh.h:106: warning: this is the location of the previous definition
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /usr/src/lib/libpam/modules/pam_ssh.
> *** Error code 1
> 
 

I am assuming that you did not cvsup src-all.

The other thing is that make world has not been the recommended way of 
updating a system since they introduce 4.1. The method in 
/usr/src/UPDATING is the following

	To update from 4.0-RELEASE or later to the most current
	4.x-STABLE
	----------
	make buildworld
	make buildkernel KERNCONF=YOUR_KERNEL_HERE
	make installkernel KERNCONF=YOUR_KERNEL_HERE
	reboot	(in single user) [1]
	make installworld
	mergemaster		[2]
	reboot


Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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?3CB600D7.6080008>