nufw-users
[Top][All Lists]
Advanced

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

Re: [Nufw-users] Several errors in configure and compiling


From: Vincent Deffontaines
Subject: Re: [Nufw-users] Several errors in configure and compiling
Date: Wed, 25 May 2005 10:28:08 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

Vincent SCHULTZ said:
> Hello All,
>
> So I symlinked files to all the files in /usr/lib/mysql, like this one :
>
> /usr/lib/libmysqlclient_r.so -> mysql/libmysqlclient_r.so.10.0.0
>
> I started a fresh new ./configure XXX --with-mysql-log and it was OK. But
> the make does not work, the same error with  --with-psql-log option :
>
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Iinclude/ -O2 -Wall
> -fno-strict-aliasing -Werror-implicit-function-declaration
> -DCONFIG_DIR=\"/opt/nufw/etc\" -DMODULE_DIR=\"/opt/nufw/lib\"
> -DLOCAL_STATE_DIR=\"/opt/nufw/var\"   -g -O2 -MT auth_common.o -MD -MP -MF
> ".deps/auth_common.Tpo" -c -o auth_common.o auth_common.c; \
> then mv -f ".deps/auth_common.Tpo" ".deps/auth_common.Po"; else rm -f
> ".deps/auth_common.Tpo"; exit 1; fi
> auth_common.c: In function `change_state':
> auth_common.c:40: attention : return transforme un pointeur en entier sans
> transtypage
> auth_common.c: In function `search_and_fill':
> auth_common.c:131: erreur: type d'argument erroné pour le point
> d'exclamation unaire
> auth_common.c:136: erreur: type d'argument erroné pour le point
> d'exclamation unaire
> make[3]: *** [auth_common.o] Erreur 1
> make[3]: Leaving directory `/tmp/nufw-1.0.5/src/nuauth'
> make[2]: *** [all-recursive] Erreur 1
> make[2]: Leaving directory `/tmp/nufw-1.0.5/src/nuauth'
> make[1]: *** [all-recursive] Erreur 1
> make[1]: Leaving directory `/tmp/nufw-1.0.5/src'
> make: *** [all-recursive] Erreur 1
>
> I think I will test on a Sarge ! ;-)

I found that bug.
Attached is a patch that corrects the problem. We tested the return value
of g_async_queue_ref(), a glib function that returns void ...

The patch removes that stupid test, and should get this to compile fine.
Apply the patch by doing :

cd /tmp/nufw-1.0.5/src/nuauth/
patch auth_common.c diff.txt


We think the problem was raised because you use gcc 3.4, which we don't
(yet). Gcc 3.4 is more strict than 3.3 about such problems.

Thanks for the report, this removes a stupid bug. Of course, this patch
will be included in 1.0.6.

I'm looking at the mysql problem now, but hopefully you can test nufw with
your temporary setup.

Vincent






reply via email to

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