all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matto Fransen <matto@matto.nl>
To: emacs-devel@gnu.org
Subject: make bootstrap crashes on incompatible integer to pointer conversion
Date: Tue, 03 Dec 2024 16:23:35 +0000	[thread overview]
Message-ID: <86o71spwfs.fsf@emacsjail.tradesystem.nl> (raw)

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



             reply	other threads:[~2024-12-03 16:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 16:23 Matto Fransen [this message]
2024-12-03 17:01 ` make bootstrap crashes on incompatible integer to pointer conversion Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o71spwfs.fsf@emacsjail.tradesystem.nl \
    --to=matto@matto.nl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.