Home Help Center

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

JohnBJohnB Member John BasraiOrganization: VeriFoneProject: Trident ✭✭

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?



  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    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 [url=htttp://www.zeroc.com/download]download[/url] 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.
Sign In or Register to comment.