Mail Archives: djgpp/1994/05/26/07:24:16
>
> I still can't get the library to link. I create the library, put it
> in c:\djgpp\lib, as libwatcp.a, then use gcc -o merc -lwatcp.a *.o
> It compiles fine, but when it tries to link I get lots of undefined
> refernces. It is finding the library, but not the symbols. If I run nm -s
> libwatcp.a, it has the functions as _<FunctionName>. So the functions are
> there, but not being found.....Very frustrating...
> Here are the makefiles for the library and my routines....
>
> Any help would be appreciated.
>
> then use gcc -o merc -lwatcp.a *.o
Try: gcc -o merc *.o -lwatcp.a
Pieter Kunst (kunst AT prl DOT philips DOT nl)
- Raw text -