ttyd error when make
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
termpkg (Ubuntu) |
Invalid
|
Undecided
|
Elliot Hughes |
Bug Description
pkg : termpkg_3.3
tar -xvzf termpkg....
cd termpkg_3.3
./configure
it create linux/
cd linux
make
set -e; for i in libtn termnet termnetd; do cd $i; make LEX="flex" CC="gcc" CFLAGS="-I../libtn -DLINUX -Wall" LIBS="-lfl" -f $i.mk; cd ..; done
make[1]: Entering directory `/home/
gcc -I../libtn -DLINUX -Wall -c -o SocketIO.o SocketIO.c
SocketIO.c:52: error: conflicting types for 'htons'
SocketIO.c:52: note: an argument type that has a default promotion can't match an empty parameter name list declaration
/usr/include/
make[1]: *** [SocketIO.o] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
root@prt01:
I used the .deb package rather this one thus I don't need to do the make.