2
정기적으로 Ubuntu 13.10에서 DMD git master를 로컬로 다시 사용하고 사용합니다._adCmp2 및 _adEq2가 없어서 DMD 연결이 실패합니다.
예 컴파일 출력을 DMD에서 : 어제 내 D 툴체인 오류 모든 D 프로그램을 연결하는 데 실패
/home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/sections_linux.d:function
_D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14sections_linux3DSOZb:
error: undefined reference to '_adEq2'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/sections_linux.d:function
_D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14sections_linux3DSOZb:
error: undefined reference to '_adEq2'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/sections_linux.d:function
_D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14sections_linux3DSOZb:
error: undefined reference to '_adEq2'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/sections_linux.d:function
_D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14sections_linux3DSOZb:
error: undefined reference to '_adEq2'
collect2: error: ld returned 1 exit status
내가 만 dmd
진 경기이 기호가 아닌 libphobos을 grep을. 내 dmd 및 libphobos 모두 최신입니다.
나는 ld.bfd
과 ld.gold
을 모두 시도했습니다.
무엇이 잘못 되었나요?
druntime도 git에서 가져 왔습니까? –
런타임 및 phobos 라이브러리가 들어있는'LD_LIBRARY_PATH'에서 내 D 디렉토리를 제거하면 다시 작동합니다. –