adk2.5.1编译bluelab4.1里example spp_Dev_a/b报错
错误提示如下:main.c: In function `app_handler':main.c:107: error: `SPP_INIT_CFM' undeclared (first use in this function)main.c:107: error: (Each undeclared identifier is reported only oncemain.c:107: error: for each function it appears in.)main.c:113: error: `SPP_INIT_CFM_T' undeclared (first use in this function)main.c:113: error: parse error before ')' tokenmain.c:113: error: `spp_init_success' undeclared (first use in this function)main.c:128: error: `SPP_CONNECT_CFM' undeclared (first use in this function)main.c:130: error: `SPP_CONNECT_CFM_T' undeclared (first use in this function)main.c:130: error: `cfm' undeclared (first use in this function)main.c:130: error: parse error before ')' tokenmain.c:164: warning: implicit declaration of function `SppDisconnect'main.c:298: warning: redundant redeclaration of `SppDisconnect' in same scopemain.c:164: warning: previous declaration of `SppDisconnect'make: *** Error 1
主要就是main。c里有很多task ID未定义,请问这些task在哪个头文件里定义了?
有谁成功编译spp_dev?
case SPP_INIT_CFM: DEBUG(("SPP_INIT_CFM\n"));
欢迎大侠指导 没包含 spp.h呗 spp。h是bludelab4.1里面的library
在adk2.5里面变成了spp_common.h,sppc.h spps.h等文件,client和server分开了
应该问问谁有能在adk2.5编译器编译的spp example? 你移植4.1的spp库到2.5并且修改些适应connection库就可以了 学习一下,免得以后遇到同样问题! 如何移植库? 没有成功过
ADK2.5(BlueLab6.3.1)里面有assisted vm native三个模式,8670的code需要在assisted模式下下载运行
blue lab 4.1里只有vm native两个模式
so,最终可以编译通过,但是无法download 学习了,谢了!:) 参观,参观,浏览,浏览,学习,学习! 在CSR专区混这么久了,第一次看到这么给力的帖子!
页:
[1]
2