This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined reference to xxx
- From: horseriver <horserivers at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 9 Jan 2013 07:22:33 +0800
- Subject: undefined reference to xxx
hi:
during my compilation , I find a odd problem ,
in a .c file , there is no use of a function strcpy , but when link ,
ld report error : ec.c:(.text+0x1ade7): undefined reference to `strcpy'
hot can I resolve this ?
thanks!