opengitway / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

Couldn't build BTdaemon for iPhone - No such file version.h #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do the GettingStarted steps

What is the expected output? What do you see instead?
I expect, that make tell me, that all is done.
Instead:

Mac-mini-Nikolaj-PK:btstack Nikolay$ make
/opt/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while 
building for 6.0 will generate armv7-only binaries.
Making all in src...
Making all for library libBTstack...
make[3]: Nothing to be done for `internal-library-compile'.
Making all for tool BTdaemon...
 Compiling hci.c...
hci.c:54:29: error: btstack/version.h: No such file or directory
hci.c: In function ‘event_handler’:
hci.c:566: error: ‘SSP_IO_CAPABILITY_UNKNOWN’ undeclared (first use in this 
function)
hci.c:566: error: (Each undeclared identifier is reported only once
hci.c:566: error: for each function it appears in.)
hci.c: In function ‘hci_init’:
hci.c:772: error: ‘SSP_IO_CAPABILITY_UNKNOWN’ undeclared (first use in this 
function)
hci.c: In function ‘hci_emit_btstack_version’:
hci.c:1458: error: ‘BTSTACK_MAJOR’ undeclared (first use in this function)
hci.c:1458: error: ‘BTSTACK_MINOR’ undeclared (first use in this function)
hci.c:1464: error: ‘BTSTACK_REVISION’ undeclared (first use in this 
function)
make[3]: *** [obj/hci.c.ad84675e.o] Error 1
make[2]: *** [internal-tool-all_] Error 2
make[1]: *** [BTdaemon.all.tool.variables] Error 2
make: *** [internal-all] Error 2

But libBTstack.dylib is done and examples are build ok.

What version of the product are you using? On what operating system?
Mac Os 10.8

Thank you

Original issue reported on code.google.com by kolyan...@gmail.com on 7 Sep 2013 at 8:09

GoogleCodeExporter commented 9 years ago
sorry for that. forgot to run src/get_version.sh for iphone build.
please update from svn and run ./config-iphone.sh again.

Original comment by matthias.ringwald@gmail.com on 11 Sep 2013 at 6:26