Re: Another ORBit problem
- From: Dan Newcombe <Newcombe mordor clayton edu>
- To: Philip Trickett <philipt informatic ie>
- cc: gnome-list gnome org
- Subject: Re: Another ORBit problem
- Date: Wed, 9 Sep 1998 07:21:59 -0400 (EDT)
On Tue, 8 Sep 1998, Philip Trickett wrote:
> Hi, I have just checked out the ORBit CVS. I run ./autogen.sh and it
> reports no errors. However, when I run make I get the following output:
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src
> -I/usr/local/lib/glib/include -I/usr/local/include -g -O2
> -Wp,-MD,.deps/iiop-endian.p -c -fPIC -DPIC iiop-endian.c
> iiop-endian.c:6: redefinition of `byteswap'
> iiop-endian.h:30: `byteswap' previously defined here
The .c and .h are both defining the function. I fixed it by commenting
out the code of the function in the header file, removing the inline parm,
basically making it a function prototype.
Glad to know I'm not the only one that had the problem - beginning to
think I was doing something wrong!
] [Thread Prev