cvs commit: src/usr.bin Makefile src/usr.sbin Makefile
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jun 24 11:43:19 PDT 2003
Index: hcsecd/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/bluetooth/hcsecd/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- hcsecd/Makefile 10 May 2003 21:50:35 -0000 1.1
+++ hcsecd/Makefile 24 Jun 2003 16:56:33 -0000
@@ -6,7 +6,7 @@
PROG= hcsecd
MAN8= hcsecd.8
WARNS?= 1
-CFLAGS+= -g -I${.CURDIR}/../../../sys/netgraph/bluetooth/include
+CFLAGS+= -g -I${.CURDIR} -I${.CURDIR}/../../../sys/netgraph/bluetooth/include
SRCS= hcsecd.c lexer.l parser.y
.include <bsd.prog.mk>
In message <Pine.BSF.4.21.0306241128090.93424-100000 at InterJet.elischer.org>, Ju
lian Elischer writes:
>
>
>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
>>
>
>
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src
mailing list