I compiled netcat for AIX 5.3 using GCC 4.6. I put a typecast on the getsockname calls (sockllen_t *) to avoid warnings and had to change each occurrence of "rem_addr" because it seems to conflict with a gcc keyword. A change to "rmt_adr" worked fine in files core.c and network.c.
The rem_addr problem is a trap for young players who have not come up against similar conflicts with gcc in the past.
Log in to post a comment.