Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Vice on Opensuse problem: undefined symbol.
2021-08-15 08:14
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)
2021-08-15 11:08
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?
2021-08-15 12:12
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.
2021-08-15 12:59
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.
2021-08-16 21:16
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?
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Herrera64
t0m3000/HF^BOOM!^IBX
Clayboy
DeMOSic/HF^MS^BCC^LSD
moraff/Panic/Gorbat ..
encore
Brix/Plush
Airwolf/F4CG
CreaMD/React
Guests online: 149
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 No Bounds  (9.6)
7 Aliens in Wonderland  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 It's More Fun to Com..  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Stinsen  (9.7)
3 Jeroen Tel  (9.6)
4 Linus  (9.6)
5 psych858o  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.052 sec.