Re: [sigc] [Fwd: libsigc++ 1.9.13 fails on Solaris 9 sparc]



All,

In the first build I did last week I used a tarball from sourceforge. The site was available about an hour after Murrary asked for help.

I downloaded the latest tarball (1.9.14) and attempted to build it on Solaris 9 Update 4 sparc.
 The attached log shows my environment, configure output and make output.

The errors start with:
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select7, 0>::lambda_core() to initialize base class.


Murray Cumming wrote:
On Fri, 2004-02-13 at 13:14, Martin Schulze wrote:

Am 2004.02.11 20:13 schrieb(en) Murray Cumming:

Here is the first result of a Forte build that I know of.

Great! Do we finally have access to a Solaris machine?!


No, I asked on #sun in irc, and someone decided to help by testing the
build.


Reading the log ...


automake: sigc++/Makefile.am: not supported: source file `functors/
slot.cc' is
in subdirectory
automake: sigc++/Makefile.am: not supported: source file
`adaptors/lambda/lambda.cc' is in subdirectory
sigc++/Makefile.am:54: invalid variable
`nobase_library_include_HEADERS'

libsigc++2 requires automake 1.6 or later.


Strange. No tarball should require any automake when doing a configure.
Maybe he did not use a tarball. I'm CCing him.


CC -g -i -o .libs/test_trackable test_trackable.o -L/opt/gnome-2.4/ lib
../sigc++/.libs/libsigc-2.0.so -R/opt/gnome-2.4/lib
Undefined			first referenced
symbol  			    in file
sigc::slot_base&sigc::slot_base::operator=(const sigc::slot_base&)
test_trackable.o

This would be because of the automake problems: functors/slot.cc is
not built and not linked into libsigc-2.0.so

Do we have a chance to use automake 1.6 on the solaris machine?
Alternatively, we could test the latest tarball?!


I think that sf was down when he tried. Damien, could you please try
with the latest tarball from here? We really appreciate it.
http://sourceforge.net/project/showfiles.php?group_id=1970&package_id=76644


--
Damien Carbery
Desktop Release Engineer
Sun Microsystems

Email: damien carbery sun com
Ph: +353 1 819-9218
Ext: x 19218

Dublin Bus and Irish Rail timetables for your Palm:
http://bussched.sourceforge.net
PWD=/export/home/gnome/2.4/nightly/libsig/libsigc++-1.9.14
LD_RUN_PATH=/opt/gnome-2.4/lib
TZ=GB-Eire
ACLOCAL_FLAGS=-I /opt/gnome-2.4/share/aclocal
HZ=100
HOSTNAME=polar
DE_HOME=/sgnome/gnome2.4/forte/sparc-solaris
LD_LIBRARY_PATH=/opt/gnome-2.4/lib:/sgnome/gnome2.4/forte/sparc-solaris/lib:/sgnome/gnome2.0/forte/sparc-solaris/lib
GCC_EXEC_PREFIX=/sgnome/gnome2.0/forte/sparc-solaris/lib/gcc-lib/
MANPATH=/opt/local/man:/usr/local/man:/usr/man:/usr/openwin/man:/usr/dt/man:/sgnome/gnome2.0/forte/sparc-solaris/man:/opt/local/pgsql/man:
CC=cc
COMPONENT_EXEC_PREFIX=/opt/gnome-2.4
MACHTYPE=sparc-sun-solaris2.9
COMPONENT_PREFIX=/opt/gnome-2.4
MAIL=/var/mail/gbuild
OLDPWD=/export/home/gnome/2.4/nightly/libsig
CPPFLAGS=-I/opt/gnome-2.4/include
EDITOR=vi
JAVA_HOME=/sgnome/tools/sparc-solaris/java/1.4/j2sdk
DISPLAY=blader:0
LOGNAME=gbuild
SHLVL=1
PKG_CONFIG_DISABLE_UNINSTALLED=1
LDFLAGS=-i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib
INSTALL_DESTDIR=
SHELL=/bin/bash
HOSTTYPE=sparc
OSTYPE=solaris2.9
HOME=/home/gbuild
TERM=xterm
PATH=/opt/gnome-2.4/bin:/sgnome/gnome2.4/forte/sparc-solaris/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/usr/openwin/bin:/sgnome/gnome2.0/forte/sparc-solaris/bin:/usr/bin:/bin:/usr/sbin:/usr/ucb:/usr/ccs/bin:.
CFLAGS=-g -I/opt/gnome-2.4/include
_=/usr/bin/env
checking for a BSD-compatible install... /sgnome/gnome2.4/forte/sparc-solaris/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for gm4... no
checking for m4... m4
checking for perl... /usr/bin/perl
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for some Win32 platform... no
checking for a sed that does not truncate output... /sgnome/gnome2.4/forte/sparc-solaris/bin/sed
checking for egrep... grep -E
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... yes
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the CC linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC
checking if CC PIC flag -KPIC works... yes
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -KPIC
checking if f77 PIC flag -KPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking whether we are using the GNU C++ compiler... (cached) no
checking whether CC accepts -g... (cached) yes
checking dependency style of CC... (cached) none
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sigc++-2.0.pc
config.status: creating sigc++/Makefile
config.status: creating tests/Makefile
config.status: creating examples/Makefile
config.status: creating MSVC_Net2003/Makefile
config.status: creating docs/Makefile
config.status: creating docs/images/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/Doxyfile
config.status: executing depfiles commands
Making all in sigc++
make[1]: Entering directory `/export/home/gnome/2.4/nightly/libsig/libsigc++-1.9.14/sigc++'
make  all-am
make[2]: Entering directory `/export/home/gnome/2.4/nightly/libsig/libsigc++-1.9.14/sigc++'
source='signal.cc' object='signal.lo' libtool=yes \
depfile='.deps/signal.Plo' tmpdepfile='.deps/signal.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1    -I.. -I.. -I/opt/gnome-2.4/include  -g -c -o signal.lo `test -f 'signal.cc' || echo './'`signal.cc
mkdir .libs
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c signal.cc  -KPIC -DPIC -o .libs/signal.o
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c signal.cc -o signal.o >/dev/null 2>&1
source='trackable.cc' object='trackable.lo' libtool=yes \
depfile='.deps/trackable.Plo' tmpdepfile='.deps/trackable.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1    -I.. -I.. -I/opt/gnome-2.4/include  -g -c -o trackable.lo `test -f 'trackable.cc' || echo './'`trackable.cc
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c trackable.cc  -KPIC -DPIC -o .libs/trackable.o
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c trackable.cc -o trackable.o >/dev/null 2>&1
source='connection.cc' object='connection.lo' libtool=yes \
depfile='.deps/connection.Plo' tmpdepfile='.deps/connection.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1    -I.. -I.. -I/opt/gnome-2.4/include  -g -c -o connection.lo `test -f 'connection.cc' || echo './'`connection.cc
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c connection.cc  -KPIC -DPIC -o .libs/connection.o
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c connection.cc -o connection.o >/dev/null 2>&1
source='functors/slot.cc' object='slot.lo' libtool=yes \
depfile='.deps/slot.Plo' tmpdepfile='.deps/slot.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1    -I.. -I.. -I/opt/gnome-2.4/include  -g -c -o slot.lo `test -f 'functors/slot.cc' || echo './'`functors/slot.cc
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c functors/slot.cc  -KPIC -DPIC -o .libs/slot.o
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c functors/slot.cc -o slot.o >/dev/null 2>&1
source='adaptors/lambda/lambda.cc' object='lambda.lo' libtool=yes \
depfile='.deps/lambda.Plo' tmpdepfile='.deps/lambda.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1    -I.. -I.. -I/opt/gnome-2.4/include  -g -c -o lambda.lo `test -f 'adaptors/lambda/lambda.cc' || echo './'`adaptors/lambda/lambda.cc
 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c adaptors/lambda/lambda.cc  -KPIC -DPIC -o .libs/lambda.o
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select7, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select6, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select5, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select4, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select3, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select2, 0>::lambda_core() to initialize base class.
"../sigc++/adaptors/lambda/base.h", line 174: Error: Could not find sigc::internal::lambda_core<sigc::internal::lambda_select1, 0>::lambda_core() to initialize base class.
7 Error(s) detected.
make[2]: *** [lambda.lo] Error 1
make[2]: Leaving directory `/export/home/gnome/2.4/nightly/libsig/libsigc++-1.9.14/sigc++'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/gnome/2.4/nightly/libsig/libsigc++-1.9.14/sigc++'
make: *** [all-recursive] Error 1


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