Emacs 19.34 on linux 2.2.15

Emacs 19.34 on linux 2.2.15

Post by Alain VALLETO » Sun, 31 Dec 1899 09:00:00



Hello,

I would like to compile GNU EMacs 19.34 (yes I know, it is quite old (1996), but I
really dislike Emacs 20.x) on Linux 2.2.15, but compilation fails:

In file included from /home/tools/build/emacs-19.34/lib-src/movemail.c:95:
/usr/include/unistd.h:567: parse error before `('
/usr/include/unistd.h:567: parse error before `__pgrp'

Has anybody been experiencing this kind of trouble before?

If so, I'd really appreciate some help :o)

Thanks and have nice day,

 
 
 

Emacs 19.34 on linux 2.2.15

Post by Alain VALLETO » Sun, 31 Dec 1899 09:00:00



> Hello,

> I would like to compile GNU EMacs 19.34 (yes I know, it is quite old (1996), but I
> really dislike Emacs 20.x) on Linux 2.2.15, but compilation fails:

> In file included from /home/tools/build/emacs-19.34/lib-src/movemail.c:95:
> /usr/include/unistd.h:567: parse error before `('
> /usr/include/unistd.h:567: parse error before `__pgrp'

> Has anybody been experiencing this kind of trouble before?

> If so, I'd really appreciate some help :o)

> Thanks and have nice day,

 I finally found a simple way to build emacs 19.34 on Linux 2.2.15, so here is a
small patch:

diff -ruN emacs-19.34/src/gmalloc.c emacs-19.34c/src/gmalloc.c
--- emacs-19.34/src/gmalloc.c   Tue Aug 13 03:12:21 1996

 #if defined (__GNU_LIBRARY__) || defined (_LIBC)
 #include <stddef.h>
 #include <sys/cdefs.h>
-extern size_t __getpagesize __P ((void));
 #else
 #include "getpagesize.h"
 #define         __getpagesize()        getpagesize()
diff -ruN emacs-19.34/src/s/gnu-linux.h emacs-19.34c/src/s/gnu-linux.h
--- emacs-19.34/src/s/gnu-linux.h       Tue Jul 16 04:17:05 1996

 #ifdef TERM
 #define LIBS_SYSTEM -lclient
-#define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term
+#define C_SWITCH_SYSTEM -I/usr/src/term
 #else

    since libc-4.4.1.  So -lipc was deleted.  */
 #define LIBS_SYSTEM
-#define C_SWITCH_SYSTEM -D_BSD_SOURCE
+#define C_SWITCH_SYSTEM
 #endif



 
 
 

1. Feedback on 2.2.15 (wasRe: Kernel Stable: 2.2.15pre4 )

I've been trying the 2.2.15 prereleases, and so far they seem great.
2.2.15 pre 4 (subjectively speaking) made my system much zippier
than 2.2.13/4 and 2.2.15 pre 5 which I built last night, feels
faster still (and apparently has some rather neat debug code to
trap bad application memory use/kernel bugs).

So overall I'm very pleased. Many thanks to Alan and the guys who've
been working on the VM stuff. It feels great for me.

BTW I'm running this on Mandrake 6.1, Cyrix 6x86 MX 300, 64MB RAM.

Like I say, 2.2.15 feels like it's shaping up to be the best 2.2 kernel
yet by a significant margin (to me at least!)
Mike



Sent via Deja.com http://www.deja.com/
Before you buy.

2. Obtaining an Internet Address?

3. porting kernel module from linux 2.2.15 to linux 2.4.2

4. accentuated characters with KDE editors

5. MDK 7.1 - linux 2.2.15-4 - iproute ??

6. netscape Applications don't work !?

7. Weird "route add" issue with PPP over ssh linux 2.2.15

8. Unix C++

9. AWE64, Debian 2.1, Linux 2.2.15 - device busy error

10. PCMCIA Via SCSI desktop slots and Linux 2.2.15 +

11. Linux 2.2.15 has problem with config

12. compiling emacs 19.34 on glibc2 Linux machines

13. Emacs 19.34 problems compiling in Linux