unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bob Rogers <rogers-emacs@rgrjr.homedns.org>
To: Emacs devel <emacs-devel@gnu.org>
Subject: Compilation failure in xterm.c
Date: Tue, 24 May 2022 20:38:31 -0400	[thread overview]
Message-ID: <25229.31367.843434.772270@orion.rgrjr.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown, Size: 4850 bytes --]

   I found the compilation error shown below just now (on openSUSE Leap
15.3 GNU/Linux) in c00ffe263d9ffeb4d2a5e13cc124c786152137db of master,
which I think could be due to an extra "}" in x_term_init, but is beyond
my poor C skills to pin down.

					-- Bob Rogers
					   http://www.rgrjr.com/

------------------------------------------------------------------------
rogers@scorpio> make
make -C lib all
make[1]: Entering directory '/scratch/rogers/emacs/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/scratch/rogers/emacs/lib'
make -C lib-src all
make[1]: Entering directory '/scratch/rogers/emacs/lib-src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/scratch/rogers/emacs/lib-src'
make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' BIN_DESTDIR=''/usr/local/bin/'' \
	 ELN_DESTDIR='/usr/local/lib64/emacs/29.0.50/' all
make[1]: Entering directory '/scratch/rogers/emacs/src'
  CC       xterm.o
xterm.c: In function  x_term_init :
xterm.c:24722:43: error:  term  undeclared (first use in this function)
     = Fx_display_monitor_attributes_list (term);
                                           ^
xterm.c:24722:43: note: each undeclared identifier is reported only once for each function it appears in
Makefile:421: recipe for target 'xterm.o' failed
make[1]: *** [xterm.o] Error 1
make[1]: Leaving directory '/scratch/rogers/emacs/src'
Makefile:469: recipe for target 'src' failed
make: *** [src] Error 2
rogers@scorpio> 

From configure output:

Configured for 'x86_64-pc-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -std=gnu11 -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK2
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -lpng16 
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use -lwebp?                                  no
  Does Emacs use -lsqlite3?                               no
  Does Emacs use cairo?                                   yes
  Does Emacs use -llcms2?                                 no
  Does Emacs use imagemagick?                             no
  Does Emacs use native APIs for images?                  no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  no
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               no
  Does Emacs use -ljansson?                               no
  Does Emacs use the GMP library?                         no
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets?                            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper
  Does Emacs have native lisp compiler?                   no
  Does Emacs use version 2 of the the X Input Extension?  no



                 reply	other threads:[~2022-05-25  0:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=25229.31367.843434.772270@orion.rgrjr.com \
    --to=rogers-emacs@rgrjr.homedns.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).