0
我想在Netbeans和輸出控制檯中構建一個C++項目我有一個缺少名爲-lsrc的文件導致的編譯錯誤(標有###)找不到-lsrc(gcc編譯失敗)
我正在使用Suse Linux(SLED 11),有人知道我應該在軟件包安裝程序中下載哪些軟件包,以便我可以克服此gcc編譯問題?
g++ -o dist/Debug/GNU-Linux-x86/cppthriftserverv1
build/Debug/GNU-Linux-x86/_ext/1338215927/test_types.o -lsrc
#### HERE ####
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld:
cannot find -lsrc
collect2: ld returned 1 exit status
#### HERE #####
gmake[2]: *** [dist/Debug/GNU-Linux-x86/cppthriftserverv1] Error 1
gmake[2]: Leaving directory `/home/TRYOUT/THRIFT/CPPSERVER/CPPServerProject/CPPThriftServerV1'
gmake[1]: *** [.build-conf] Error 2
gmake[1]: Leaving directory `/home/TRYOUT/THRIFT/CPPSERVER/CPPServerProject/CPPThriftServerV1'
gmake: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 614ms)
farda:請閱讀本文:http://meta.stackexchange.com/questions/2950/should-hi-thanks-taglines-and-salutations-be-removed-from-posts - 不應在您的帖子在這裏。如果你還原了編輯,至少應該嘗試並保存添加的格式。 – Mat
您的發行版並沒有套件搜索功能? – PlasmaHH
我在YAST中搜索了名爲「lsrc」的東西,但它不返回任何東西。谷歌搜索也不會返回太多的信息。我想我需要知道封裝包的名稱才能搜索正確的東西。 – farda