legendflying 发表于 2014-5-24 15:06:50

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"));
欢迎大侠指导

wibree 发表于 2014-5-24 21:44:11

没包含 spp.h呗

legendflying 发表于 2014-5-26 10:33:37

spp。h是bludelab4.1里面的library
在adk2.5里面变成了spp_common.h,sppc.h spps.h等文件,client和server分开了
应该问问谁有能在adk2.5编译器编译的spp example?

dvtsh 发表于 2014-5-26 12:02:37

你移植4.1的spp库到2.5并且修改些适应connection库就可以了

xiaomu_blue 发表于 2014-5-26 13:47:26

学习一下,免得以后遇到同样问题!

zshl_2001 发表于 2014-7-3 21:28:20

如何移植库?

legendflying 发表于 2014-7-4 14:38:28

没有成功过
ADK2.5(BlueLab6.3.1)里面有assisted vm native三个模式,8670的code需要在assisted模式下下载运行
blue lab 4.1里只有vm native两个模式
so,最终可以编译通过,但是无法download

cnc202 发表于 2014-7-4 23:12:53

学习了,谢了!:)

kaola376 发表于 2014-8-5 18:55:58

参观,参观,浏览,浏览,学习,学习!

yjh 发表于 2014-8-7 14:52:10

在CSR专区混这么久了,第一次看到这么给力的帖子!
页: [1] 2
查看完整版本: adk2.5.1编译bluelab4.1里example spp_Dev_a/b报错