2015-05-16 38 views
-3
/usr/bin/ld: cannot find -lX11 
/usr/bin/ld: cannot find -lXext 
/usr/bin/ld: cannot find -lXxf86dga 
/usr/bin/ld: cannot find -lXxf86vm 
collect2: error: ld returned 1 exit status 
cons: *** [release-x86-Linux-2.1/full/unix/wolfsp.x86] Error 1 
cons: errors constructing release-x86-Linux-2.1/full/unix/wolfsp.x86 

編譯RTCW時無法解決此錯誤。我安裝了上述庫,但它仍然不起作用Ubuntu/usr/bin/ld:無法找到-l

回答

1

這是參數順序的問題:選項不能跟隨目標文件。如果他們這樣做,他們被解釋爲對象文件名稱,因此沒有找到。