2013-01-31 09:26:01 |
Daniel van Vugt |
description |
Mir fails to build (link) against locally built Mesa+GBM.
The problem is that it's still looking at the system libgbm.so and not the local one I specified in PKG_CONFIG_PATH...
Linking CXX executable ../bin/mir
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libgbm.so: undefined reference to `wayland_buffer_is_drm'
collect2: ld returned 1 exit status
make[2]: *** [bin/mir] Error 1
make[1]: *** [src/CMakeFiles/mirds.dir/all] Error 2
make: *** [all] Error 2 |
Mir fails to build (link) against locally built Mesa+GBM.
The problem is that it's still looking at the system libgbm.so and not the local one I specified in PKG_CONFIG_PATH...
Linking CXX executable ../bin/mir
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libgbm.so: undefined reference to `wayland_buffer_is_drm'
collect2: ld returned 1 exit status
make[2]: *** [bin/mir] Error 1
make[1]: *** [src/CMakeFiles/mirds.dir/all] Error 2
make: *** [all] Error 2
make VERBOSE=1 shows the source of the problem is that we're linking to the specified -lgbm from pkgconfig but ignoring the library path also from pkgconfig. |
|