We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have SDL 1.2 and 2.0 installed on my System. I get this while "make"
gcc -m32 -g -Wall -DNORMALUNIX -DLINUX -DSDL -L/usr/lib/i386-linux-gnu/ linux/doomdef.o linux/doomstat.o linux/dstrings.o linux/i_system.o linux/i_sound.o linux/i_sdl_video.o linux/i_net.o linux/tables.o linux/f_finale.o linux/f_wipe.o linux/d_main.o linux/d_net.o linux/d_items.o linux/g_game.o linux/m_menu.o linux/m_misc.o linux/m_argv.o linux/m_bbox.o linux/m_fixed.o linux/m_swap.o linux/m_cheat.o linux/m_random.o linux/am_map.o linux/p_ceilng.o linux/p_doors.o linux/p_enemy.o linux/p_floor.o linux/p_inter.o linux/p_lights.o linux/p_map.o linux/p_maputl.o linux/p_plats.o linux/p_pspr.o linux/p_setup.o linux/p_sight.o linux/p_spec.o linux/p_switch.o linux/p_mobj.o linux/p_telept.o linux/p_tick.o linux/p_saveg.o linux/p_user.o linux/r_bsp.o linux/r_data.o linux/r_draw.o linux/r_main.o linux/r_plane.o linux/r_segs.o linux/r_sky.o linux/r_things.o linux/w_wad.o linux/wi_stuff.o linux/v_video.o linux/st_lib.o linux/st_stuff.o linux/hu_stuff.o linux/hu_lib.o linux/s_sound.o linux/z_zone.o linux/info.o linux/sounds.o linux/i_main.o -o linux/sdl_doom -lSDL /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../libSDL.so when searching for -lSDL /usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL /usr/bin/ld: cannot find -lSDL collect2: error: ld returned 1 exit status make: *** [Makefile:87: linux/sdl_doom] Error 1
The text was updated successfully, but these errors were encountered:
This is because you lack the 32-bit SDL libraries.
In my case, on Arch Linux, I had to install lib32-sdl (or lib32-sdl12-compat) (and optionally lib32-sdl2). This should fix your issue.
lib32-sdl
lib32-sdl12-compat
lib32-sdl2
Sorry, something went wrong.
I had the same problem, but 32 bit libraries aren't supported under 64bit Ubuntu anymore, so I used a 32 bit Debian distro (in VirtualBox).
No branches or pull requests
I have SDL 1.2 and 2.0 installed on my System. I get this while "make"
gcc -m32 -g -Wall -DNORMALUNIX -DLINUX -DSDL -L/usr/lib/i386-linux-gnu/ linux/doomdef.o linux/doomstat.o linux/dstrings.o linux/i_system.o linux/i_sound.o linux/i_sdl_video.o linux/i_net.o linux/tables.o linux/f_finale.o linux/f_wipe.o linux/d_main.o linux/d_net.o linux/d_items.o linux/g_game.o linux/m_menu.o linux/m_misc.o linux/m_argv.o linux/m_bbox.o linux/m_fixed.o linux/m_swap.o linux/m_cheat.o linux/m_random.o linux/am_map.o linux/p_ceilng.o linux/p_doors.o linux/p_enemy.o linux/p_floor.o linux/p_inter.o linux/p_lights.o linux/p_map.o linux/p_maputl.o linux/p_plats.o linux/p_pspr.o linux/p_setup.o linux/p_sight.o linux/p_spec.o linux/p_switch.o linux/p_mobj.o linux/p_telept.o linux/p_tick.o linux/p_saveg.o linux/p_user.o linux/r_bsp.o linux/r_data.o linux/r_draw.o linux/r_main.o linux/r_plane.o linux/r_segs.o linux/r_sky.o linux/r_things.o linux/w_wad.o linux/wi_stuff.o linux/v_video.o linux/st_lib.o linux/st_stuff.o linux/hu_stuff.o linux/hu_lib.o linux/s_sound.o linux/z_zone.o linux/info.o linux/sounds.o linux/i_main.o
-o linux/sdl_doom -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../libSDL.so when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/bin/ld: cannot find -lSDL
collect2: error: ld returned 1 exit status
make: *** [Makefile:87: linux/sdl_doom] Error 1
The text was updated successfully, but these errors were encountered: