Compliation problem



Folks (widening the audience from orbit-list),
 
Trying to compile ORBit-0.5.15 on Solaris 2.5.1, getting the following errors:
 
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/usr/local2//include/glib-1.2 -I/usr/local2//lib/glib/include -DORBit_SYSRC=\"/usr/local2/etc/orbitrc\" -I../../src/ORBitutil -DORBIT_MAJOR_VERSION="0" -DORBIT_MINOR_VERSION="5" -DORBIT_MICRO_VERSION="15" -DORBIT_VERSION=\"0.5.15\" -DG_LOG_DOMAIN=\"ORBit\" -msupersparc -O3 -c interface_repository-common.c

rm -f .libs/interface_repository-common.lo

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/usr/local2//include/glib-1.2 -I/usr/local2//lib/glib/include -DORBit_SYSRC=\"/usr/local2/etc/orbitrc\" -I../../src/ORBitutil -DORBIT_MAJOR_VERSION=0 -DORBIT_MINOR_VERSION=5 -DORBIT_MICRO_VERSION=15 -DORBIT_VERSION=\"0.5.15\" -DG_LOG_DOMAIN=\"ORBit\" -msupersparc -O3 -c interface_repository-common.c -fPIC -DPIC -o interface_repository-common.o

interface_repository-common.c:3169: conflicting types for `CORBA_InterfaceDefSeq__free'

../orb/interface_repository.h:734: previous declaration of `CORBA_InterfaceDefSeq__free'

interface_repository-common.c: In function `CORBA_InterfaceDefSeq__free':

interface_repository-common.c:3170: warning: return makes integer from pointer without a cast

interface_repository-common.c: At top level:

interface_repository-common.c:3199: conflicting types for `CORBA_sequence_CORBA_Contained__free'

../orb/interface_repository.h:792: previous declaration of `CORBA_sequence_CORBA_Contained__free'

interface_repository-common.c: In function `CORBA_sequence_CORBA_Contained__free':

interface_repository-common.c:3204: warning: return makes integer from pointer without a cast

There are many more similar errors that follow this.

Any ideas on how to fix this?

Thanks,
Brian



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