From mboxrd@z Thu Jan 1 00:00:00 1970 From: ram To: gcc-help@gcc.gnu.org Subject: help needed Date: Sat, 13 Oct 2001 00:36:00 -0000 Message-id: <2166516A9A4ED511AE100050BA88392E08A1@MAIL> X-SW-Source: 2001-10/msg00115.html hi I have a C progam written for DEC UNIX. I am unable to compile this on Redhat linux with gcc version gcc-2.96-81 . I get following errors itfrecv.c: In function `ack_funct': itfrecv.c:389: too few arguments to function `send' itfrecv.c: In function `errlog': itfrecv.c:422: warning: passing arg 3 of `write' makes integer from pointer without a cast the lines are as below 389 send(sockfd, buffer, strlen(buffer)); 422 write(fd, buffer, index); what should I change to make the program compile with gcc. Your help will be highly appreciated. thanx Ram