Compiling netcat on AIX

Posted by A.Rashad on Stack Overflow See other posts from Stack Overflow or by A.Rashad
Published on 2010-05-22T10:30:30Z Indexed on 2010/05/22 10:50 UTC
Read the original article Hit count: 469

Filed under:
|
|
|

I have been trying to compile netcat.c on AIX for some time (using the command make aix), but the compiler gives me some weird feedback such as :

"netcat.c", line 117.12: 1506-275 (S) Unexpected text 'int' encountered.

when checked the file netcat.c at line 117, I would find the line (second line in code below):

#ifdef HAVE_BIND
extern int h_errno;
/* stolen almost wholesale from bsd herror.c */

even if I changed the int into char for the same of testing, save the file and re-run the command I get the same error

am I missing something in reading the error code?

© Stack Overflow or respective owner

Related posts about c

    Related posts about makefile