Results 1 to 2 of 2

Thread: Ice build error on Solaris 9 (ld: cannot find -lmcpp)

  1. #1
    JohnB is offline Registered User
    Name: John Basrai
    Organization: Northrop Grumman
    Project: Airborne Payload Command Control Interface
    Join Date
    Feb 2005
    Posts
    49

    Ice build error on Solaris 9 (ld: cannot find -lmcpp)

    Hello,

    I'm trying to build Ice 3.3.0 on Solaris 9 and I'm getting the following error.

    g++ -shared -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g -L../../lib -o ../../lib/libSlice.so.3.3.0 -h libSlice.so.33 Scanner.o ../Slice/Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o Util.o MD5.o MD5I.o SignalHandler.o -lIceUtil -lmcpp
    /cots/sol10-port/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../sparc-sun-solaris2.10/bin/ld: cannot find -lmcpp
    collect2: ld returned 1 exit status
    make[3]: *** [../../lib/libSlice.so.3.3.0] Error 1
    make[3]: Leaving directory `.../Ice3.3.0/Ice-3.3.0/cpp/src/Slice'

    I only changed the following line in "cpp/config/Make.rules.SunOS"
    CXX = g++

    I'm using g++ version 3.4.6

    What else am I missing?

    Thanks,
    John Basrai
    Software Engineer
    Northrop Grumman Mission Systems/ISD

  2. #2
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397
    You need to build and install mcpp on your machine. You can find the source code and build instructions in the third party source package on the download page. This includes the source for mcpp 2.7 as well as some patches that need to be applied for it to work properly with Ice. Alternately you can download the latest version, mcpp 2.7.2, from here. This version does not require any patching.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 10-01-2008, 07:17 AM
  2. Do I have to build Ice in 64 bit mode?(on Solaris 10)
    By shenhongzhou in forum Help Center
    Replies: 1
    Last Post: 04-27-2008, 07:03 AM
  3. Is something missing?ld:can not find "-ldb_cxx"
    By lbaby in forum Help Center
    Replies: 2
    Last Post: 05-20-2005, 05:53 AM
  4. Install, Redhat 9.0: /usr/bin/ld: cannot find -lbz2
    By catalin in forum Help Center
    Replies: 3
    Last Post: 08-03-2003, 08:27 AM
  5. icecpp doesn't build on Solaris
    By marlowa in forum Bug Reports
    Replies: 0
    Last Post: 02-25-2003, 06:05 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
  •