[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE]
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE] |
Date: |
Wed, 23 May 2007 20:15:17 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Chong Yidong <cyd> 07/05/23 20:15:17
Index: PROBLEMS
===================================================================
RCS file: /cvsroot/emacs/emacs/etc/PROBLEMS,v
retrieving revision 1.223.2.8
retrieving revision 1.223.2.9
diff -u -b -r1.223.2.8 -r1.223.2.9
--- PROBLEMS 23 May 2007 20:10:04 -0000 1.223.2.8
+++ PROBLEMS 23 May 2007 20:15:17 -0000 1.223.2.9
@@ -2452,6 +2452,27 @@
the problem, install the current version of GNU Sed, then rerun
Emacs's configure script.
+*** Compiling on GNU/Linux fails due to a missing left operand in gnu-linux.h.
+
+The error messages have the form:
+
+ ../src/s/gnu-linux.h:49:24: error: operator '>' has no left operand
+
+This error occurs because your system defines LINUX_VERSION_CODE in
+the standard header file linux/version.h but does not give it a value.
+As a workaround, you can edit the file src/s/gnu-linux.h to add the
+needed definition. On the line after "#include <linux/version.h>",
+add a line as shown below:
+
+#include <linux/version.h>
+#define LINUX_VERSION_CODE 132626
+
+The number to use depends on your kernel version (the example shown is
+for kernel 2.6.18). The number can be obtained by running the
+following command in the shell:
+
+uname -r | sed -e 's/\./ /g' -e 's/-.*//' | awk '{print $1*(2^16) + $2*(2^8) +
$3}'
+
*** Building a 32-bit executable on a 64-bit GNU/Linux architecture.
First ensure that the necessary 32-bit system libraries and include
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Glenn Morris, 2007/05/17
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Glenn Morris, 2007/05/17
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Glenn Morris, 2007/05/18
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Chong Yidong, 2007/05/21
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Chong Yidong, 2007/05/21
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Chong Yidong, 2007/05/23
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE],
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v [EMACS_22_BASE], Richard M. Stallman, 2007/05/26