2008-01-17 01:09:38

by buyun

[permalink] [raw]
Subject: [Bluez-devel] bluez utils complie error

hi, all
I encountered an error when I compiled the bluez utils. If I compiled the
original code without modifying any code, there would be no error. But If I
modified the code, e.g., I added "printf("test\n");" in the function
dev_info in hcitool.c, there would be an error:

make[2]: Entering directory
`/home/tester/bluez_code3.20/bluez-utils-3.20/hcid'
test -f parser.c || /bin/bash ../ylwrap parser.y y.tab.c parser.c y.tab.h
parser.h y.output parser.output -- yacc -d
../ylwrap: line 111: yacc: command not found
make[2]: *** [parser.c] Error 1
make[2]: Leaving directory
`/home/tester/bluez_code3.20/bluez-utils-3.20/hcid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tester/bluez_code3.20/bluez-utils-3.20'
make: *** [all] Error 2

Could anyone help to resolve it?
Many thanks in advance.
Best regards
Shi Buyun


Attachments:
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-01-17 01:19:55

by Tim Hentenaar

[permalink] [raw]
Subject: Re: [Bluez-devel] bluez utils complie error

On Thu, 17 Jan 2008 09:09:38 +0800
"shy" <[email protected]> wrote:


> ../ylwrap: line 111: yacc: command not found

Do you have yacc or bison installed? Is it in your path? You can check
for that by running 'which yacc' in your terminal.

Tim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel