我用的是 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
請問有沒有什麼建議?
感謝
--
當安裝了 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
請問有沒有什麼建議?
感謝
--
All Comments