請問在使用 XSCRIPT 編譯時產生如下錯誤 (只有一行的指令),應如何處理?謝謝。
ExitCode: 1
StdOut:
(省略)
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x39): undefined reference to `_free'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x4f): undefined reference to `_fflush'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x83): undefined reference to `_DllMain@12'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0xb8): undefined reference to `_malloc'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0xd1): undefined reference to `___dyn_tls_init_callback'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0xee): undefined reference to `__pei386_runtime_relocator'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0xf3): undefined reference to `___main'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x107): undefined reference to `_DllMain@12'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x131): undefined reference to `__errno'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x16b): undefined reference to `___dllonexit'
D:/MINGW/lib/../lib/dllcrt2.o:(.text+0x19b): undefined reference to `___dllonexit'
d:/sysjust/xqlite/system/xssystem/build/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/MINGW/lib/../lib/dllcrt2.o: bad reloc address 0x20 in section `.eh_frame'
collect2.exe: error: ld returned 1 exit status
9 評論