Gast
#3413515
Moin, ich möchte rigol-ds2000-shell.cc von http://svn.clifford.at/handicraft/2013/rigol-ds2000-shell/ compilieren. Dazu wird die GNU readline library benötigt. In Zeile 64 von rltypedefs.h steht: typedef int rl_getc_func_t PARAMS((FILE *)); Dabei kommt es zu folgenden Fehlern: user_1@Ubuntu-Box:~/librevisa/rigol$ make g++ -c -o rigol-ds2000-shell.o rigol-ds2000-shell.cc In file included from /usr/local/include/readline/readline.h:36:0, from rigol-ds2000-shell.cc:22: /usr/local/include/readline/rltypedefs.h:64:28: error: typedef ‘rl_getc_func_t’ is initialized (use decltype instead) /usr/local/include/readline/rltypedefs.h:64:28: error: ‘FILE’ was not declared in this scope /usr/local/include/readline/rltypedefs.h:64:28: error: expected primary-expression before ‘)’ token In file included from rigol-ds2000-shell.cc:22:0: /usr/local/include/readline/readline.h:419:20: error: ‘FILE’ was not declared in this scope /usr/local/include/readline/readline.h:419:20: error: expected primary-expression before ‘)’ token /usr/local/include/readline/readline.h:542:8: error: ‘FILE’ does not name a type /usr/local/include/readline/readline.h:543:8: error: ‘FILE’ does not name a type /usr/local/include/readline/readline.h:565:8: error: ‘rl_getc_func_t’ does not name a type /usr/local/include/readline/readline.h:867:3: error: ‘FILE’ does not name a type /usr/local/include/readline/readline.h:868:3: error: ‘FILE’ does not name a type make: *** [rigol-ds2000-shell.o] Error 1 Falscher Compiler? Falsche Einstellungen?