CMake Warning (dev) at drivers/CMakeLists.txt:70 (add_library):
   Policy CMP0003 should be set before this line.  Add code such as
     if(COMMAND cmake_policy)
       cmake_policy(SET CMP0003 NEW)
     endif(COMMAND cmake_policy)
   as early as possible but after the most recent call to
   cmake_minimum_required or cmake_policy(VERSION).  This warning appears
   because target "xwin" links to some libraries for which the linker must
   search:
     -lpthreads
   and other libraries with known full path:
 
/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/src/libplplotd.so.9.5.0
 
/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/csa/libcsirocsa.so.0.0.1
 
/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/nn/libcsironn.so.0.0.1
   CMake is adding directories in the second list to the linker search 
path in
   case they are needed to find libraries from the first list (for backwards
   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to 
enable
   or disable this behavior explicitly.  Run "cmake --help-policy 
CMP0003" for
   more information.
This warning is for project developers.  Use -Wno-dev to suppress it.


which then leads to:

Linking C shared module xwin.so
cd /builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/drivers && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/xwin.dir/link.txt --verbose=1
/usr/lib/ccache/gcc  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 
-march=i386 -mtune=generic -fasynchronous-unwind-tables   -shared 
-Wl,-soname,xwin.so -o xwin.so CMakeFiles/xwin.dir/xwin.o 
-L/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/src 
-L/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/csa 
-L/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/nn 
../src/libplplotd.so.9.5.0 -lltdl -ldl ../lib/csa/libcsirocsa.so.0.0.1 
-lm -lSM -lICE -lX11 -lXext -lpthreads ../lib/nn/libcsironn.so.0.0.1 
-lfreetype -lqhull 
-Wl,-rpath,/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/src:/builddir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/csa:/buildd
ir/build/BUILD/plplot-5.9.0-svn8527/fedora/lib/nn

/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to