ttyd error when make

Bug #49119 reported by JC
4
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/info/termpkg-3.3/linux/libtn'
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/netinet/in.h:360: error: previous declaration of 'htons' was here
make[1]: *** [SocketIO.o] Error 1
make[1]: Leaving directory `/home/info/termpkg-3.3/linux/libtn'
make: *** [all] Error 2
root@prt01:/home/info/termpkg-3.3/linux#

Revision history for this message
JC (jcvoyeux) wrote :

I used the .deb package rather this one thus I don't need to do the make.

Revision history for this message
Elliot Hughes (elliot-hughes) wrote :

Hello, JC. Thank you for your bug report. I will need some further information from you as well as verification that this bug still occurs. I will need to know your GCC version, whether you got the source from the repositories (apt-get source) and which version of Ubuntu you are running. Thanks.

Changed in termpkg:
assignee: nobody → elliot-hughes
status: Unconfirmed → Needs Info
Revision history for this message
Elliot Hughes (elliot-hughes) wrote :

Hi,
I will now be closing this bug report due to lack of response on my request for information. If you have any further information please reopen it.

Changed in termpkg:
status: Needs Info → Rejected
Revision history for this message
JC (jcvoyeux) wrote : RE: [Bug 49119] Re: ttyd error when make

Hi,

I'm sorry but I sent my post more than 4 month ago. I don't remember exactly
what I wrote and, since, I have changed of company.

I tryed to use ttyd to connect a printer to my linux via ethernet to serial
device.
My thirst problem was the Telnet protocol disturb the connection. Telnet
strings are sent directly to the printer.

How can I remove telnet controls ?

The second was that the flux controls don't work when I send a big document.

What can I use to connect a serial printer to linux server via ethernet
connection ?

Thank you,

Jean-Christophe

>From: Elliot Hughes <email address hidden>
>Reply-To: Bug 49119 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 49119] Re: ttyd error when make
>Date: Sun, 14 Jan 2007 10:49:57 -0000
>
>Hi,
>I will now be closing this bug report due to lack of response on my request
>for information. If you have any further information please reopen it.
>
>
>** Changed in: termpkg (Ubuntu)
> Status: Needs Info => Rejected
>
>--
>ttyd error when make
>https://launchpad.net/bugs/49119

_________________________________________________________________
Qui est-ce qui est très apprécié des Japonais et a toujours quelque chose
entre les mains? Live Search le sait et vous ?
http://search.live.com/images/results.aspx?q=Manneken%20pis&FORM=BIRE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.