nss-mysql-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nss-mysql-users] Make Error


From: Nick De Decker
Subject: Re: [Nss-mysql-users] Make Error
Date: Tue, 25 Jun 2002 20:14:23 +0200

Hi,

I always get these errors too, very simple solution : after configuring,
open your Makefile and search for a line containing -Werror


INCLUDES = -Wall -Wstrict-prototypes -Wpointer-arith -Werror -D_REENTRANT

simple delete the -Werror , so make wont fail on simple warnings like you
have there...

INCLUDES = -Wall -Wstrict-prototypes -Wpointer-arith -D_REENTRANT

After this it should compile

Nick


----- Original Message -----
From: "Jefferson Cowart" <address@hidden>
To: <address@hidden>
Sent: Tuesday, June 25, 2002 7:03 AM
Subject: [Nss-mysql-users] Make Error


> I receive the error below when I try and compile the program. I have run
> configure as follows:
> "./configure --sysconfdir=/etc --disable-static
> --with-mysql=/usr/local/mysql"
>
> Sorry for the length of the error message but I think I included as
> little as possible.
>
> Error Message
> =============
> gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wstrict-prototypes
> -Wpointer-arith -Werror -D_REENTRANT -I/usr/local/mysql/include/mysql -g
> -O2 -c parser.c -Wp,-MD,.deps/parser.TPlo  -fPIC -DPIC -o parser.lo
> cc1: warnings being treated as errors
> In file included from /usr/include/string.h:360,
>                  from parser.c:26:
> /usr/include/bits/string2.h: In function `__strcpy_small':
> /usr/include/bits/string2.h:418: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:426: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:431: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:436: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:438: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:443: warning: pointer of type `void *' used
> in arithmetic
> parser.c: In function `_nss_mysql_read_conf_file':
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:181: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:193: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> parser.c:205: warning: pointer of type `void *' used in arithmetic
> make[2]: *** [parser.lo] Error 1
> make[2]: Leaving directory `/root/TO_INSTALL/nss-mysql-0.37.1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/TO_INSTALL/nss-mysql-0.37.1'
> make: *** [all] Error 2
>
> ----------------
> Thanks
> Jefferson Cowart
> address@hidden
>
> Support Open Instant Messaging Protocols
> http://www.petitiononline.com/openIM/petition.html
>
>
> _______________________________________________
> Nss-mysql-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/nss-mysql-users
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]