[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux
- To: http://www.juno.com/~w1few (Richard), http://www.dracomp.com/~r (Richard), http://www.verizon.net/~bhavani3 (Richard)
- Subject: Re: Linux
- From: http://dummy.us.eu.org/robert (Robert)
- Date: Thu, 05 Jun 2008 13:04:01 -0700
- Keywords: ifile: nonspam -800.43054867 spam -848.64105320 downloaded -896.95245886 ---------, spambayes, spamprobe
> From: R <http://www.dracomp.com/~R>
> Date: Thu, 05 Jun 2008 15:20:29 -0400
>
> When I type sudo GCC file.c it comes back with "Incompatible implicit
> declaration of built-in function strlen" also strcmp, strcat.
> I have them from the old Slakware. Can I transfer them over to the Ubuntu?
> D
That's odd that it would work on the old system and not this one.
The man page for strlen() says that you need to include "string.h", i.e.,
#include <string.h>
in your C program. Try that.