|
发表于 2010-3-6 09:13:43
|
显示全部楼层
Post by niceType;2073391
- [bodhi@zen linux_fetion]$
- /dve/workspaces/libfetion/1.2-libfetion/src/misc/down_up_file.c:111: undefined reference to `curl_slist_append'
- /dve/workspaces/libfetion/1.2-libfetion/src/misc/down_up_file.c:113: undefined reference to `curl_easy_setopt'
- /dve/workspaces/libfetion/1.2-libfetion/src/misc/down_up_file.c:115: undefined reference to `curl_easy_perform'
- /dve/workspaces/libfetion/1.2-libfetion/src/misc/down_up_file.c:116: undefined reference to `curl_easy_cleanup'
- /dve/workspaces/libfetion/1.2-libfetion/src/misc/down_up_file.c:117: undefined reference to `curl_slist_free_all'
- collect2: ld returned 1 exit status
- make: *** [linux-fetion] Error 1
- ==> ERROR: Build Failed.
- Aborting...
复制代码
在Makefile里改一下链接库的顺序,将curl的那个放在最后即可 |
|