[問題] ld: cannot find crt1.o: No such file or directory
我用的是 debian testing
當安裝了 g95 去 complie 一個程式的時候出現
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory
google的結論是說 要裝 libc6-dev 裡面就有
可是我檢查過 系統裡當然有裝這個程式 可是就是沒有這兩個檔案
(/usr/lib/ 下沒有 用whereis 也找過沒有)
然而 反倒是如果裝了 lib6-dev-amd64 就會在 /usr/lib64 裡面出現這幾個檔
可是這幾個檔是給64的用的 所以即使硬 cp 到 /usr/lib 下 也只是出現
ld: i386:x86-64 architecture of input file `/usr/lib///crt1.o' is
incompatible with i386 output
ld: i386:x86-64 architecture of input file `/usr/lib///crti.o' is
incompatible with i386 output
請問有沒有什麼建議?
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 175.180.111.162
→
08/07 22:45, , 1F
08/07 22:45, 1F
→
08/07 22:45, , 2F
08/07 22:45, 2F
→
08/07 22:49, , 3F
08/07 22:49, 3F
→
08/07 22:50, , 4F
08/07 22:50, 4F
→
08/07 22:50, , 5F
08/07 22:50, 5F
→
08/07 22:50, , 6F
08/07 22:50, 6F
推
08/08 00:09, , 7F
08/08 00:09, 7F
→
08/08 00:10, , 8F
08/08 00:10, 8F
→
08/08 00:24, , 9F
08/08 00:24, 9F
→
08/08 00:24, , 10F
08/08 00:24, 10F
→
08/08 00:24, , 11F
08/08 00:24, 11F