[Prev][Next][Index][Thread]

Re: Build Error.



> From: "ryan.tecco" <rtecco@umich.edu>
> Subject: Build Error.
> Date: Fri, 24 Nov 2000 22:19:14 -0500 (EST)
> 
> 	NetBSD 1.4.3:
> 	
> gcc -c -o if_fddisubr.o -include

Well, the basic problem is that there are a lot of "#ifdef __NetBSD__"
lines scattered around the encapsulated code. You are getting bit by the
fact that gcc on your machine predefines __NetBSD__, but of course these
files are not being built for the NetBSD kernel, but for the OSKit.

We have never built the oskit on Netbsd. It might be as simple as adding
a -U__NetBSD__ to the top level GNUmakerules, which gets included by all
the sub makefiles.

Lbs

References: