Can't compile emacs-19.34b (gcc2.7.2.1 and libc5.4.17)

Can't compile emacs-19.34b (gcc2.7.2.1 and libc5.4.17)

Post by R. Bernste » Tue, 31 Dec 1996 04:00:00

   gives me the same exact error :

   gcc -c -D_BSD_SOURCE    -DHAVE_CONFIG_H    -I. -I../src
   -I/mnt/emacs-19.34/lib-src -I/mnt/emacs-19.34/lib-src/../src  -g -O
   -Demacs  /mnt/emacs-19.34/lib-src/movemail.c
   In file included from ../src/config.h:227,
                    from /mnt/emacs-19.34/lib-src/movemail.c:58:
    ../src/s/gnu-linux.h:47: parse error
   make[1]: *** [movemail.o] Error 1
   make[1]: Leaving directory `/mnt/emacs-19.34/lib-src'
   make: *** [lib-src] Error 2

   On line 47 of gnu-linux.h is :

   #if LINUX_VERSION_CODE > 0x10200
   I also saw the same kind of errors in eepro100.c

   .... I would  really like some clues.

What's the value of LINUX_VERSION_CODE? "gcc -dD -E" will show
you. Here's a small program that gives the same error message.

#define fx now is the time
#if fx > 0x10200


1. Compiling EMACS 19.34b For Solaris 2.5


I am running into various problems trying to compile EMACS version 19.34b
for Solaris 2.5.  The configure options that I used are:


On my first attempt, "lib-src/profile.c" aborted with an error because of
"gettimeofday".  I corrected the problem by adding the following to

        #define HAVE_GETTIMEOFDAY 1

It successfully compiled up to "src/sysdep.c" where it is now complaining
that 'dpath' and 'dmode' don't mach the prototypes, and the variable
'x_windows_lose_if_no_select_system_call' is undeclared.

Can someone explain why I am running into so many problems?  Some relevant
info is:

        * emacs-19.34b
        * gcc-
        * binutils-2.7
        * make-3.75
        * Solaris 2.5


              Department of Electrical and Computer Engineering
                   Concordia University, Montreal, Canada

2. Advice Sought, what to ru

3. Problems compiling Emacs 19.34b

4. single user CD/net question

5. Problems compiling emacs 19.34b on Linux

6. failure of make mrproper

7. 2.5.1 emacs-19.30, emacs-19.31

8. can active shared memory segments be paged out ?

9. : Emacs-19.19 can't find term file

10. Compiling emacs-19.34 and xcd won't see X

11. Compiling emacs-19.17 with a fresh SLS-1.03 install (don't work...)

12. Emacs 19.34b and Openserver 5

13. glibc 2.1.2 + emacs 19.34b build fails: "__pgrp parsing error"