local_utl下implicit declaration of function的问题

5 views
Skip to first unread message

bridged

unread,
Sep 23, 2010, 2:55:43 AM9/23/10
to ytht bbs代码开发
local_utl下transythttodiscuzx.c调用record.c和sysrecord.c里面的函数会有implicit
declaration of function问题,造成链接不能通过。
怀疑是和src目录下有重复所致。

指定链接库即可解决此问题

打开Makefile.am文件

加上一行:

transythttodiscuzx_SOURCES = transythttodiscuzx.c record.c sysrecord.c

重新编译,问题解决

Reply all
Reply to author
Forward
0 new messages