[Evolution] oaf compilation



Hey guys,
  I've checked out the latest oaf today and tried compiling it and noticed
a configuration problem.

checking for ORBit - version >= 0.5.1... no

So when I looked in the log I saw this was the problem

configure:2739: gcc -o conftest -g -O2  -Wall -Wno-uninitialized
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith    -Wno-sign-compare -Wsign-promo
-Werror -I/usr/lib/glib/include -I/usr/include   conftest.c  -L/usr/lib
-lORBit -lIIOP -lORBitutil -lglib -lnsl -lm 1>&5
cc1: warnings being treated as errors
In file included from /usr/include/string.h:346,
                 from /usr/include/ORBitutil/os-feature-alloca.h:8,
                 from /usr/include/ORBitutil/os-specifics.h:6,
                 from /usr/include/ORBitutil/util.h:34,
                 from /usr/include/IIOP/IIOP.h:5,
                 from /usr/include/orb/orbit.h:55,
                 from configure:2731:
/usr/include/bits/string2.h: In function `__strcpy_small':
/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
configure: failed program was:
#line 2729 "configure"
#include "confdefs.h"

#include <orb/orbit.h>
#include <stdio.h>

int main() {
 return ((orbit_major_version) || (orbit_minor_version) ||
(orbit_micro_version)); 
; return 0; }

I'm using kernel 2.2.14 and gcc 2.95.2 and it seems that if I remove the
-Werror option (the option to treat all warnings as errors) it works
fine.  So anyway, I'm wondering why I am even getting these warnings
and/or if there is a way to fix this.

-- 
Sejal Patel - CS 1312 STA     "I can call spirits from the vasty deep.
   sejal cc gatech edu        Why so can I, or so can any man; but will
    Georgia Institute         they come when you do call for them?"
      of Technology           Shakespeare, King Henry IV, Part I







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