I am getting following error while compiling C code which is using informix libraries:
ld: fatal: Symbol referencing errors. No output written to saw1
make: *** exit code 1 making saw1
Can someone tell me what could be the problem here and how can I rectify it?
I was able to resolve the earlier error just by including path of those informix7 libraries in my Makefile. Thanks for giving me some pointer which really helped to solve earlier error.
But now I am getting these errors related to some X windows system libraries. Even if I include these files in Makefile and copy these into current directory, on compiling it gives following linker errors:
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to saw
make: *** exit code 1 making saw
This is quite similar problem: your linker can't find some functions (i.e. libraries with compiled code of these functions). I never wrote X windows program, but I suppose you'll have to add some more "-l" options to your makefile.