Re: Need help: buildworld for CURRENT while under STABLE is not working

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Mon, 09 Aug 2004 12:31:42 +0300
> On Sunday 08 August 2004 06:51 am, you wrote:
> > > --Boundary-00=_yfRFBa4bKiL1gzl
> > > Content-Type: text/plain;
> > >   charset="us-ascii"
> > > Content-Transfer-Encoding: 7bit
> > > Content-Disposition: inline
> > >
> > > I have STABLE on ad0 and a working snapshot of CURRENT on ad1, I am
> > > trying to run:
> > >
> > > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep
> > > getting the following error: (Note: cvsup'ed just before running make
> > > build world still didn't help, neither does cleaning before hand...) 
> > > I'll attach my make.conf in case that helps...
> >
> > type
> > 	make buildworld
> > then when you  are ready to install:
> > 	make installworld DESTDIR=/ad1
> > (notice no -DESTDIR ...)
> >
> > danny
> 
> OK, I just tried that after cleaning the tree and   Igetexaclt y the same 
> failure:
> 
> ===> usr.sbin/bsnmpd/gensnmptree
> /usr/obj/ad1/usr/src/i386/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree created 
> for /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree
> rm -f .depend
> mkdep -f .depend -a    
> -I/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/lib 
> -I/usr/obj/ad1/usr/src/i386/legacy/usr/include /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c
> /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c:66: 
> stdint.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> *** Error code 1
> 
> Stop in /ad1/usr/src.
> 
> Now here are the locations of stdint.h on my system:
> [mike]/ad1/usr/src>locate stdint.h
> /ad1/usr/include/machine/_stdint.h
> /ad1/usr/include/stdint.h
> /ad1/usr/include/sys/stdint.h
> /ad1/usr/src/sys/alpha/include/_stdint.h
> /ad1/usr/src/sys/amd64/include/_stdint.h
> /ad1/usr/src/sys/arm/include/_stdint.h
> /ad1/usr/src/sys/i386/include/_stdint.h
> /ad1/usr/src/sys/ia64/include/_stdint.h
> /ad1/usr/src/sys/powerpc/include/_stdint.h
> /ad1/usr/src/sys/sparc64/include/_stdint.h
> /ad1/usr/src/sys/sys/stdint.h
> [mike]/ad1/usr/src>
> 
> It wants to pull from /usr/include.  I tested this by putting a soft link 
> from /usr/include/stdint.h to /ad1/usr/include/stdint.h and it got past that 
> one error to only error on another header file.  It is my understanding that
> only header files from under (in my case)/ad1/usr/src should be needed to 
> compile the world correct?
> 
> -Mike

after my last cvsupdate, now im also suffering from this :-(,
the problem is indeed in /usr/src/usr.sbin/bsnmpd/gensnmptree/gensnmptree.c,
i simply removed the offending include and now it's at least cross compiling.

danny
Received on Mon Aug 09 2004 - 07:31:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC