can't build bluez-utils 2.21
hi,
i can't build bluez-utils 2.21, i obtain this error:
In file included from csrinit.c:40:
csr.h:76: error: syntax error before 'id'
csr.h:77: error: syntax error before 'ver'
csr.h:78: error: syntax error before 'pskey'
csr.h:80: error: syntax error before 'uint16_t'
csr.h:81: error: syntax error before 'uint16_t'
csr.h:82: error: syntax error before 'uint16_t'
csr.h:83: error: syntax error before 'uint16_t'
csr.h:84: error: syntax error before 'uint16_t'
csr.h:85: error: syntax error before 'uint16_t'
csr.h:86: error: syntax error before 'uint16_t'
ICECREAM[16465]: Compiled on 192.168.2.53
make[2]: *** [csrinit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mkdir .libs
gcc -I/usr/include -I/usr/include -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fpic -o hcitool hcitool.o oui.o -L/usr/lib /lib/libbluetooth.so ../common/libtextfile.a make[2]: Leaving directory `/home/neoclust/rpm/BUILD/bluez-utils-2.21/tools' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neoclust/rpm/BUILD/bluez-utils-2.21'
make: *** [all] Error 2
I have bluez-lib 2.21
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 17 lines
i can't build bluez-utils 2.21, i obtain this error:
In file included from csrinit.c:40:
csr.h:76: error: syntax error before 'id'
csr.h:77: error: syntax error before 'ver'
csr.h:78: error: syntax error before 'pskey'
csr.h:80: error: syntax error before 'uint16_t'
csr.h:81: error: syntax error before 'uint16_t'
csr.h:82: error: syntax error before 'uint16_t'
csr.h:83: error: syntax error before 'uint16_t'
csr.h:84: error: syntax error before 'uint16_t'
csr.h:85: error: syntax error before 'uint16_t'
csr.h:86: error: syntax error before 'uint16_t'
ICECREAM[16465]: Compiled on 192.168.2.53
make[2]: *** [csrinit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Quoted 8 lines
mkdir .libs
gcc -I/usr/include -I/usr/include -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fpic -o hcitool hcitool.o oui.o -L/usr/lib/lib/libbluetooth.so../common/libtextfile.a make[2]: Leaving directory `/home/neoclust/rpm/BUILD/bluez-utils-2.21/tools' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neoclust/rpm/BUILD/bluez-utils-2.21'
make: *** [all] Error 2
I can't see why this happens, but you might need to include another header in csrinit.c in your case. However --disable-csrinit when you call configure should solve it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users