ec- / Quake3e

Improved Quake III Arena engine
GNU General Public License v2.0
1.21k stars 154 forks source link

Not compiled on FreeBSD #156

Closed Heic0 closed 2 years ago

Heic0 commented 2 years ago

[vitek@bsd-pc ~/Quake3e/build]$ cmake -Wno-dev .. -- The C compiler identification is Clang 13.0.0 -- The CXX compiler identification is Clang 13.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SDL2: /usr/local/lib/libSDL2.so (found version "2.0.20") -- Found SDL2main: /usr/local/lib/libSDL2main.a (found version "2.0.20") -- Configuring done -- Generating done -- Build files have been written to: /home/vitek/Quake3e/build [vitek@bsd-pc ~/Quake3e/build]$ make -j2 [ 1%] Building C object CMakeFiles/server.dir/code/server/sv_bot.c.o [ 1%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jaricom.c.o [ 1%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcapimin.c.o [ 1%] Building C object CMakeFiles/server.dir/code/server/sv_ccmds.c.o [ 2%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcapistd.c.o [ 2%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcarith.c.o [ 3%] Building C object CMakeFiles/server.dir/code/server/sv_client.c.o [ 4%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jccoefct.c.o [ 4%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jccolor.c.o [ 4%] Building C object CMakeFiles/server.dir/code/server/sv_filter.c.o [ 4%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcdctmgr.c.o [ 5%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jchuff.c.o [ 5%] Building C object CMakeFiles/server.dir/code/server/sv_game.c.o [ 5%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcinit.c.o [ 6%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcmainct.c.o [ 7%] Building C object CMakeFiles/server.dir/code/server/sv_init.c.o [ 7%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcmarker.c.o [ 8%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcmaster.c.o [ 8%] Building C object CMakeFiles/server.dir/code/server/sv_main.c.o [ 8%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcomapi.c.o [ 8%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcparam.c.o [ 9%] Building C object CMakeFiles/server.dir/code/server/sv_net_chan.c.o [ 10%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcprepct.c.o [ 10%] Building C object CMakeFiles/server.dir/code/server/sv_snapshot.c.o [ 10%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jcsample.c.o [ 11%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jctrans.c.o [ 12%] Building C object CMakeFiles/server.dir/code/server/sv_world.c.o [ 12%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdapimin.c.o [ 12%] Linking C static library libserver.a [ 12%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdapistd.c.o [ 12%] Built target server [ 13%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdarith.c.o [ 13%] Building C object CMakeFiles/server_ded.dir/code/server/sv_bot.c.o [ 13%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdatadst.c.o [ 14%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdatasrc.c.o [ 15%] Building C object CMakeFiles/server_ded.dir/code/server/sv_ccmds.c.o [ 15%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdcoefct.c.o [ 15%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdcolor.c.o [ 15%] Building C object CMakeFiles/server_ded.dir/code/server/sv_client.c.o [ 16%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jddctmgr.c.o [ 16%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdhuff.c.o [ 17%] Building C object CMakeFiles/server_ded.dir/code/server/sv_filter.c.o [ 18%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdinput.c.o [ 18%] Building C object CMakeFiles/server_ded.dir/code/server/sv_game.c.o [ 18%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdmainct.c.o [ 19%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdmarker.c.o [ 19%] Building C object CMakeFiles/server_ded.dir/code/server/sv_init.c.o [ 19%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdmaster.c.o [ 20%] Building C object CMakeFiles/server_ded.dir/code/server/sv_main.c.o [ 20%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdmerge.c.o [ 21%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdpostct.c.o [ 21%] Building C object CMakeFiles/server_ded.dir/code/server/sv_net_chan.c.o [ 21%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdsample.c.o [ 22%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jdtrans.c.o [ 23%] Building C object CMakeFiles/server_ded.dir/code/server/sv_snapshot.c.o [ 23%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jerror.c.o [ 23%] Building C object CMakeFiles/server_ded.dir/code/server/sv_world.c.o [ 23%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jfdctflt.c.o [ 24%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jfdctfst.c.o [ 25%] Linking C static library libserver_ded.a [ 25%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jfdctint.c.o [ 25%] Built target server_ded [ 26%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jidctflt.c.o [ 26%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cm_load.c.o [ 27%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cm_patch.c.o [ 27%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jidctfst.c.o [ 28%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jidctint.c.o [ 28%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cm_polylib.c.o [ 29%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cm_test.c.o [ 29%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jmemmgr.c.o [ 29%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cm_trace.c.o [ 29%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jmemnobs.c.o [ 30%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jquant1.c.o [ 30%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cmd.c.o [ 30%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jquant2.c.o [ 31%] Building C object CMakeFiles/jpeg.dir/code/libjpeg/jutils.c.o [ 32%] Building C object CMakeFiles/qcommon.dir/code/qcommon/common.c.o [ 32%] Linking C static library libjpeg.a [ 32%] Built target jpeg [ 32%] Building C object CMakeFiles/qcommon.dir/code/qcommon/cvar.c.o [ 33%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cm_load.c.o [ 34%] Building C object CMakeFiles/qcommon.dir/code/qcommon/files.c.o [ 34%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cm_patch.c.o [ 35%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cm_polylib.c.o [ 35%] Building C object CMakeFiles/qcommon.dir/code/qcommon/history.c.o [ 36%] Building C object CMakeFiles/qcommon.dir/code/qcommon/huffman.c.o [ 36%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cm_test.c.o [ 36%] Building C object CMakeFiles/qcommon.dir/code/qcommon/huffman_static.c.o [ 36%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cm_trace.c.o [ 36%] Building C object CMakeFiles/qcommon.dir/code/qcommon/keys.c.o [ 37%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cmd.c.o [ 38%] Building C object CMakeFiles/qcommon.dir/code/qcommon/md4.c.o [ 38%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/common.c.o [ 38%] Building C object CMakeFiles/qcommon.dir/code/qcommon/md5.c.o [ 39%] Building C object CMakeFiles/qcommon.dir/code/qcommon/msg.c.o [ 40%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/cvar.c.o [ 40%] Building C object CMakeFiles/qcommon.dir/code/qcommon/net_chan.c.o [ 40%] Building C object CMakeFiles/qcommon.dir/code/qcommon/net_ip.c.o [ 40%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/files.c.o [ 41%] Building C object CMakeFiles/qcommon.dir/code/qcommon/puff.c.o [ 41%] Building C object CMakeFiles/qcommon.dir/code/qcommon/q_math.c.o [ 41%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/history.c.o [ 42%] Building C object CMakeFiles/qcommon.dir/code/qcommon/q_shared.c.o [ 43%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/huffman.c.o [ 43%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/huffman_static.c.o [ 43%] Building C object CMakeFiles/qcommon.dir/code/qcommon/unzip.c.o [ 44%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/keys.c.o [ 44%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/md4.c.o [ 45%] Building C object CMakeFiles/qcommon.dir/code/qcommon/vm.c.o [ 46%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/md5.c.o [ 46%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/msg.c.o [ 46%] Building C object CMakeFiles/qcommon.dir/code/qcommon/vm_interpreted.c.o [ 46%] Linking C static library libqcommon.a [ 46%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/net_chan.c.o [ 46%] Built target qcommon [ 47%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/net_ip.c.o [ 47%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_bspq3.c.o [ 47%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/puff.c.o [ 47%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_cluster.c.o [ 48%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/q_math.c.o [ 49%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_debug.c.o [ 49%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/q_shared.c.o [ 49%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_entity.c.o [ 50%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_file.c.o [ 50%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/unzip.c.o [ 50%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_main.c.o [ 50%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_move.c.o [ 51%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/vm.c.o [ 52%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_optimize.c.o [ 52%] Building C object CMakeFiles/qcommon_ded.dir/code/qcommon/vm_interpreted.c.o [ 52%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_reach.c.o [ 53%] Linking C static library libqcommon_ded.a [ 53%] Built target qcommon_ded [ 54%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_route.c.o [ 54%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_routealt.c.o [ 55%] Building C object CMakeFiles/client.dir/code/client/cl_avi.c.o [ 55%] Building C object CMakeFiles/botlib.dir/code/botlib/be_aas_sample.c.o [ 55%] Building C object CMakeFiles/client.dir/code/client/cl_cgame.c.o [ 56%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_char.c.o [ 56%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_chat.c.o [ 57%] Building C object CMakeFiles/client.dir/code/client/cl_cin.c.o [ 58%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_gen.c.o [ 58%] Building C object CMakeFiles/client.dir/code/client/cl_console.c.o [ 58%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_goal.c.o [ 60%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_move.c.o [ 60%] Building C object CMakeFiles/client.dir/code/client/cl_curl.c.o [ 60%] Building C object CMakeFiles/client.dir/code/client/cl_input.c.o [ 60%] Building C object CMakeFiles/client.dir/code/client/cl_jpeg.c.o [ 60%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_weap.c.o [ 60%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ai_weight.c.o [ 61%] Building C object CMakeFiles/client.dir/code/client/cl_keys.c.o [ 62%] Building C object CMakeFiles/botlib.dir/code/botlib/be_ea.c.o [ 62%] Building C object CMakeFiles/botlib.dir/code/botlib/be_interface.c.o [ 62%] Building C object CMakeFiles/client.dir/code/client/cl_main.c.o [ 63%] Building C object CMakeFiles/botlib.dir/code/botlib/l_crc.c.o [ 63%] Building C object CMakeFiles/botlib.dir/code/botlib/l_libvar.c.o [ 63%] Building C object CMakeFiles/botlib.dir/code/botlib/l_log.c.o [ 64%] Building C object CMakeFiles/client.dir/code/client/cl_net_chan.c.o [ 65%] Building C object CMakeFiles/botlib.dir/code/botlib/l_memory.c.o [ 65%] Building C object CMakeFiles/botlib.dir/code/botlib/l_precomp.c.o [ 65%] Building C object CMakeFiles/client.dir/code/client/cl_parse.c.o [ 66%] Building C object CMakeFiles/botlib.dir/code/botlib/l_script.c.o [ 66%] Building C object CMakeFiles/client.dir/code/client/cl_scrn.c.o [ 66%] Building C object CMakeFiles/botlib.dir/code/botlib/l_struct.c.o [ 67%] Building C object CMakeFiles/client.dir/code/client/cl_ui.c.o [ 67%] Linking C static library libbotlib.a [ 67%] Built target botlib [ 67%] Building C object CMakeFiles/client.dir/code/client/snd_adpcm.c.o [ 68%] Building C object CMakeFiles/client.dir/code/client/snd_codec.c.o [ 69%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_font.c.o [ 69%] Building C object CMakeFiles/client.dir/code/client/snd_codec_wav.c.o [ 69%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_image_bmp.c.o [ 70%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_image_jpg.c.o [ 71%] Building C object CMakeFiles/client.dir/code/client/snd_dma.c.o [ 71%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_image_pcx.c.o [ 71%] Building C object CMakeFiles/client.dir/code/client/snd_main.c.o [ 71%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_image_png.c.o [ 71%] Building C object CMakeFiles/client.dir/code/client/snd_mem.c.o [ 72%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_image_tga.c.o [ 73%] Building C object CMakeFiles/client.dir/code/client/snd_mix.c.o [ 73%] Building C object CMakeFiles/renderer_common.dir/code/renderercommon/tr_noise.c.o [ 73%] Building C object CMakeFiles/client.dir/code/client/snd_wavelet.c.o [ 74%] Linking C static library librenderer_common.a [ 75%] Built target renderer_common [ 75%] Linking C static library libclient.a [ 75%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_animation.c.o [ 75%] Built target client [ 76%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_arb.c.o [ 76%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_animation.c.o [ 76%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_backend.c.o [ 76%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_backend.c.o [ 77%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_bsp.c.o [ 78%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_bsp.c.o [ 78%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_cmds.c.o [ 79%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_curve.c.o [ 79%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_cmds.c.o [ 79%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_font.c.o [ 80%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_curve.c.o [ 81%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_image.c.o [ 81%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_init.c.o [ 81%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_flares.c.o [ 81%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_light.c.o [ 81%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_image.c.o [ 82%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_main.c.o [ 83%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_marks.c.o [ 83%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_init.c.o [ 84%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_mesh.c.o [ 84%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_model.c.o [ 84%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_light.c.o [ 84%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_model_iqm.c.o [ 85%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_main.c.o [ 86%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_scene.c.o [ 86%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_shade.c.o [ 86%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_marks.c.o [ 87%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_shade_calc.c.o [ 87%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_mesh.c.o [ 87%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_shader.c.o [ 88%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_model.c.o [ 89%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_shadows.c.o [ 89%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_sky.c.o [ 89%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_model_iqm.c.o [ 89%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_surface.c.o [ 90%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_scene.c.o [ 91%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/tr_world.c.o [ 91%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/vk.c.o [ 91%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_shade.c.o [ 91%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_shade_calc.c.o [ 92%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_shader.c.o [ 92%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_shadows.c.o [ 93%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/vk_flares.c.o [ 93%] Building C object CMakeFiles/renderer_vk.dir/code/renderervk/vk_vbo.c.o [ 94%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_sky.c.o [ 94%] Linking C static library librenderer_vk.a [ 94%] Built target renderer_vk [ 94%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_surface.c.o [ 94%] Building C object CMakeFiles/qsdl.dir/code/sdl/sdl_gamma.c.o [ 95%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_vbo.c.o [ 95%] Building C object CMakeFiles/renderer.dir/code/renderer/tr_world.c.o [ 95%] Building C object CMakeFiles/qsdl.dir/code/sdl/sdl_glimp.c.o [ 95%] Linking C static library librenderer.a [ 95%] Built target renderer [ 96%] Building C object CMakeFiles/qsdl.dir/code/sdl/sdl_input.c.o [ 97%] Building C object CMakeFiles/quake3e.ded.dir/code/unix/unix_main.c.o [ 97%] Building C object CMakeFiles/quake3e.ded.dir/code/unix/unix_shared.c.o [ 97%] Building C object CMakeFiles/qsdl.dir/code/sdl/sdl_snd.c.o [ 98%] Building C object CMakeFiles/quake3e.ded.dir/code/unix/linux_signals.c.o [ 98%] Linking C executable quake3e.ded ld: error: undefined symbol: rint

referenced by common.c common.c.o:(Sys_SnapVector) in archive libqcommon_ded.a referenced by common.c common.c.o:(Sys_SnapVector) in archive libqcommon_ded.a referenced by common.c common.c.o:(Sys_SnapVector) in archive libqcommon_ded.a ld: error: undefined symbol: sin referenced by cvar.c cvar.c.o:(Cvar_Op) in archive libqcommon_ded.a referenced by cvar.c cvar.c.o:(Cvar_Op) in archive libqcommon_ded.a referenced by q_math.c q_math.c.o:(RotatePointAroundVector) in archive libqcommon_ded.a referenced 5 more times

ld: error: undefined symbol: cos

referenced by cvar.c cvar.c.o:(Cvar_Op) in archive libqcommon_ded.a referenced by cvar.c cvar.c.o:(Cvar_Op) in archive libqcommon_ded.a referenced by q_math.c q_math.c.o:(RotatePointAroundVector) in archive libqcommon_ded.a referenced 5 more times

ld: error: undefined symbol: atan2

referenced by q_math.c q_math.c.o:(vectoangles) in archive libqcommon_ded.a referenced by q_math.c q_math.c.o:(vectoangles) in archive libqcommon_ded.a referenced by sv_game.c sv_game.c.o:(SV_GameSystemCalls) in archive libserver_ded.a

ld: error: undefined symbol: logf

referenced by q_math.c q_math.c.o:(Q_log2f) in archive libqcommon_ded.a

ld: error: undefined symbol: powf

referenced by q_math.c q_math.c.o:(Q_exp2f) in archive libqcommon_ded.a

ld: error: undefined symbol: acos

referenced by q_math.c q_math.c.o:(Q_acos) in archive libqcommon_ded.a

ld: error: undefined symbol: VM_Compile

referenced by vm.c vm.c.o:(VM_Create) in archive libqcommon_ded.a

ld: error: undefined symbol: VM_CallCompiled

referenced by vm.c vm.c.o:(VM_Call) in archive libqcommon_ded.a

ld: error: undefined symbol: tan

referenced by be_aas_reach.c be_aas_reach.c.o:(AAS_Reachability_Grapple) in archive libbotlib.a

ld: error: undefined symbol: floor

referenced by sv_game.c sv_game.c.o:(SV_GameSystemCalls) in archive libserver_ded.a

ld: error: undefined symbol: ceil

referenced by sv_game.c sv_game.c.o:(SV_GameSystemCalls) in archive libserver_ded.a cc: error: linker command failed with exit code 1 (use -v to see invocation) --- quake3e.ded --- *** [quake3e.ded] Error code 1

make[2]: stopped in /usr/home/vitek/Quake3e/build 1 error

make[2]: stopped in /usr/home/vitek/Quake3e/build --- CMakeFiles/quake3e.ded.dir/all --- *** [CMakeFiles/quake3e.ded.dir/all] Error code 2

make[1]: stopped in /usr/home/vitek/Quake3e/build --- CMakeFiles/qsdl.dir/all --- *** [CMakeFiles/qsdl.dir/all] Error code 6

make[1]: stopped in /usr/home/vitek/Quake3e/build 2 errors

make[1]: stopped in /usr/home/vitek/Quake3e/build *** [all] Error code 2

make: stopped in /usr/home/vitek/Quake3e/build 1 error

make: stopped in /usr/home/vitek/Quake3e/build

Heic0 commented 2 years ago

I fixed my problem ! CMakeLists.txt