once taken that stat/stat64 appart, histedit appears to be a minefield: usr/dash/histedit.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token usr/dash/histedit.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token usr/dash/histedit.c: In function ‘histedit’: usr/dash/histedit.c:82: error: ‘hist’ undeclared (first use in this function) usr/dash/histedit.c:82: error: (Each undeclared identifier is reported only once usr/dash/histedit.c:82: error: for each function it appears in.) usr/dash/histedit.c:87: warning: implicit declaration of function ‘history_init’ usr/dash/histedit.c:95: error: ‘el’ undeclared (first use in this function) usr/dash/histedit.c:111: warning: implicit declaration of function ‘el_init’ usr/dash/histedit.c:114: warning: implicit declaration of function ‘el_set’ usr/dash/histedit.c:114: error: ‘EL_HIST’ undeclared (first use in this function) usr/dash/histedit.c:114: error: ‘history’ undeclared (first use in this function) usr/dash/histedit.c:115: error: ‘EL_PROMPT’ undeclared (first use in this function) usr/dash/histedit.c:123: warning: implicit declaration of function ‘el_end’ usr/dash/histedit.c:129: error: ‘EL_EDITOR’ undeclared (first use in this function) usr/dash/histedit.c:132: warning: implicit declaration of function ‘el_source’ usr/dash/histedit.c:141: warning: implicit declaration of function ‘history_end’ usr/dash/histedit.c: In function ‘sethistsize’: usr/dash/histedit.c:153: error: ‘HistEvent’ undeclared (first use in this function) usr/dash/histedit.c:153: error: expected ‘;’ before ‘he’ usr/dash/histedit.c:155: error: ‘hist’ undeclared (first use in this function) usr/dash/histedit.c:159: warning: implicit declaration of function ‘history’ usr/dash/histedit.c:159: error: ‘he’ undeclared (first use in this function) usr/dash/histedit.c:159: error: ‘H_SETSIZE’ undeclared (first use in this function) usr/dash/histedit.c: In function ‘setterm’: usr/dash/histedit.c:166: error: ‘el’ undeclared (first use in this function) usr/dash/histedit.c:167: error: ‘EL_TERMINAL’ undeclared (first use in this function) usr/dash/histedit.c: In function ‘histcmd’: usr/dash/histedit.c:182: error: ‘HistEvent’ undeclared (first use in this function) usr/dash/histedit.c:182: error: expected ‘;’ before ‘he’ usr/dash/histedit.c:191: error: ‘MAXPATHLEN’ undeclared (first use in this function) usr/dash/histedit.c:209: error: ‘hist’ undeclared (first use in this function) usr/dash/histedit.c:218: error: ‘optreset’ undeclared (first use in this function) usr/dash/histedit.c:332: error: ‘H_PREV’ undeclared (first use in this function) usr/dash/histedit.c:332: error: ‘H_NEXT’ undeclared (first use in this function) usr/dash/histedit.c:341: warning: implicit declaration of function ‘mkstemp’ usr/dash/histedit.c:357: error: ‘he’ undeclared (first use in this function) usr/dash/histedit.c:357: error: ‘H_FIRST’ undeclared (first use in this function) usr/dash/histedit.c:358: error: ‘H_NEXT_EVENT’ undeclared (first use in this function) usr/dash/histedit.c:380: error: ‘H_ENTER’ undeclared (first use in this function) usr/dash/histedit.c:191: warning: unused variable ‘editfile’ usr/dash/histedit.c: In function ‘str_to_event’: usr/dash/histedit.c:447: error: ‘HistEvent’ undeclared (first use in this function) usr/dash/histedit.c:447: error: expected ‘;’ before ‘he’ usr/dash/histedit.c:452: error: ‘hist’ undeclared (first use in this function) usr/dash/histedit.c:452: error: ‘he’ undeclared (first use in this function) usr/dash/histedit.c:452: error: ‘H_FIRST’ undeclared (first use in this function) usr/dash/histedit.c:464: error: ‘H_NEXT’ undeclared (first use in this function) usr/dash/histedit.c:467: error: ‘H_LAST’ undeclared (first use in this function) usr/dash/histedit.c:469: error: ‘H_NEXT_EVENT’ undeclared (first use in this function) usr/dash/histedit.c:486: error: ‘H_PREV_STR’ undeclared (first use in this function) make[2]: *** [usr/dash/histedit.o] Error 1 make[1]: *** [all] Error 2 make: *** [klibc] Error 2 this happens on top of the 2 patches sent earlier and is easy to reproduce: git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git make KLIBCKERNELSRC=`pwd`/../linux-2.6 EXTRA_KLIBCCFLAGS="-DDEBUG=1" -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html