Mail Archives: djgpp/1999/09/29/12:03:10
On Tue, 28 Sep 1999, Guido wrote:
> I'd like to use an .o (fft.o) file compiled (C language) with djgpp
> inside a VisualC++ 5 application. I declare the function (named FAST)
> present in the .o file
Sorry, you can't. Mixing object files from different compilers
doesn't work in general.
> fft.obj : error LNK2001: unresolved external symbol ___dj_stderr
This is exactly the kind of problems you will get when trying to link
object files from different compilers. An object file includes
references to external functions and objects private to the library of
the compiler you used to compile. ___dj_stderr is one of these
private objects.
- Raw text -