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
Building latest git throws some undefined reference to some C functions from standard library.
[ 4%] Linking C shared library libSDL3_image.so /usr/local/bin/cmake -E cmake_link_script CMakeFiles/SDL3_image.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -Os -DNDEBUG -Wl,--no-undefined -shared -Wl,-soname,libSDL3_image.so.0 -o libSDL3_image.so.0.0.0 CMakeFiles/SDL3_image.dir/IMG.c.o CMakeFiles/SDL3_image.dir/IMG_WIC.c.o CMakeFiles/SDL3_image.dir/IMG_avif.c.o CMakeFiles/SDL3_image.dir/IMG_bmp.c.o CMakeFiles/SDL3_image.dir/IMG_gif.c.o CMakeFiles/SDL3_image.dir/IMG_jpg.c.o CMakeFiles/SDL3_image.dir/IMG_jxl.c.o CMakeFiles/SDL3_image.dir/IMG_lbm.c.o CMakeFiles/SDL3_image.dir/IMG_pcx.c.o CMakeFiles/SDL3_image.dir/IMG_png.c.o CMakeFiles/SDL3_image.dir/IMG_pnm.c.o CMakeFiles/SDL3_image.dir/IMG_qoi.c.o CMakeFiles/SDL3_image.dir/IMG_stb.c.o CMakeFiles/SDL3_image.dir/IMG_svg.c.o CMakeFiles/SDL3_image.dir/IMG_tga.c.o CMakeFiles/SDL3_image.dir/IMG_tif.c.o CMakeFiles/SDL3_image.dir/IMG_webp.c.o CMakeFiles/SDL3_image.dir/IMG_xcf.c.o CMakeFiles/SDL3_image.dir/IMG_xpm.c.o CMakeFiles/SDL3_image.dir/IMG_xv.c.o CMakeFiles/SDL3_image.dir/IMG_xxx.c.o -Wl,-z,origin,-rpath,/usr/local/lib: /usr/local/lib/libSDL3.so.0.0.0 /usr/local/lib/libjpeg.so.70.0 /usr/local/lib/libpng.so.18.0 /usr/lib/libz.so.7.0 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib ld: error: undefined symbol: setjmp >>> referenced by IMG_jpg.c >>> CMakeFiles/SDL3_image.dir/IMG_jpg.c.o:(IMG_LoadJPG_RW) >>> referenced by IMG_png.c >>> CMakeFiles/SDL3_image.dir/IMG_png.c.o:(IMG_LoadPNG_RW) >>> referenced by IMG_png.c >>> CMakeFiles/SDL3_image.dir/IMG_png.c.o:(IMG_SavePNG_RW_libpng) ld: error: undefined symbol: longjmp >>> referenced by IMG_jpg.c >>> CMakeFiles/SDL3_image.dir/IMG_jpg.c.o:(my_error_exit) >>> referenced by IMG_png.c >>> CMakeFiles/SDL3_image.dir/IMG_png.c.o:(IMG_LoadPNG_RW) >>> referenced by IMG_png.c >>> CMakeFiles/SDL3_image.dir/IMG_png.c.o:(IMG_SavePNG_RW_libpng) ld: error: undefined symbol: memset >>> referenced by IMG_svg.c >>> CMakeFiles/SDL3_image.dir/IMG_svg.c.o:(nsvg__initPaint) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error 1 in . (CMakeFiles/SDL3_image.dir/build.make:421 'libSDL3_image.so.0.0.0') *** Error 2 in . (CMakeFiles/Makefile2:83 'CMakeFiles/SDL3_image.dir/all') *** Error 2 in /home/markand/SDL_image-main/build (Makefile:136 'all')
I'll check what can cause the issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Building latest git throws some undefined reference to some C functions from standard library.
I'll check what can cause the issue.
The text was updated successfully, but these errors were encountered: