[Paraview] make error when building ParaView 3.6
Karl Battams
karlbattams at gmail.com
Tue Aug 18 08:10:39 EDT 2009
Thanks! I tried that but it didn't make the error go away.
However... I did manage to get past the error eventually. I (re)configured
mpich with CFLAGS="-fPIC" and reinstalled it. Paraview was then able to
compile. What's confusing is that I did this once before and it didn't fix
it, but now it does. So I must've done something slightly different this
time around, but I have no idea what. Weird...
So, on to the next bug (I'm hijacking my own thread here)... When I try to
run the paraview app, I get the following message:
"paraview: symbol lookup error:
/usr/local/Trolltech/Qt-4.5.0/lib/libQtWebKit.so.4: undefined symbol:
_ZN24QXmlStreamEntityResolver13resolveEntityERK7QStringS2_"
Any ideas? I ran ldd on my paraview binary and didn't see any obvious
file/path conflicts.
Thanks for the help.
~~Karl
On Mon, Aug 17, 2009 at 12:07 PM, Peter Brady <petertbrady at gmail.com> wrote:
> I had a similar problem. To get around it I had to build shared mpi
> libraries (i.e. libmpich.so).
>
> Any simpler suggestions anyone?
>
> On Mon, Aug 17, 2009 at 10:47 AM, Karl Battams<karlbattams at gmail.com>
> wrote:
> > Hi,
> >
> > I'm trying to build ParaView 3.6 on an Ubuntu machine (w/ Qt 4.5) but I'm
> > hitting an error when I run 'make'. I'm doing the 'ccmake
> <path_to_source>'
> > and keeping the default configuration except setting number of processors
> to
> > 8 (I have a Core i7) and turning on the PARAVIEW_ENABLE_PYTHON and
> > PARAVIEW_USE_MPI. I try to turn off BUILD_SHARED_LIBS, but it keeps
> > switching itself back on (why??). Anyway, it configures fine with just a
> > complaint about "Qt PHONON library not found", which I understand is just
> a
> > warning, not a show-stopper (right?). But when I run 'make', it gets to
> > about 4% and then dies as follows:
> >
> > Scanning dependencies of target MapReduceMPI
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/mapreduce.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/keyvalue.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/keymultivalue.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/irregular.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/hash.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/memory.cpp.o
> > [ 4%] Building CXX object
> > VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/error.cpp.o
> > Linking CXX shared library ../../../../bin/libMapReduceMPI.so
> > /usr/bin/ld: /usr/local/lib/libmpich.a(allreduce.o): relocation
> R_X86_64_32S
> > against `MPIR_ThreadSingle' can not be used when making a shared object;
> > recompile with -fPIC
> > /usr/local/lib/libmpich.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make[2]: *** [bin/libMapReduceMPI.so.pv3.7] Error 1
> > make[1]: *** [VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/all]
> Error
> > 2
> > make: *** [all] Error 2
> >
> > So, anyone got any ideas?
> >
> > Thanks in advance!
> > ~~Karl
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090818/9d19665d/attachment-0001.htm>
More information about the ParaView
mailing list