Problem compiling emacs 23.4.1 on Ubuntu 20.0.4.2 LTS

Viewed 11

I followed the instructions in INSTALL for dependency installation and configuration. Then, after make, I get these errors:

In file included from ./config.h:1074,
                 from dispnew.c:21:
dispnew.c: In function ‘update_frame_1’:
./s/gnu-linux.h:164:10: error: ‘FILE’ {aka ‘struct _IO_FILE’} has no member named ‘_pptr’
  164 |   ((FILE)->_pptr - (FILE)->_pbase)
      |          ^~
dispnew.c:89:30: note: in expansion of macro ‘GNU_LIBRARY_PENDING_OUTPUT_COUNT’
   89 | #define PENDING_OUTPUT_COUNT GNU_LIBRARY_PENDING_OUTPUT_COUNT
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispnew.c:5384:16: note: in expansion of macro ‘PENDING_OUTPUT_COUNT’
 5384 |     int outq = PENDING_OUTPUT_COUNT (display_output);
      |                ^~~~~~~~~~~~~~~~~~~~
./s/gnu-linux.h:164:26: error: ‘FILE’ {aka ‘struct _IO_FILE’} has no member named ‘_pbase’
  164 |   ((FILE)->_pptr - (FILE)->_pbase)
      |                          ^~
dispnew.c:89:30: note: in expansion of macro ‘GNU_LIBRARY_PENDING_OUTPUT_COUNT’
   89 | #define PENDING_OUTPUT_COUNT GNU_LIBRARY_PENDING_OUTPUT_COUNT
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dispnew.c:5384:16: note: in expansion of macro ‘PENDING_OUTPUT_COUNT’
 5384 |     int outq = PENDING_OUTPUT_COUNT (display_output);

How do I get past these errors?

0 Answers
Related