lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV Problem compiling


From: David L. Watson
Subject: LYNX-DEV Problem compiling
Date: 20 May 97 10:33:00 MST

When I try to compile lynx 2-7-1 on a vax with vms version 5.5-2 using vax c
version 3.2-044 I get the following error.  Any suggestions?

David Watson (address@hidden)

++++++++++++++++++++++++++

$       @build win_tcp
Default directory:
  SYS$SYSDEVICE:[LYNX.LYNX2-7-1]

$!
$!      Build the WWWLibrary
$!
$ set default [.WWW.Library.VMS]
$! VAXC:
$!
$   cc/DEFINE=(DEBUG,ACCESS_AUTH,WIN_TCP,VC="""2.14""") -
      /INCLUDE=([-.Implementation]) -
      [-.Implementation]HTString.c
$!
$   cc := cc/DEFINE=(DEBUG,ACCESS_AUTH,WIN_TCP) -
            /INCLUDE=([-.Implementation])
$!
$ cc [-.Implementation]HTParse.c
$ cc [-.Implementation]HTAccess.c
$ cc [-.Implementation]HTTP.c
$ cc [-.Implementation]HTFile.c
$ cc [-.Implementation]HTBTree.c
$ cc [-.Implementation]HTFTP.c
$ 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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.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 8715.
                At line number 723 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.

            if ((status < 0) &&
%CC-W-IGNORED, Unexpected reserved word "if" ignored.
                Listing line number 8734.
                At line number 742 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.

            if ((status < 0) &&
%CC-E-SYNTAXERROR, Found "<" when expecting
                one of { "(" ")" "[" }.
                Listing line number 8734.
                At line number 742 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.

        #endif /* SVR4_BSDSELECT */
%CC-F-FATALSYNTAX, Fatal syntax error.
                Listing line number 9037.
                At line number 1045 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.

        #endif /* SVR4_BSDSELECT */
%CC-I-NOBJECT, No object file produced.
                Listing line number 9037.
                At line number 1045 in 
SYS$SYSDEVICE:[LYNX.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]HTTCP.C;1.

$ CLEANUP:
$    v1 = f$verify(v)

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]