build erro

guodemone via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Oct 25 08:40:43 PDT 2015


ld -m elf_i386 -N -e start -Ttext 0x7C00 bootasm.o bootmain.o 
x86.o types.o -o bootblock.o
bootasm.o:在函数‘protcseg’中:
/home/glg/桌面/bootloader_D/bootasm.S:60:对‘bootmain’未定义的引用
bootmain.o:在函数‘ldc.dso_ctor.8bootmain’中:
bootmain.d:(.text.ldc.dso_ctor.8bootmain[ldc.dso_ctor.8bootmain]+0x4d):对‘_d_dso_registry’未定义的引用
bootmain.o:在函数‘ldc.dso_dtor’中:
bootmain.d:(.text.ldc.dso_dtor[ldc.dso_dtor]+0x4d):对‘_d_dso_registry’未定义的引用
x86.o:在函数‘ldc.dso_ctor.3x86’中:
x86.d:(.text.ldc.dso_ctor.3x86[ldc.dso_ctor.3x86]+0x4d):对‘_d_dso_registry’未定义的引用
types.o:在函数‘ldc.dso_ctor.5types’中:
types.d:(.text.ldc.dso_ctor.5types[ldc.dso_ctor.5types]+0x4d):对‘_d_dso_registry’未定义的引用
makefile:2: recipe for target 'bootblock' failed
make: *** [bootblock] Error 1



More information about the digitalmars-d-ldc mailing list