| |
Flavioweb
Registered: Nov 2011 Posts: 447 |
Vice on Opensuse problem: undefined symbol.
It is not a problem directly related to vice but, instead, to a system update: I hope someone can help me anyway.
After the last update if I try to run vice I get x64sc: symbol lookup error: x64sc: undefined symbol: __glewXSwapIntervalSGI and if I try to recompile from sources: /home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:246: undefined reference to `__glewXSwapIntervalSGI'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:246: undefined reference to `__glewXSwapIntervalEXT'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:246: undefined reference to `__glewXSwapIntervalMESA'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ../src/arch/gtk3/libarch.a(opengl_renderer_unix.o): in function `vice_opengl_renderer_set_vsync':
/home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:259: undefined reference to `__glewXSwapIntervalMESA'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:272: undefined reference to `__glewXSwapIntervalEXT'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/flavio/vice-emu-code/vice/src/arch/gtk3/opengl_renderer_unix.c:274: undefined reference to `__glewXSwapIntervalSGI'
I can't figure out how I can fix it. Some idea?
Do I need to check any packages?
Do I have to recompile vice by setting some variable?
(Other programs installed on the PC seem to work fine) |
|
| |
spider-j
Registered: Oct 2004 Posts: 449 |
Yes, sometimes vice needs to be rebuild after updates.
Wild guess: did you forget "make clean" before building again? |
| |
Krill
Registered: Apr 2002 Posts: 2855 |
The symbols come with https://software.opensuse.org/package/glew, and it appears you'll have to build it from source. |
| |
Flavioweb
Registered: Nov 2011 Posts: 447 |
I've re-downloaded sources from Sourceforge to be sure and i redid the config process from scratch, but I still get the same compilation errors.
LibGLEW2_2 and glew-devel packages are installed and, however, before the upgrade both vice-compiled and its compilation worked correctly.
Now even the previously compiled vice does not work.
There is something strange that I don't understand. |
| |
Flavioweb
Registered: Nov 2011 Posts: 447 |
I found this on a forum:
Found the change-info. In the changelog, of course.
It reads for libGLEW2_2 - OpenGL Extension Wrangler Library:
Sa 31 Jul 2021 14:00:00 CEST
Atri Bhattacharya <badshah400@gmail.com>
-
Build with EGL support now that wxWidgets does so (since version
3.1.5), otherwise wxWidgets 3.1.x widgets that make use of glew
crash (see for example, boo#1188519); add BuildRequires:
pkgconfig(egl) as well as the same Requires for devel package.
Can this help resolve? How? |