all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* make bootstrap crashes on incompatible integer to pointer conversion
@ 2024-12-03 16:23 Matto Fransen
  2024-12-03 17:01 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Matto Fransen @ 2024-12-03 16:23 UTC (permalink / raw)
  To: emacs-devel

Hi,

I am trying to compile Emacs on FreeBSD 14-2 with the latest source from
Git.

These are the first steps:

git pull
git clean -dxf
./autogen.sh
./configure --with-x-toolkit=lucid 
make bootstrap


make boostrap crashes on image.c:

image.c:12358:12: warning: call to undeclared function 'rsvg_handle_get_pixbuf_and_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);
       |            ^
image.c:12358:10: error: incompatible integer to pointer conversion assigning to 'GdkPixbuf *' (aka 'struct _GdkPixbuf *') from 'int' [-Wint-conversion]
 12358 |   pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);


This doesn't depend on the x-toolkit: either --with-x-toolkit=lucid,
--with-x-toolkit=gtk3, --with-x-toolkit=gtk2, or --with-x-toolkit=no
result in the same error.

It builds fine when configured with: --with-x-toolkit=lucid --without-rsvg

Best regards,

Matto



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-03 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 16:23 make bootstrap crashes on incompatible integer to pointer conversion Matto Fransen
2024-12-03 17:01 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.