Article View: gnu.gcc.help
Article #49590Problems compiling with gcc
From: no one
Date: Mon, 10 Jan 1994 00:03
Date: Mon, 10 Jan 1994 00:03
25 lines
1493 bytes
1493 bytes
Hi, Im trying to compile somthing with gcc and I keep getting this problem. First of all gcc has been set up evilly unorganised, only half the requried Libray files are in /usr/include The rest are scattered else where. Anyway the program tries to use memcpy, which is fair enuf heaps of things do, I believe its trying to grab this from string.h. string.h is one that I had to hardwire in with a line that looked like theis. #include </usr/local/bsd/include/string.h> in string.h I see this definition void *memcpy __P((void *, const void *, size_t)); So i know it is defined but upon linking at the compiling stage, I get this response. Undefined: _memcpy *** Exit 1 I am positive it includes the file which defines memcpy, Thus i am not sure why memcpy is undefined. Does anyone know what my problem is? If Not sorry for bothering you. Chuck
Technical Details
Message-ID:
<grover.758160197@cairo>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!sgiblab!munnari.oz.au!newshost.anu.edu.au!cairo!groverShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,70693cd3218b88dd,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-09 16:19:19 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!sgiblab!munnari.oz.au!newshost.anu.edu.au!cairo!grover From: grover@cairo.anu.edu.au (no one) Newsgroups: gnu.gcc.help Subject: Problems compiling with gcc Date: 10 Jan 94 00:03:17 GMT Organization: Australian National University Lines: 26 Message-ID: <grover.758160197@cairo> NNTP-Posting-Host: 150.203.76.16 Summary: Help me please im stuck Keywords: compiling