Export to GitHub

btstack - issue #350

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


Posted on Sep 7, 2013 by Helpful Kangaroo

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

Comment #1

Posted on Sep 11, 2013 by Swift Ox

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

Status: Fixed

Labels:
Type-Defect Priority-Medium