unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compilation failure in xterm.c
@ 2022-05-25  0:38 Bob Rogers
  0 siblings, 0 replies; only message in thread
From: Bob Rogers @ 2022-05-25  0:38 UTC (permalink / raw)
  To: Emacs devel

[-- 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-25  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  0:38 Compilation failure in xterm.c Bob Rogers

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).