I'm recently started to install paraview on a new machine,
OS is Ubuntu, a 64 bit machine.
Mesa itself is built smoothly and my cmake configuration
is the same as I built before (I successfully built Mesa with
PV many times), I've tried three versions of Mesa to be
integrated into PV, 7.9, 7.6.1 and 7.0.4. About 48% of building PV,
I get the following consistent error
---
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_create_framebuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_free_context_data'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_get_current_context'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_vbo_InvalidateState'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_initialize_context'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_reference_renderbuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_enable_1_4_extensions'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swrast_choose_triangle'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_error'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_add_soft_renderbuffers'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_add_renderbuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_enable_1_3_extensions'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_calloc'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_problem'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_enable_1_5_extensions'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_vbo_CreateContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swrast_choose_line'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_free'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swsetup_DestroyContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_make_current'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_new_renderbuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_tnl_DestroyContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_init_driver_functions'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_update_framebuffer_visual'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_destroy_visual'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_unreference_framebuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_vbo_DestroyContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_remove_renderbuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_create_visual'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swrast_DestroyContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swrast_CreateContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swrast_InvalidateState'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_resize_framebuffer'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_tnl_run_pipeline'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swsetup_InvalidateState'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_tnl_InvalidateState'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swsetup_CreateContext'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_strcmp'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_mesa_enable_sw_extensions'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_swsetup_Wakeup'
/home/joshuawu/remoteparaview/mesa/Mesa-7.0.4/lib64/libOSMesa.so.6:
undefined reference to `_tnl_CreateContext'
collect2: ld returned 1 exit status
make[2]: *** [bin/TestParallelRendering] Error 1
make[1]: *** [VTK/Parallel/Testing/Cxx/CMakeFiles/
TestParallelRendering.dir/all] Error 2
make: *** [all] Error 2
---
the newer versions just have libOSMesa.so.7 undefined reference...
Is there anything I need to do to configure Mesa, or is this a
paraview issue?
--Josh
_______________________________________________
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