waffle-gl / waffle

A C library for selecting an OpenGL API and window system at runtime
https://waffle.freedesktop.org
BSD 2-Clause "Simplified" License
35 stars 16 forks source link

Link error with wayland 1.10 #38

Closed dcbaker closed 8 years ago

dcbaker commented 8 years ago

Running archlinux against master, after upgrading to wayland 1.10 waffle no longer builds. I get the following output:

[111/111] Linking C executable bin/simple-x11-egl
FAILED: : && /lib/ccache/bin/cc  --std=c99 -Wall -Werror=implicit-function-declaration -fvisibility=hidden -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-prototypes   examples/CMakeFiles/simple-x11-egl.dir/simple-x11-egl.c.o  -o bin/simple-x11-egl  -rdynamic lib/libwaffle-1.so.0.5.90 -Wl,-rpath,/home/dylan/source/waffle/lib && :
lib/libwaffle-1.so.0.5.90: undefined reference to `wl_proxy_marshal_constructor_versioned'
collect2: error: ld returned 1 exit status
[111/111] Linking C executable bin/gl_basic_test
FAILED: : && /lib/ccache/bin/cc  --std=c99 -Wall -Werror=implicit-function-declaration -fvisibility=hidden -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-prototypes   tests/functional/CMakeFiles/gl_basic_test.dir/gl_basic_test.c.o  -o bin/gl_basic_test  -rdynamic lib/libwaffle-1.so.0.5.90 lib/libwaffle_test.a -Wl,-rpath,/home/dylan/source/waffle/lib && :
lib/libwaffle-1.so.0.5.90: undefined reference to `wl_proxy_marshal_constructor_versioned'
collect2: error: ld returned 1 exit status
[111/111] Linking C executable bin/wflinfo
FAILED: : && /lib/ccache/bin/cc  --std=c99 -Wall -Werror=implicit-function-declaration -fvisibility=hidden -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-prototypes   src/utils/CMakeFiles/wflinfo.dir/wflinfo.c.o  -o bin/wflinfo  -rdynamic lib/libwaffle-1.so.0.5.90 -Wl,-rpath,/home/dylan/source/waffle/lib: && :
lib/libwaffle-1.so.0.5.90: undefined reference to `wl_proxy_marshal_constructor_versioned'
collect2: error: ld returned 1 exit status
[111/111] Linking C executable bin/gl_basic
FAILED: : && /lib/ccache/bin/cc  --std=c99 -Wall -Werror=implicit-function-declaration -fvisibility=hidden -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-prototypes   examples/CMakeFiles/gl_basic.dir/gl_basic.c.o  -o bin/gl_basic  -rdynamic lib/libwaffle-1.so.0.5.90 -Wl,-rpath,/home/dylan/source/waffle/lib && :
lib/libwaffle-1.so.0.5.90: undefined reference to `wl_proxy_marshal_constructor_versioned'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
evelikov commented 8 years ago

The issue should be fixed with commit cd38ab87009b84e587adc8e7dac4733b76af72cc Being short on access, can you please close this issue. Thanks !