Re: Another ORBit problem

On Tue, 8 Sep 1998, Philip Trickett wrote:
> Hi, I have just checked out the ORBit CVS.  I run ./ 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!

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