This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linker problem.


I am trying to link a C++ program that uses the stdio.h vsprintf() function.

I can compile and assemble without problems.

When I try to link I get a the following error:
project.cpp:52: undefined reference to `vsprintf'

I have also tried using the following options:
-lc -lgcc -lstdcx
to bring in libraries libc.a libgcc.a libstdcx.a


Any ideas?


--

Glenn




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]