Results 1 to 4 of 4

Thread: Problems to compile Ice-3.3.0

  1. #1
    peter is offline Registered User
    Name: Peter Jaxy
    Organization: Reihnisch Westfälisch technische Hochschule
    Project: Integrative Production Technologie
    Join Date
    Jan 2009
    Posts
    30

    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

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    This looks like a problem with your gcc installation. What Linux distribution are you using?

  3. #3
    peter is offline Registered User
    Name: Peter Jaxy
    Organization: Reihnisch Westfälisch technische Hochschule
    Project: Integrative Production Technologie
    Join Date
    Jan 2009
    Posts
    30

    distribution

    I use debian GNU/Linux 4.6 Etch

  4. #4
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    You are not the first to run into this issue. See Problems compiling Ice 3.3 from source on Debian for details.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 06-21-2010, 04:03 AM
  2. Problems using ICE
    By Azerus in forum Help Center
    Replies: 1
    Last Post: 03-31-2009, 08:46 PM
  3. compile problems in Windows xp using vs2003
    By jay.kou in forum Help Center
    Replies: 2
    Last Post: 11-16-2006, 10:54 PM
  4. Compile problems in VC7.1
    By pokemoen in forum Help Center
    Replies: 30
    Last Post: 05-27-2005, 04:34 AM
  5. problems when compile Ice2.0.0 in redhat 9
    By libaoli in forum Help Center
    Replies: 8
    Last Post: 01-09-2005, 07:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •