Archived

This forum has been archived. Please start a new discussion on GitHub.

Problems to compile Ice-3.3.0

I installed mcpp-2.7:
${mcpp-2.7-directory}/configure CFLAG=-fPIC --enable-mcpplib --disable-shared
${mcpp-2.7-directory}/make
${mcpp-2.7-directory}/make install

I installed Berkeley:
${Berkeley-directory}/dist/configure --enable-cxx
${Berkeley-directory}/make
${Berkeley-directory}/make install

I installed bzip2:
${bzip2-directory}/make
${bzip2-directory}/make install

I installed expat:
${expat-directory}/configure
${expat-directory}/make
${expat-directory}/make install

I installed openssl:
${openssl-directory}/configure
${openssl-directory}/make
${openssl-directory}/make install

Then I changed the Make.rules file:
prefix ?= /opt/Ice-$(VERSION)
embedded_runpath_prefix ?=
/opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR)
BZIP2_HOME ?= /usr/local
DB_HOME ?= /usr/local/BerkeleyDB.4.6
EXPAT_HOME ?= /usr/local
OPENSSL_HOME ?= /usr/local/ssl
MCPP_HOME ?= /usr/local

And at last I wanted to compile Ice-3.3.0:
${Ice-3.3.0-directory}/make

But there is an error, I don't understand:
make[3]: Entering directory `/home/pjaxy/Ice-3.3.0/cpp/src/slice2cpp'
rm -f ../../bin/slice2cpp
c++ -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../lib -o ../../bin/slice2cpp Gen.o Main.o -lSlice -lIceUtil -L/usr/lib/nptl -lpthread -lrt -Wl,-rpath-link,/usr/local/lib
/lib/librt.so.1: undefined reference to `__librt_enable_asynccancel@GLIBC_PRIVATE'
/lib/librt.so.1: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE'
/lib/librt.so.1: undefined reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[3]: *** [../../bin/slice2cpp] Fehler 1
make[3]: Leaving directory `/home/pjaxy/Ice-3.3.0/cpp/src/slice2cpp'
make[2]: *** [all] Fehler 1
make[2]: Leaving directory `/home/pjaxy/Ice-3.3.0/cpp/src'
make[1]: *** [all] Fehler 1
make[1]: Leaving directory `/home/pjaxy/Ice-3.3.0/cpp'
make: *** [all] Fehler 1

Peter

Comments