Subject: Re: Problem building "netbsd-2" cvs extraction on 1.6
To: Paul Newhouse <newhouse@rockhead.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/13/2005 21:03:27
On Mon, Sep 12, 2005 at 02:23:06PM -0700, Paul Newhouse wrote:
> > On Mon, Sep 12, 2005 at 12:25:34PM -0700, Paul Newhouse wrote:
> > > Thanks, that made it go much farther. Then it hits this:
> > 
> >  ./build.sh tools
> 
> > David
> >
> >
> > > cc    -O -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings 
> > > -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
> > > -Wno-long-long   -DHAVE_CONFIG_H  -o cc1  c-parse.o c-lang.o c-pretty-print.o 
> > > attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o  c-convert.o 
> > > c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o  c-objc-common.o 
> > > c-dump.o libcpp.a  main.o libbackend.a   ../libiberty/libiberty.a
> > > libbackend.a(timevar.o): In function `get_time':
> > > timevar.o(.text+0x2f): undefined reference to `__times13'
> > 
> > Hum, this I don't know. The only way it could reference __times13 on a system
> > where it doesn't exists is if you updated the system's includes. Maybe remove
> > /usr/include and extract comp.tgz again for the release you're running
> > (not the one you're trying to compile) ?
> > 
> > -- 
> > Manuel Bouyer <bouyer@antioche.eu.org>
> >      NetBSD: 26 ans d'experience feront toujours la difference
> > --
> > 
> 
> That gets me past the tools problem (I think). Thanks.
> 
> Now trying to build a kernel,
> 
>   "config Dell" 
> 
> gets me:
> 
> ../../../../opencrypto/files.opencrypto:10: syntax error

You have to use the tools you just built. The best way to do this is to use
./build.sh kernel=...../Dell

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--