Re: buildkernel broken at bluetooth?

2002-11-21 Thread Julian Elischer


On Wed, 20 Nov 2002, walt wrote:

 mkdep -f .depend -a   -nostdinc -I../../../../netgraph/bluetooth/include -D_KERNEL 
 -DKLD_MODULE -I- -I../../../../netgraph/bluetooth/include -I. -I@ -I@/dev 
-I@/../include 
 -I/usr/obj/usr/local/mnt/src/i386/usr/include 
 
/usr/local/mnt/src/sys/modules/netgraph/bluetooth/bluetooth/../../../../netgraph/bluetooth/common/ng_bluetooth.c
 /usr/local/mnt/src/sys/netgraph/bluetooth/common/ng_bluetooth.c:38:26: 
ng_bluetooth.h: 
 No such file or directory
 mkdep: compile failed
 
 
 My /usr/src is a symlink to another partition which is mounted
 on /usr/local/mnt/src.  I can make it compile by modifying the
 Makefiles in sys/modules/netgraph/bluetooth like this:
 
 CFLAGS+=   -I${.CURDIR}/../../../../netgraph/bluetooth/include

I think you have the correct answer..

Obviously I didn;t see this isn testing as my directories are not
symlinked...
I'll fix it now..

thanks for the notice

Julian

 
 Maybe there's a better way to do this?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



buildkernel broken at bluetooth?

2002-11-20 Thread walt
mkdep -f .depend -a   -nostdinc -I../../../../netgraph/bluetooth/include -D_KERNEL 
-DKLD_MODULE -I- -I../../../../netgraph/bluetooth/include -I. -I@ -I@/dev -I@/../include 
-I/usr/obj/usr/local/mnt/src/i386/usr/include 
/usr/local/mnt/src/sys/modules/netgraph/bluetooth/bluetooth/../../../../netgraph/bluetooth/common/ng_bluetooth.c
/usr/local/mnt/src/sys/netgraph/bluetooth/common/ng_bluetooth.c:38:26: ng_bluetooth.h: 
No such file or directory
mkdep: compile failed


My /usr/src is a symlink to another partition which is mounted
on /usr/local/mnt/src.  I can make it compile by modifying the
Makefiles in sys/modules/netgraph/bluetooth like this:

CFLAGS+=   -I${.CURDIR}/../../../../netgraph/bluetooth/include

Maybe there's a better way to do this?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: buildkernel broken at bluetooth?

2002-11-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
walt [EMAIL PROTECTED] writes:
: My /usr/src is a symlink to another partition which is mounted
: on /usr/local/mnt/src.  I can make it compile by modifying the
: Makefiles in sys/modules/netgraph/bluetooth like this:
: 
: CFLAGS+=   -I${.CURDIR}/../../../../netgraph/bluetooth/include
: 
: Maybe there's a better way to do this?

You'd also see this if you did a make buildkernel (maybe that's what
you did).  If you build inside sys/modules it would have worked.  I
just comitted the change.  Your fix looks good to me, and gets make
buildkernel working for my minimal test case.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message