0
我是新来东京内阁和我已经安装了它,我已经运行示例C程序我得到错误... 而我用gcc编译编译问题
gcc -O tcadbex.c
/tmp/cc7IEOht.o: In function `main':
tcadbex.c:(.text+0xd): undefined reference to `tcadbnew'
tcadbex.c:(.text+0x1f): undefined reference to `tcadbopen'
tcadbex.c:(.text+0x58): undefined reference to `tcadbput2'
tcadbex.c:(.text+0x74): undefined reference to `tcadbput2'
tcadbex.c:(.text+0x90): undefined reference to `tcadbput2'
tcadbex.c:(.text+0xc1): undefined reference to `tcadbget2'
tcadbex.c:(.text+0x10e): undefined reference to `tcadbiterinit'
tcadbex.c:(.text+0x11c): undefined reference to `tcadbget2'
tcadbex.c:(.text+0x156): undefined reference to `tcadbiternext2'
tcadbex.c:(.text+0x164): undefined reference to `tcadbclose'
tcadbex.c:(.text+0x18d): undefined reference to `tcadbdel'
collect2: ld returned 1 exit status
能任何人告诉我这是什么问题...
我得到这个,如果我运行上面的CMD ..但我的Java API工作正常,,,但我需要它在c /usr/bin/ld:无法找到-ltcadb collect2:ld返回1退出状态 – raj 2010-08-24 08:24:52
@raj,检查更新,库有一个不同的名称,我用作为一个例子。 – paxdiablo 2010-08-24 08:27:08