Re: Compiling Problem

From: Martin Schulze <joey@infodrom.org>
Date: Tue May 03 2005 - 05:42:10 CEST

Thomas Earl wrote:
> I'm working on compiling cgitest-0.5 on my Fedora Core 2 running Kernel
> 2.6.10-1.770_FC2.
>
> I'm receiving the following error...
>
> [root@linux cgilib-0.5]# make all
> cc -I. -Wall -O2 -g -c -o cgitest.o cgitest.c
> cgitest.c: In function `main':
> cgitest.c:108: warning: implicit declaration of function `strcmp'
> cgitest.c:116: error: syntax error before "Library"
> cgitest.c:129: warning: implicit declaration of function `strlen'
> make: *** [cgitest.o] Error 1
>
> Anyone else get this or can some one help me out here...?

This is fixed in CVS already but no new version has been relesed
yet (since it's only the test program and not the library itself).

The attached patch will help

Regards,

        Joey

-- 
MIME - broken solution for a broken design.  -- Ralf Baechle

Received on Tue, 3 May 2005 05:42:10 +0200

This archive was generated by hypermail 2.1.8 : Tue May 03 2005 - 05:48:03 CEST