Make crashing in Fedora 29

Support and general discussion.
Post Reply
abk4523
Posts: 52
Joined: Sun 19 May, 2019 7:21 pm

Make crashing in Fedora 29

Post by abk4523 »

Host operating system: Fedora 29
Kernel version: 5.0.16-200.fc29.x86_64
PCem version 15
I was able to configure PCem on my laptop but when I run make, I get an error:

/usr/bin/ld: pcem-wx-sdl2-display.o: undefined reference to symbol 'SDL_RaiseWindow'
/usr/bin/ld: //usr/lib64/libSDL2-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:901: pcem] Error 1
make[1]: Leaving directory '/home/bobkeane/Documents/PCemV15Linux/src'
make: *** [Makefile:365: all-recursive] Error 1

Any ideas?
szadycbr
Posts: 295
Joined: Mon 21 Nov, 2016 6:23 pm

Re: Make crashing in Fedora 29

Post by szadycbr »

install sdl2 developement files, i just had same error on fedora 29 live stick, configure does not bother to scream much about it, dont know the exact name, so do : yum search sdl2 , and you will find exact file, then just : yum install sdl2...... and it should work.
abk4523
Posts: 52
Joined: Sun 19 May, 2019 7:21 pm

Re: Make crashing in Fedora 29

Post by abk4523 »

I installed SDL2-devel (for future generations) yesterday because ./configure did complain. Perhaps it did not install properly?
szadycbr
Posts: 295
Joined: Mon 21 Nov, 2016 6:23 pm

Re: Make crashing in Fedora 29

Post by szadycbr »

i think that first i did find some sdl2-devel in this gui manager, dragora or so, then i saw that it is not installed, wtf? so i did manually by yum and it worked, fedora is strange.
abk4523
Posts: 52
Joined: Sun 19 May, 2019 7:21 pm

Re: Make crashing in Fedora 29

Post by abk4523 »

I used package manager to install SDL also. Well, I removed SDL2, ran updates rebooted and reinstalled. Make and make install worked but when I run PCem, I get a "no roms found" error. I downloaded the genxt.zip file, unpacked it and copied the contents to the genxt folder under the roms folder, but still get the error. I guess I'll have to keep plugging away. Unless someone else has a better rom file?
szadycbr
Posts: 295
Joined: Mon 21 Nov, 2016 6:23 pm

Re: Make crashing in Fedora 29

Post by szadycbr »

viewtopic.php?f=2&t=3238 it should work.
Post Reply