Description:
Compiling libedit fails on QNX 6.2.1 with the following error:
01926: ccache qcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I../.. -I../../include -I../../include -I./../.. -I.. -O3 -DDBUG_OFF -O1 -Wl,-E -c read.c
01927: read.c: In function `el_gets':
01928: read.c:481: `uint' undeclared (first use in this function)
01929: read.c:481: (Each undeclared identifier is reported only once
01930: read.c:481: for each function it appears in.)
01931: read.c:481: parse error before `cmdnum'
01932: read.c:550: continue statement not within a loop
01933: read.c:591: break statement not within loop or switch
01934: read.c: At top level:
01935: read.c:594: conflicting types for `term__flush'
01936: el_term.h:115: previous declaration of `term__flush'
01937: read.c:594: warning: data definition has no type or storage class
01938: read.c:596: parse error before `if'
01939: cc: /usr/lib/gcc-lib/ntox86/2.95.3/cc1 error 33
01940: make[3]: *** [read.o] Error 1
01941: make[3]: Leaving directory `/home/mysqldev/buildqnx2/mysqlcom-4.1.13/cmd-line-utils/libedit'
01942
How to repeat:
Compile a binary on QNX by using the "--with-libedit" compile option.