-
Compiling NEOCD
I'm just having trouble while trying to compile NEOCD.
I get an ERROR collect: ld returned 1 exit status.
A bit before this error it says: ld cannot find -lx68k.
x68k.o is on the path, any clues of what is wrong?
I'm using the same virtual machine I use to compile OPL, I think I got it from some were around here.
-
-
From what I know about GCC, that line is used to link your project to the "x68k" library.
That probably means that you have to either get a binary copy of that library or compile it yourself, and place it in the right place (Usually in the compiler's library folder).
-
Pretty weird!!
I have the source code of this object, and it's being compiled.
Just the linker cannot find it (I think).
I'll try again later, see if the same error happens in a different VM.
-
No no no. I don't mean that the linker is trying to link with the compiled object ("x68k.o" in your case).
I meant to say that it's trying to link against a compiler library, probably named "x68k.lib".
-
Indeed, ld cannot find -lx68k means there is no libx68k.a or libx68k.lib in standard and provided locations, so you have to compile this library before, to finish linking process. Could you please write the version of source code or give the link? I checked Makefile of version 0.6c and there is no any -lx68k, but there is -lcpu_68k, so you probably try to compile outdated source code.
-
Sorry for the long delay.
I'm just enjoying some little vacations, and I'm not doing anything usefull (well, quite).
I think you're right. It's difficult to say with sure right now wich version I was trying to compile, but I remember to have downloaded v0.5.
When I arrive home I'll take a look. Wish I can count with your support to learn a lot of things and do something usefull to all of us.
Many thanks!