Während der Kompilierung von screen habe ich den folgenden Fehler bekommen:
In file included from screen.h:41,
from screen.c:81:
sched.h:26: error: redefinition of 'struct event'
make: *** [screen.o] Error 1
Der folgende Patch behebt das ganze:
diff -urN screen-4.0.3-orig/sched.h screen-4.0.3/sched.h --- screen-4.0.3-orig/sched.h 2002-01-08 16:42:43.000000000 +0100 +++ screen-4.0.3/sched.h 2009-01-13 14:53:15.000000000 +0100 @@ -22,6 +22,10 @@ * $Id: sched.h,v 1.1.1.1 1993/06/16 23:51:13 jnweiger Exp $ FAU */ +#ifndef _SCHED_H_ +#define _SCHED_H_ 1 +#include <sys/types.h> + struct event { struct event *next; @@ -41,3 +45,4 @@ #define EV_READ 1 #define EV_WRITE 2 #define EV_ALWAYS 3 +#endif
Dieser Patch kann mit “patch -p1
Related posts:
- Fehler während der Kompilierung von flac: “‘memcmp’ was not declared in this scope”
- Fatal error: Error: cannot open phar “/to/php-5.2.10/pear/install-pear-nozlib.phar” in /to/php-5.2.10/pear/install-pear-nozlib.phar on line 795
- “(20014)Internal error: Version mismatch in ‘svn_delta’: found 1.5.0-rc4, expected 1.5.0-rc5″ lösen
- /tmp meldet ‘no space on device’ während gcc-Lauf in ‘make’
- favicon.ico Fehler in den Apache Logs entfernen
This feed is for personal, non-commercial use only.
The use of this feed on other websites without attribution to the author and notification of the author breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: d2a576b5311479d89eff39b7ca886f6b)