Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
编译警告:对于体系结构i386,没有处理sourcecode.c.c类型文件的规则_C_Xcode_Curl_Xcode4_Xcode4.2 - Fatal编程技术网

编译警告:对于体系结构i386,没有处理sourcecode.c.c类型文件的规则

编译警告:对于体系结构i386,没有处理sourcecode.c.c类型文件的规则,c,xcode,curl,xcode4,xcode4.2,C,Xcode,Curl,Xcode4,Xcode4.2,我正试图用xcode 4.2+sdk5.0在OSX 10.6.8上用apple llvm compiler 3.0或llvm GCC 4.2为iOS构建libcurl作为static库 它已成功编译(使用两个编译器),但有许多类似如下的警告: warning: no rule to process file '$(PROJECT_DIR)/../../../../ProjectName/Libs/curl-7.26.0/src/tool_bname.c' of type sourcecode.c

我正试图用
xcode 4.2+sdk5.0在
OSX 10.6.8
上用
apple llvm compiler 3.0或llvm GCC 4.2为
iOS
构建
libcurl
作为
static

它已成功编译(使用两个编译器),但有许多类似如下的
警告:

warning: no rule to process file '$(PROJECT_DIR)/../../../../ProjectName/Libs/curl-7.26.0/src/tool_bname.c' of type sourcecode.c.c for architecture i386
我选中了
target->compilesources
。它有所有需要的
.c
文件,但没有
.h
文件

我还试图将
编译源代码
更改为
C
,但没有任何效果


我不明白如何修复它,以及为什么C源的类型是
sourcecode.C.C

,因为它们只是警告,也许可以忽略它们。@Kennethoste:“没有处理文件的规则”,似乎有些文件没有编译;lib可能会缺少一些功能。看起来像是autotools/make问题。因为它们只是警告,也许可以忽略它们。@Kennethoste:“没有处理文件的规则”,似乎有些文件没有编译;lib可能会缺少一些功能。看起来像是自动工具/制造问题。