I had a very similar problem on our cray (i.e. same error message), but it was 
not caused by protobuf. 
We have the standard libs in /usr/lib64, but when using icc/ifort the libstdc++ 
lib from
/opt/cray/blah/blah/something something should be linked and not the one from 
/usr/lib64

Have a look and see if there is another libstdc++ in a special gcc/4.4.5 dir 
somewhere - since you're using gcc (I was using icc) it may not be so trivial.

JB

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Paul McIntosh
Sent: 22 December 2011 03:48
To: [email protected]
Subject: [Paraview] 3.12.0 building issues due to Protobuf

Hi All,

Just wondering if anyone has come across this problem and worked around it?

I am using modules and have the following configuration where I have protobuf 
built and available in /usr/local/protobuf/2.4.1

Currently Loaded Modulefiles:
  1) gmp/4.3.1           3) gcc/4.4.5           5) qt/4.6.2            7)
virtualgl/2.2.90    9) cmake/2.8.3
  2) mpfr/2.4.2          4) openmpi-gcc/1.4.3   6) python/2.7.1-gcc    8)
paraview/3.10.1    10) protobuf/2.4.1

The ParaView protobuf build seems to be doing everything on it's own, ignoring 
compiler paths, prebuilt libraries etc, with no cmake options except for 
switching on and off tests. So everything else builds but I get stuck below. 

[ 84%] Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/protoc:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/libprotobuf.so)
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/protoc:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/libprotoc.so)
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/protoc:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/libprotoc.so)
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/protoc:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by
/usr/local/src/PARAVIEW/3.12.0/ParaView-Build/bin/libprotoc.so)
[ 84%] Built target protobuf_code_generation [ 84%] Building CXX object 
ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/v
tkPVSessionBase.cxx.o
In file included from
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkPVSessionBase.cxx:22:
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkSMMessage.h:30:29: error: vtkPVMessage.pb.h: No such file or directory 
In file included from 
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkPVSessionBase.cxx:22:
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkSMMessage.h:38: error: expected unqualified-id before â&â token 
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkSMMessage.h:38: error: expected â)â before â&â token 
/usr/local/src/PARAVIEW/3.12.0/ParaView-3.12.0/ParaViewCore/ServerImplementa
tion/vtkSMMessage.h:38: error: expected initializer before â&â token
make[2]: ***
[ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/
vtkPVSessionBase.cxx.o] Error 1
make[1]: ***
[ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/
all] Error 2
make: *** [all] Error 2

Any hints?

Cheers,

Paul
---
www.internetscooter.com 

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to