cvs commit: src/usr.bin Makefile src/usr.sbin Makefile

Julian Elischer julian at elischer.org
Tue Jun 24 11:40:54 PDT 2003



On Tue, 24 Jun 2003, Andrew Gallatin wrote:

> Julian Elischer [julian at FreeBSD.org] wrote:
> > julian      2003/06/24 06:25:24 PDT
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     usr.bin              Makefile 
> >     usr.sbin             Makefile 
> >   Log:
> >   Connect bluetooth tools for i386 only.
> 
> FWIW, buildworld now dies for me in bluetooth on x86:
> 
> ===> usr.sbin/bluetooth/hcsecd
> yacc -d -o parser.c /usr/src/usr.sbin/bluetooth/hcsecd/parser.y
> lex -t  /usr/src/usr.sbin/bluetooth/hcsecd/lexer.l > lexer.c
> rm -f .depend
> mkdep -f .depend -a
> -I/usr/src/usr.sbin/bluetooth/hcsecd/../../../sys/netgraph/bluetooth/include
  /usr/src/usr.sbin/bluetooth/hcsecd/hcsecd.c
> lexer.c parser.c
> /usr/src/usr.sbin/bluetooth/hcsecd/parser.y:41:20: hcsecd.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> 


intersting.. 
I compiled the whole set several times..

maybe I have an include file somewhere that you don't?

lemme look..
... nope..

It still works "as expected" for me on a new machine..

do you have it fully checked out?
ref3# pwd
/usr/src/usr.sbin/bluetooth
ref3# find `pwd`  -name hcsecd.h
/usr/src/usr.sbin/bluetooth/hcsecd/hcsecd.h
ref3#

Hmm Maybe something there stops teh .. AHHHHHH..
It's the damned 'obj' stuff..
 
to fix:

cd /usr/src/usr.sbin/bluetooth/hcsecd
add teh following to teh Makefile:

CFLAGS+=        -g -I${.CURDIR} -I${.CURDIR}/........
                    ^^^^^^^^^^^

I'll fix it in the tree now.
just shows..

building it OUT of "make buildworld" is not enough...

pointy hat here please..

> 
> 
> Drew
> 



More information about the cvs-src mailing list