compile bitchx from source problem on FC3

Colin Charles lists at bytebot.net
Tue Nov 23 15:20:54 UTC 2004


On Thu, 2004-11-18 at 10:28 +0100, Carlo Orecchia wrote:
> gcc -I. -I/root/BitchX/include -I../include -I. -I./include -g -O2 -Wall
> -c ./term.c
> ./term.c:95: error: conflicting types for 'tparm'
> ./term.c:95: note: a parameter list with an ellipsis can't match an empty
> parameter name list declaration

Go there and fix term.c on line 95

> /usr/include/ncurses.h:717: error: previous declaration of 'tparm' was
> here

tparm is declared in ncurses

> ./term.c:95: error: conflicting types for 'tparm'
> ./term.c:95: note: a parameter list with an ellipsis can't match an empty
> parameter name list declaration
> /usr/include/ncurses.h:717: error: previous declaration of 'tparm' was
> here
> ./term.c: In function `term_init':
> ./term.c:870: warning: passing arg 1 of `tigetnum' discards qualifiers
> from pointer target type
> ./term.c:875: warning: passing arg 1 of `tigetflag' discards qualifiers
> from pointer target type
> ./term.c:882: warning: passing arg 1 of `tigetstr' discards qualifiers
> from pointer target type
> ./term.c:880: warning: unused variable `tmp'

More code in term.c needs fixing

> gmake[1]: *** [term.o] Error 1
> gmake[1]: Leaving directory `/root/BitchX/source'
> gmake: *** [BitchX] Error 2

Compiling as user root, is not a wise choise

File a bug report with the BitchX folk
-- 
Colin Charles, byte at aeon.com.my
http://www.bytebot.net/
"First they ignore you, then they laugh at you, then they fight you, 
then you win." -- Mohandas Gandhi




More information about the fedora-list mailing list