Mercurial > emacs
comparison etc/PROBLEMS @ 77815:ab566d842488
Undo last change because Debian fixed their bug.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 27 May 2007 02:23:53 +0000 |
parents | 9186959f5466 |
children | 91d0311ee2cc 648e6c714c7d |
comparison
equal
deleted
inserted
replaced
77814:661f67dcd827 | 77815:ab566d842488 |
---|---|
2450 | 2450 |
2451 This results from a bug in a VERY old version of GNU Sed. To solve | 2451 This results from a bug in a VERY old version of GNU Sed. To solve |
2452 the problem, install the current version of GNU Sed, then rerun | 2452 the problem, install the current version of GNU Sed, then rerun |
2453 Emacs's configure script. | 2453 Emacs's configure script. |
2454 | 2454 |
2455 *** Compiling on GNU/Linux fails due to a missing left operand in gnu-linux.h. | |
2456 | |
2457 The error messages have the form: | |
2458 | |
2459 ../src/s/gnu-linux.h:49:24: error: operator '>' has no left operand | |
2460 | |
2461 This error occurs because your system defines LINUX_VERSION_CODE in | |
2462 the standard header file linux/version.h but does not give it a value. | |
2463 As a workaround, you can edit the file src/s/gnu-linux.h to add the | |
2464 needed definition. On the line after "#include <linux/version.h>", | |
2465 add a line as shown below: | |
2466 | |
2467 #include <linux/version.h> | |
2468 #define LINUX_VERSION_CODE 132626 | |
2469 | |
2470 The number to use depends on your kernel version (the example shown is | |
2471 for kernel 2.6.18). The number can be obtained by running the | |
2472 following command in the shell: | |
2473 | |
2474 uname -r | sed -e 's/\./ /g' -e 's/-.*//' | awk '{print $1*(2^16) + $2*(2^8) + $3}' | |
2475 | |
2476 *** Building a 32-bit executable on a 64-bit GNU/Linux architecture. | 2455 *** Building a 32-bit executable on a 64-bit GNU/Linux architecture. |
2477 | 2456 |
2478 First ensure that the necessary 32-bit system libraries and include | 2457 First ensure that the necessary 32-bit system libraries and include |
2479 files are installed. Then use: | 2458 files are installed. Then use: |
2480 | 2459 |