Re: several questions



On 2001.07.01 10:13:21 +0200 bo.rosen@home.se wrote:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libmutt
> -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2
> -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT         -Wall
> -Wno-uninitialized         -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes         -Wnested-externs -Wpointer-arith
> -Wno-sign-compare -Wsign-promo         -Werror -c send.c
> cc1: warnings being treated as errors
> send.c: In function `libbalsa_process_queue':
> send.c:423: warning: passing arg 2 of `smtp_set_messagecb' from
> incompatible pointer type
> make[2]: *** [send.o] Error 1
> make[2]: Leaving directory `/home/brosen/tmp/balsa-1.1.6/libbalsa'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/brosen/tmp/balsa-1.1.6'
> make: *** [all-recursive-am] Error 2

do you see -Werror above in the gcc glags ? this causes the
problems. please do this to solve this problem (i need to do
this all the time myself and i am using GCC 3.0 now)

if you donwload from CVS do this:

edit 'configure.in' and search for '-Werror' remove it
then run autogen.sh

if you download from tar.gz source do this:

edit 'configure' and search for '-Werror' remove it
then run ./configure --<your flags>

should solve all problems...

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa




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