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: 466
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: 505
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: 3098
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: 466
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: 466
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
Steffan/BOOM!
Lazycow
iAN CooG/HVSC
Holy Moses/Role
Mihai
Mason/Unicess
Chico/Civitas
Guests online: 291
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 OTD  (9.8)
3 Antitrack  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.038 sec.