Found the bug: I had configured --with-png=yes but the includes for png in CFLAGS was pointing to the wrong place. I recently moved /usr/local/include/png to /usr/local/include/libpng16 and forgot to change CFLAGS and LDFLAGS for GraphicsMagick accordingly. Strange anyhow, no error for missing png-includes or png-libs, the missleading missing of vsnprintf was reported instead. I still not figured out the exact cause of this. The logic inside configure is complicated as GraphicsMagick works at so...
I shortened it to /usr/bin/cc -I. -pipe magick/draw.c -o magick/.libs/libGraphicsMagick_la-draw.o and got magick/draw.c: In function 'MvgPrintf': magick/draw.c:447:6: error: #error Neither vsnprintf or vsprintf is available. 447 | # error Neither vsnprintf or vsprintf is available. | ^~~~~ magick/draw.c: In function 'MvgAutoWrapPrintf': magick/draw.c:496:6: error: #error Neither vsnprintf or vsprintf is available. 496 | # error Neither vsnprintf or vsprintf is available. | ^~~~~ But the vsprinf.c...
Bob, thanky you for your answer. Strange thing: fgrep VSNPRINTF magick/.h outputs magick/magick_config.h:#define HAVE_DECL_VSNPRINTF 1 magick/magick_config.h:/ #undef HAVE_VSNPRINTF */ magick/nt_base.h:#define HAVE_VSNPRINTF 1 magick/studio.h:# define HAVE_VSNPRINTF 1 magick/studio.h:#if defined(HAVE_VSNPRINTF) && defined(HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF So configure says I have vsnprintf, I assume it used gcc to verify this. But afterwards gcc does not know it anymore, gcc works correct...
I got magick/draw.c:496:6 " error: #error Neither vsnprintf or vsprintf is available." with GraphicsMagick-1.3.39 and /raphicsMagick-1.3.38 I have no idea what I am missing. linux x86_64, gcc version 11.3.1 20221223, current glibc and binutils. Any help appreciated.
I got " error: #error Neither vsnprintf or vsprintf is available." with GraphicsMagick-1.3.39. I have no idea what I am missing. linux x86_64, gcc version 11.3.1 20221223, current glibc and binutils. Any help appreciated.
I have a working linux system on a disk (mbr) with syslinux as its bootloader. Now I have a new motherboard that boots uefi only, otherwise the graphics-card (built in an amd cpu) does not work. So no graphics output in csm compatibility mode. Can I use refind (installed to an usb-flashdrive) to boot this disk/linux-system from of the new motherboard?