[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Compile error in HTTCP.C
From: |
David L. Watson |
Subject: |
LYNX-DEV Compile error in HTTCP.C |
Date: |
9 Jan 97 14:20:00 MST |
I down loaded the LYNX2-6FM.ZIP file dated 7-JAN-1997, and when I did the build
I got the following errors. All other modules compiled OK.
+++++++++++++++
$ cc [-.Implementation]HTTCP.c
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-E-UNDECLARED, "s" is not declared within the scope of
this usage.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-E-UNDECLARED, "soc_address" is not declared within the scope of
this usage.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-E-UNDECLARED, "soc_address" is not declared within the scope of
this usage.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-W-MISARGNUMBER, The number of arguments passed to the function does not
match the number declared in a previous function prototype.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
status = connect(*s, (struct sockaddr*)&soc_address,
sizeof(soc_address));
%CC-W-INVALINIT, The initialization of "status" is not valid.
Listing line number 8616.
At line number 711 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
if ((status < 0) &&
%CC-W-IGNORED, Unexpected reserved word "if" ignored.
Listing line number 8635.
At line number 730 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
if ((status < 0) &&
%CC-E-SYNTAXERROR, Found "<" when expecting
one of { "(" ")" "[" }.
Listing line number 8635.
At line number 730 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
#endif /* SVR4_BSDSELECT */
%CC-F-FATALSYNTAX, Fatal syntax error.
Listing line number 8938.
At line number 1033 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
#endif /* SVR4_BSDSELECT */
%CC-I-NOBJECT, No object file produced.
Listing line number 8938.
At line number 1033 in
SYS$SYSDEVICE:[LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV Compile error in HTTCP.C,
David L. Watson <=