Re: Compiling 0.9.3



On Thu, 31 Aug 2000 15:14:33 Budman wrote:
> Hi,
> 
> I using Slackware 7.1, Gnome 1.2.1.
> 
> When I try to compile I get the following error:  (Is there something
> I'm missing?)
> 
> 
> 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/lib/glib/include -I/usr/X11R6/include
> -I/usr/local/lib/glib/include -I/usr/local/include  -g -O2
> -I/usr/local/lib/glib/include -I/usr/local/include -D_REENTRANT
> -Wall -Wno-uninitialized         -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes         -Wnested-externs
> -Wpointer-arith         -Wno-sign-compare -Wsign-promo         -Werror
> -c message.c
> cc1: warnings being treated as errors
> /usr/include/bits/string2.h: In function `__strcpy_small':
> In file included from /usr/include/string.h:346,
>                  from /usr/include/libgnomeui/gnome-mdi-session.h:10,
>                  from /usr/include/libgnomeui/libgnomeui.h:99,
>                  from /usr/include/gnome.h:17,
>                  from libbalsa_private.h:23,
>                  from message.c:32:
> /usr/include/bits/string2.h:419: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:427: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:432: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:437: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:439: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:444: warning: pointer of type `void *' used
> in arithmetic
> make[2]: *** [message.o] Error 1
> make[2]: Leaving directory `/usr2/src/mail/balsa-0.9.3/libbalsa'
> 
I got the same thing with Caldera. I solved it by removing "-Werror" from three
different Makefiles.


-----
    .--.    Bob Broughton
   |o_o |   mailto:rbrought@smartt.com
   |:_/ |   WWW: http://personal.smartt.com/~rbrought/
  //   \ \  Vancouver, BC, Canada
 (|     | )
/'\_   _/`\
\___)=(___/





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