[orbitcpp-list] [ orbitcpp-Support Requests-476299 ] Pb with compilation ofORBit-C++ on HPUX
Status: Beta
Brought to you by:
philipd
From: <no...@so...> - 2001-12-08 06:57:04
|
Support Requests item #476299, was opened at 2001-10-30 01:33 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=200646&aid=476299&group_id=646 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Sam Couter (eddiesam) Summary: Pb with compilation ofORBit-C++ on HPUX Initial Comment: Product installed : ORBit 0.5.8 ORBit binutils 2.11 binutils gcc 2.95.3 gcc gettext 0.10.38 gettext glib 1.2.9 glib indent 2.2.6 indent libiconv 1.6.1 libiconv we try to compile orbitcpp-0.30.1 product : ======================================================================== = ============================ 3 [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1 >more run3 #/usr/bin/csh setenv LOCALHOME /opt ################# GLIB setenv CPPFLAGS "-I${LOCALHOME}/gcc/include -I${LOCALHOME}/ORBit/include -I${LOCALHOME}/glib/include -I${LOCALHOME}/gettext/include " echo "CPPFLAGS=" $CPPFLAGS setenv LDFLAGS "-L${LOCALHOME}/ORBit/lib -L${LOCALHOME}/glib/lib -L${LOCALHOME}/gettext/lib -L${LOCALHOME}/gcc/lib" echo "LDFLAGS= " $LDFLAGS The folowing lines describe the problems i have encountered during the generation of OrbitC++ ob HPUX platform : setenv SHLIB_PATH "${LOCALHOME}/ORBit/share:${LOCALHOME}/glib/share:${LOCALHOME}/gettext/share":$SHLIB_P A TH echo "SHLIB_PATH = " $SHLIB_PATH setenv PATH "/opt/gcc/bin:${LOCALHOME}/ORBit/bin:${LOCALHOME}/glib/bin:${LOCALHOME}/gettext/bin:${LO CALHOME}/binutils/bin:/usr/bin/:/usr/bin:" which gcc which ld echo "" echo "PATH = " $PATH echo "==============================================" ./configure --prefix=~egmconf/gnack/local ======================================================================== = ============================ [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1 >run3 CPPFLAGS= -I/opt/gcc/include -I/opt/ORBit/include -I/opt/glib/include -I/opt/gettext/include LDFLAGS= -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib SHLIB_PATH = /opt/ORBit/share:/opt/glib/share:/opt/gettext/share:/opt/ORBit/share:/opt/glib/share:/opt/gettext / share:/OUTILS/ilog/views401/views401/studio/hp32_11_3.05/shared:/OUTILS/ilog/views401/views 4 01/lib/hp32_11_3.05/shared /opt/gcc/bin/gcc /usr/bin//ld PATH = /opt/gcc/bin:/opt/ORBit/bin:/opt/glib/bin:/opt/gettext/bin:/opt/binutils/bin:/usr/bin/:/usr/bin: ============================================== 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 whether to enable maintainer-specific portions of Makefiles... no checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) cc -E checking host system type... hppa2.0w-hp-hpux11.00 checking build system type... hppa2.0w-hp-hpux11.00 checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) works... yes checking whether the C compiler (gcc -g -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) 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 /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /opt/binutils/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /opt/binutils/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... relink checking whether stripping libraries is possible... yes checking dynamic linker characteristics... hpux11.00 dld.sl checking if libtool supports shared libraries... yes creating libtool checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) works... yes checking whether the C compiler (gcc -g -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ -g -Wall -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) works... yes checking whether the C++ compiler (c++ -g -Wall -L/opt/ORBit/lib -L/opt/glib/lib -L/opt/gettext/lib -L/opt/gcc/lib) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for a BSD compatible install... ./install-sh -c checking for orbit-config... (cached) /opt/ORBit/bin/orbit-config checking for ORBit - version >= 0.5.7... yes checking for orbit-idl... (cached) /opt/ORBit/bin/orbit-idl checking for ANSI C header files... (cached) yes checking whether c++ compiler (c++) supports bad_cast... no checking whether orbit-idl supports --backenddir... yes updating cache ./config.cache creating ./config.status creating Makefile creating orb/Makefile creating orb/orbitcpp_constants.hh creating compiler/Makefile creating services/Makefile creating services/name/Makefile creating test/Makefile creating test/basic/Makefile creating test/basic/generated/Makefile creating test/everything/Makefile creating test/everything/generated/Makefile creating test/name/Makefile creating test/name/generated/Makefile creating test/any/Makefile creating test/any/generated/Makefile creating orbitcpp-config creating orb/orbitcpp_config.hh orb/orbitcpp_config.hh is unchanged ======================================================================== = ============================ 5 [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1 >make No suffix list. Making all in compiler Make: line 301: syntax error. Stop. *** Error exit code 1 Stop. ======================================================================== = ============================ 6 [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1 >cd compiler 8 [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1/compiler >\vi Makefile --> we comment the lines : DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) ======================================================================== = ============================ 1 [helicon:egmconf] /HELICON1/EGM/MISH2/gnack/orbitcpp-0.30.1 >make No suffix list. Making all in compiler /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../orb -I.. -I.. -I/opt/glib/include -I/opt/glib/include/glib-1.2 -I/opt/glib/lib/glib/include -I/opt/ORBit/include -I/opt/gcc/include -I/opt/ORBit/include -I/opt/glib/include -I/opt/gettext/include -g -O0 -Wall -c base.cc rm -f .libs/base.lo c++ -DHAVE_CONFIG_H -I. -I. -I../orb -I.. -I.. -I/opt/glib/include -I/opt/glib/include/glib-1.2 -I/opt/glib/lib/glib/include -I/opt/ORBit/include -I/opt/gcc/include -I/opt/ORBit/include -I/opt/glib/include -I/opt/gettext/include -g -O0 -Wall -c base.cc -fPIC -DPIC -o .libs/base.lo In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/cstdio:6, from base.cc:30: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: this is the location of the previous definition In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/cctype:6, from base.cc:31: /usr/include/ctype.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/cstring:7, from base.cc:29: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:51: warning: declaration of `int memcmp(const void *, const void *, long unsigned int)' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:51: warning: conflicts with built-in declaration `int memcmp(const void *, const void *, unsigned int)' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:116: warning: declaration of `void * memcpy(void *, const void *, long unsigned int)' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:116: warning: conflicts with built-in declaration `void * memcpy(void *, const void *, unsigned int)' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:133: warning: declaration of `size_t strlen(const char *)' /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:133: warning: conflicts with built-in declaration `unsigned int strlen(const char *)' In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/string:6, from base.hh:36, from base.cc:32: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/std/bastring.h:112: `operator new' takes type `size_t' as first parameter In file included from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/std/bastring.h:655, from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/string:6, from base.hh:36, from base.cc:32: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/../../../../include/g++-3/std/bastring.cc:32: `operator new' takes type `size_t' as first parameter *** Error exit code 1 Stop. *** Error exit code 1 Stop. Can you help us ??? Thank you very much !! ---------------------------------------------------------------------- >Comment By: Sam Couter (eddiesam) Date: 2001-12-07 22:56 Message: Logged In: YES user_id=14486 Firstly: ORBit-C++ requires GNU make to compile, and from the first error message it looks like you're using another make. Secondly: The other errors I see are problems in the header files from GCC, or in GCC, or maybe in your system headers, but almost definately not in ORBit-C++. Thirdly: This bug is anonymous, so I don't know how to get more information from you, or see if you still have the problem. If I receive no more information on this support request, I will close it. ---------------------------------------------------------------------- Comment By: Jean-Pierre PEYRI (peyrijp) Date: 2001-11-06 00:07 Message: Logged In: YES user_id=368151 Pb with orbitcpp-0.30.1 compilation on HP-UX platform ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=200646&aid=476299&group_id=646 |