Unable to compile ORBit-0.5.1 under AIX 4.3.2



Hi,

I am attempting to build gnome under AIX 4.3.2.  I have been able to compile the other libraries up to this point but am puzzled with the compile problem with ORBit.  I have compiled: zlib 1.1.3
                                               jpeg-6b
                                               libpng 1.0.3
                                               audiofile 0.1.9
                                               glib 1.2.6
                                               gtk 1.2.6
                                                imlib 1.9.7
                                                gtk-engines 0.10

I'm using gcc 2.95.1.  The platform is an IBM SP Silver wide node.  I also have the xlc compiler installed but gcc seems to be much nicer to use.  I have enclosed the output from the compiler and from configure below.


Below is the output from the compiler:

In file included from connection.c:11:
IIOP-private.h:24: parse error before `fd_set'
IIOP-private.h:24: warning: no semicolon at end of struct or union
IIOP-private.h:27: parse error before `}'
IIOP-private.h:27: warning: data definition has no type or storage class
IIOP-private.h:29: parse error before `giop_connection_list'
IIOP-private.h:29: warning: data definition has no type or storage class
connection.c:80: parse error before `giop_connection_list'
connection.c:80: warning: data definition has no type or storage class
connection.c: In function `giop_init':
connection.c:120: request for member `list' in something not a structure or union
connection.c:121: request for member `connection_list_changed' in something not a structure or union
connection.c:127: request for member `selectset_rd' in something not a structure or union
connection.c:128: request for member `selectset_ex' in something not a structure or union
connection.c:131: request for member `fd_to_connection_mapping' in something not a structure or union
connection.c: In function `giop_connection_list_recreate':
connection.c:245: request for member `max_fd' in something not a structure or union
connection.c:246: request for member `list' in something not a structure or union
connection.c:251: request for member `max_fd' in something not a structure or union
connection.c:252: request for member `max_fd' in something not a structure or union
connection.c:255: request for member `fd_to_connection_mapping' in something not a structure or union
connection.c:256: request for member `max_fd' in something not a structure or union
connection.c:261: request for member `selectset_rd' in something not a structure or union
connection.c:262: request for member `selectset_ex' in something not a structure or union
connection.c:265: request for member `list' in something not a structure or union
connection.c:270: request for member `fd_to_connection_mapping' in something not a structure or union
connection.c:278: request for member `selectset_rd' in something not a structure or union
connection.c:279: request for member `selectset_ex' in something not a structure or union
connection.c: In function `giop_connection_add_to_list':
connection.c:305: request for member `list' in something not a structure or union
connection.c:305: request for member `list' in something not a structure or union
connection.c: In function `giop_connection_remove_from_list':
connection.c:340: request for member `list' in something not a structure or union
connection.c:348: request for member `list' in something not a structure or union
connection.c:348: request for member `list' in something not a structure or union
connection.c: In function `iiop_connection_from_fd':
connection.c:445: `AF_INET' undeclared (first use in this function)
connection.c:445: (Each undeclared identifier is reported only once
connection.c:445: for each function it appears in.)
connection.c:459: `AF_UNIX' undeclared (first use in this function)
connection.c: In function `iiop_connection_server':
connection.c:514: `PF_INET' undeclared (first use in this function)
connection.c:514: `SOCK_STREAM' undeclared (first use in this function)
connection.c:521: `AF_INET' undeclared (first use in this function)
connection.c: In function `iiop_connection_server_unix':
connection.c:674: `AF_UNIX' undeclared (first use in this function)
connection.c:674: `SOCK_STREAM' undeclared (first use in this function)
connection.c: In function `iiop_connection_get':
connection.c:789: request for member `list' in something not a structure or union
connection.c: In function `iiop_connection_new':
connection.c:841: `PF_INET' undeclared (first use in this function)
connection.c:841: `SOCK_STREAM' undeclared (first use in this function)
connection.c:850: `AF_INET' undeclared (first use in this function)
connection.c: In function `iiop_connection_unix_get':
connection.c:913: request for member `list' in something not a structure or union
connection.c: In function `iiop_connection_unix_new':
connection.c:959: `AF_UNIX' undeclared (first use in this function)
connection.c:966: `SOCK_STREAM' undeclared (first use in this function)
connection.c: At top level:
connection.c:1008: `LOG_INFO' undeclared here (not in a function)
connection.c:1008: `LOG_NOTICE' undeclared here (not in a function)
connection.c: In function `iiop_connection_server_accept':
connection.c:1017: storage size of `sock' isn't known
connection.c:1025: `AF_INET' undeclared (first use in this function)
connection.c:1026: `AF_UNIX' undeclared (first use in this function)
connection.c: In function `giop_check_connections':
connection.c:1323: `fd_set' undeclared (first use in this function)
connection.c:1323: parse error before `selectset_rd'
connection.c:1326: variable `immediate_timeout' has initializer but incomplete type
connection.c:1326: warning: excess elements in struct initializer
connection.c:1326: warning: (near initialization for `immediate_timeout')
connection.c:1326: warning: excess elements in struct initializer
connection.c:1326: warning: (near initialization for `immediate_timeout')
connection.c:1326: storage size of `immediate_timeout' isn't known
connection.c:1331: request for member `list' in something not a structure or union
connection.c:1337: `selectset_rd' undeclared (first use in this function)
connection.c:1337: request for member `selectset_rd' in something not a structure or union
connection.c:1339: `selectset_ex' undeclared (first use in this function)
connection.c:1339: request for member `selectset_ex' in something not a structure or union
connection.c:1345: request for member `max_fd' in something not a structure or union
connection.c:1357: request for member `max_fd' in something not a structure or union
connection.c:1389: request for member `fd_to_connection_mapping' in something not a structure or union
connection.c:1412: request for member `fd_to_connection_mapping' in something not a structure or union
gmake[3]: *** [connection.lo] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive-am] Error 2




Below is the output of my configuration for configure:

loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... rs6000-ibm-aix
checking build system type... rs6000-ibm-aix
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... none
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static -Wl,-lC works... -static -Wl,-lC
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... ./install-sh -c
checking for indentation command to pipe generated c-files through... indent -npro -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp -st
checking for glib-config... (cached) /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.1... yes
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for gawk... (cached) nawk
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/endian.h... (cached) no
checking for endian.h... (cached) no
checking for machine/endian.h... (cached) no
checking for sys/machine.h... (cached) yes
checking for sys/isa_defs.h... (cached) no
checking for sys/poll.h... (cached) yes
checking for stddef.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wcstr.h... (cached) yes
checking for wctype.h... (cached) yes
checking for machine/types.h... (cached) no
checking for tcpd.h... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking for vprintf... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for poll... (cached) yes
checking for basename... (cached) yes
checking for socket... (cached) yes
checking for gethostbyname... (cached) yes
checking for socklen_t... yes
checking whether to use TCP wrappers... no
checking for inet_aton... (cached) yes
checking whether byte ordering is bigendian... (cached) yes
checking alignment of CORBA_short... (cached) 2
checking alignment of CORBA_long... (cached) 4
checking alignment of CORBA_unsigned_short... (cached) 2
checking alignment of CORBA_unsigned_long... (cached) 4
checking alignment of CORBA_float... (cached) 4
checking alignment of CORBA_double... (cached) 4
checking alignment of CORBA_char... (cached) 1
checking alignment of CORBA_boolean... (cached) 1
checking alignment of CORBA_octet... (cached) 1
checking alignment of CORBA_long_double... (cached) 4
checking alignment of CORBA_wchar... (cached) 2
checking alignment of CORBA_long_long... (cached) 8
checking alignment of CORBA_unsigned_long_long... (cached) 8
checking alignment of CORBA_struct... (cached) 1
checking alignment of CORBA_pointer... (cached) 4
creating ./config.status
creating Makefile
creating orbit-config
creating src/Makefile
creating src/ORBitutil/Makefile
creating src/ORBitutil/orbit-os-config.h
creating src/IIOP/Makefile
creating src/orb/orbit.h
creating src/orb/Makefile
creating src/orbit-idl-compiler/Makefile
creating src/orbit-idl-compiler/backends/Makefile
creating src/orbit-idl-compiler/backends/c/Makefile
creating src/services/Makefile
creating src/services/name/Makefile
creating src/services/event/Makefile
creating src/daemons/Makefile
creating src/daemons/interface_repository/Makefile
creating test/Makefile
creating test/idl/Makefile
creating test/test-poa/Makefile
creating ORBit.spec
creating config.h
config.h is unchanged
configuring in libIDL
running /bin/sh ./configure  --host=rs6000-ibm --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking if C preprocessor likes IDL... (cached) yes
checking if C preprocessor can read from stdin... (cached) yes
checking how to ignore standard include path... 
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... no
checking for byacc... no
checking host system type... rs6000-ibm-aix
checking build system type... rs6000-ibm-aix
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... none
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static -Wl,-lC works... -static -Wl,-lC
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for glib-config... (cached) yes
checking for glib-config... (cached) /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for ANSI C header files... (cached) yes
checking for stddef.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wcstr.h... (cached) yes
creating ./config.status
creating Makefile
creating Makefile.msc
creating libIDL-config
creating libIDL.m4
creating libIDL.spec
creating IDL.h.new
IDL.h is unchanged

libIDL 0.6.8 configuration complete

  Flex installed: yes
  C Preprocessor: "gcc -E"
  Standard input supported.

configuring in popt
running /bin/sh ./configure  --host=rs6000-ibm --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
checking build system type... rs6000-ibm-aix
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for gcc option to accept ANSI C... (cached) none needed
checking for function prototypes... yes
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... none
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static -Wl,-lC works... -static -Wl,-lC
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking for a BSD compatible install... ./install-sh -c
checking for alloca.h... (cached) no
checking for libintl.h... (cached) yes
checking for mcheck.h... (cached) no
checking for unistd.h... (cached) yes
checking for /usr/ucblib in LIBS... no
checking for GNU xgettext... yes
checking for strerror... (cached) yes
checking for mtrace... (cached) no
checking for setreuid... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) no
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) no
checking for bindtextdomain in -lintl... (cached) yes
checking for gettext in libintl... (cached) yes
checking for msgfmt... (cached) /usr/local/bin/msgfmt
checking for dcgettext... (cached) no
checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
checking for xgettext... (cached) /usr/local/bin/xgettext
checking for catalogs to be installed...  cs gl ro sk uk wa zh_CN.GB2312
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
config.h is unchanged


Thanks in advance,

P Strode

pstrode@cooperpower.com



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