Re: [Dev-C++] Help Newbie Linker Error undefined reference for strcpy
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ferdinando F. <s2...@st...> - 2003-12-12 15:39:45
|
On Fri, 12 Dec 2003, Daniel Watson wrote: > I have included string.h and also checked Compiler Options->Linker->Do > not use standard system startup files or binaries as suggested on > another linker error posting. Uh? What post? If you check this, linker won't find anything of the standard library, including strcpy. > Any suggestions on what could be causing this? Is there a specific order > that the header files should be included? This is the order I have them > in. Is the string.h file included in one of the other header files. A _linker error_ depends from linker, headers are relative to compiler, so you'll better check the linker line to know what's going on (it writes the affected module or 'undefined reference', which means you haven't included in linking any library with that name, and this seems to be your situation). Bye. Ferdinando |