netcat compilation

Hello,

I try to compile Netcat on the QNX 4.25, but I have a couple of errors.

Any help is very appreciated.

Thanks

“Isabelle Roussel” <iroussel@sigma-techno.com> wrote in message
news:akglm9$nm1$1@inn.qnx.com

Hello,

I try to compile Netcat on the QNX 4.25, but I have a couple of errors.

Any help is very appreciated.

If you could start by giving a description of what Netcat is and what

are the exact couple of errors you`re seing, that would help!

Thanks

Visit http://freshmeat.net for the Netcat program.

The makefile of netcat have several os but QNX is not in the list. I try
with all os of the list but I have always a couple of errors.

There is my errors :

$ make generic
make -e nc XFLAGS=’-DGENERIC’ STATIC=
make[1]: Entering directory /home/yanick/pgmnetcat' cc -O -s -DGENERIC -o nc netcat.c /usr/watcom/10.6/bin/wcc386 -zq -oil -d+ -dGENERIC -ms -4r -i=/usr/watcom/10 ..6/u netcat.c(147): Error! E1022: Missing or misspelled data type near 'fd_set' netcat.c(148): Error! E1022: Missing or misspelled data type near 'fd_set' netcat.c(1327): Error! E1011: Symbol 'fd_set' has not been declared netcat.c(1327): Error! E1063: Missing operand netcat.c(1327): Warning! W101: Non-portable pointer conversion netcat.c(1327): Error! E1009: Expecting ';' but found 'Hmalloc' netcat.c(1327): Warning! W111: Meaningless use of an expression netcat.c(1328): Error! E1063: Missing operand netcat.c(1328): Warning! W101: Non-portable pointer conversion netcat.c(1328): Error! E1009: Expecting ';' but found 'Hmalloc' netcat.c(1328): Warning! W111: Meaningless use of an expression cc: /usr/watcom/10.6/bin/wcc386 exited 7 make[1]: *** [nc] Error 7 make[1]: Leaving directory /home/yanick/pgmnetcat’
make: *** [generic] Error 2

make qnx enabled in attached file

Isabelle Roussel wrote:

Visit > http://freshmeat.net > for the Netcat program.

The makefile of netcat have several os but QNX is not in the list. I try
with all os of the list but I have always a couple of errors.

There is my errors :

$ make generic
make -e nc XFLAGS=’-DGENERIC’ STATIC=
make[1]: Entering directory /home/yanick/pgmnetcat' cc -O -s -DGENERIC -o nc netcat.c /usr/watcom/10.6/bin/wcc386 -zq -oil -d+ -dGENERIC -ms -4r -i=/usr/watcom/10 .6/u netcat.c(147): Error! E1022: Missing or misspelled data type near 'fd_set' netcat.c(148): Error! E1022: Missing or misspelled data type near 'fd_set' netcat.c(1327): Error! E1011: Symbol 'fd_set' has not been declared netcat.c(1327): Error! E1063: Missing operand netcat.c(1327): Warning! W101: Non-portable pointer conversion netcat.c(1327): Error! E1009: Expecting ';' but found 'Hmalloc' netcat.c(1327): Warning! W111: Meaningless use of an expression netcat.c(1328): Error! E1063: Missing operand netcat.c(1328): Warning! W101: Non-portable pointer conversion netcat.c(1328): Error! E1009: Expecting ';' but found 'Hmalloc' netcat.c(1328): Warning! W111: Meaningless use of an expression cc: /usr/watcom/10.6/bin/wcc386 exited 7 make[1]: *** [nc] Error 7 make[1]: Leaving directory /home/yanick/pgmnetcat’
make: *** [generic] Error 2

Thank you, I succeeded in compiling Netcat!

“Stepan Hejny” <sh@aveco.com> a écrit dans le message news:
akkmq5$nsq$1@inn.qnx.com

make qnx enabled in attached file

Isabelle Roussel wrote:
Visit > http://freshmeat.net > for the Netcat program.

The makefile of netcat have several os but QNX is not in the list. I
try
with all os of the list but I have always a couple of errors.

There is my errors :

$ make generic
make -e nc XFLAGS=’-DGENERIC’ STATIC=
make[1]: Entering directory `/home/yanick/pgmnetcat’
cc -O -s -DGENERIC -o nc netcat.c

/usr/watcom/10.6/bin/wcc386 -zq -oil -d+ -dGENERIC -ms -4r -i=/usr/watcom/10
.6/u
netcat.c(147): Error! E1022: Missing or misspelled data type near
‘fd_set’
netcat.c(148): Error! E1022: Missing or misspelled data type near
‘fd_set’
netcat.c(1327): Error! E1011: Symbol ‘fd_set’ has not been declared
netcat.c(1327): Error! E1063: Missing operand
netcat.c(1327): Warning! W101: Non-portable pointer conversion
netcat.c(1327): Error! E1009: Expecting ‘;’ but found ‘Hmalloc’
netcat.c(1327): Warning! W111: Meaningless use of an expression
netcat.c(1328): Error! E1063: Missing operand
netcat.c(1328): Warning! W101: Non-portable pointer conversion
netcat.c(1328): Error! E1009: Expecting ‘;’ but found ‘Hmalloc’
netcat.c(1328): Warning! W111: Meaningless use of an expression
cc: /usr/watcom/10.6/bin/wcc386 exited 7
make[1]: *** [nc] Error 7
make[1]: Leaving directory `/home/yanick/pgmnetcat’
make: *** [generic] Error 2

\

Is this normal that when I type “netcat - h”, the application doesn’t do
anything ?

I should have some help on the command of Netcat.

next try

Isabelle Roussel wrote:

Is this normal that when I type “netcat - h”, the application doesn’t do
anything ?

I should have some help on the command of Netcat.



\