Home Help Center

Problems to compile Ice-3.3.0

peterpeter Member Peter JaxyOrganization: Reihnisch Westfälisch technische HochschuleProject: Integrative Production Technologie ✭✭
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 `[email protected]_PRIVATE'
/lib/librt.so.1: undefined reference to `[email protected]_PRIVATE'
/lib/librt.so.1: undefined reference to `[email protected]_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

Sign In or Register to comment.