[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Compile Problem
From: |
address@hidden |
Subject: |
LYNX-DEV Compile Problem |
Date: |
Sun, 4 May 1997 13:17:25 -0400 |
I am trying to compile Lynx V2-7-1 in the following environment and am
getting the warnings and errors below. I suspect this is a known problem.
I am not much of a C programmer, but with some help, I can probably correct
the problem.
Thank you,
Marc Durnin
address@hidden
Software Versions:
OpenVMS VAX V6.2
CISCO MultiNet V4.0 Rev A-X, VAX 6000-520, OpenVMS VAX V6.2
DEC C V5.5
Lynx V2-7-1
Compilation output:
TPDWS5$ @build
Default directory:
SYS_DISK:[DURNIN.LYNX2-7-]
Acceptable TCP/IP agents are
[1] MULTINET (default)
[2] UCX
[3] WIN_TCP
[4] CMU_TCP
[5] SOCKETSHR_TCP
[6] TCPWARE
Agent [1,2,3,4,5,6] (RETURN = [1])
$!
$! Build the WWWLibrary
$!
$ set default [.WWW.Library.VMS]
$! DECC:
$!
$ cc/decc/prefix=ansi /nomember -
/warning=(disable=implicitfunc)-
/DEFINE=(DEBUG,ACCESS_AUTH,MULTINET,_DECC_V4_SOURCE,__SOCKET_TYPEDEFS,VC="""
2.14""")-
/INCLUDE=([-.Implementation]) -
[-.Implementation]HTString.c
unsigned short htons(unsigned short __val);
...................^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than
specified in an earlier declaration of this function.
At line number 219 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short htons(unsigned short __val);
...................^
%CC-E-NOTCOMPAT, In this declaration, the type of "multinet_htons" is not
compatible with the type of a previous declaration of "multinet_htons" at
line 242 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]TCP.H;1.
At line number 219 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short ntohs(unsigned short __val);
...................^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than
specified in an earlier declaration of this function.
At line number 220 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short ntohs(unsigned short __val);
...................^
%CC-E-NOTCOMPAT, In this declaration, the type of "multinet_ntohs" is not
compatible with the type of a previous declaration of "multinet_ntohs" at
line 243 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]TCP.H;1.
At line number 220 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
}
%VCG-I-NOBJECT, No object file produced.
At line number 156 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.
IMPLEMENTATION]HTSTRING.C;1.
%VCG-I-SUMMARY, Completed with 2 error(s), 2 warning(s), and
1 informational messages.
At line number 156 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.
IMPLEMENTATION]HTSTRING.C;1.
$ CLEANUP:
$ v1 = f$verify(v)
$ set default [-.-.-]
$!
$! Compile the Lynx [.SRC] modules
$!
$ set default [.SRC]
$! DECC:
$ cc := cc/decc/prefix=all /nomember -
/DEFINE=(DEBUG,ACCESS_AUTH,MULTINET,_DECC_V4_SOURCE,__SOCKET_TYPEDEFS
,__VMS_CURSES)-
/INCLUDE=([-],[-.WWW.Library.Implementation])
$!
$ cc DefaultStyle
unsigned short htons(unsigned short __val);
...................^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than
specified in an earlier declaration of this function.
At line number 219 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short htons(unsigned short __val);
...................^
%CC-E-NOTCOMPAT, In this declaration, the type of "multinet_htons" is not
compatible with the type of a previous declaration of "multinet_htons" at
line 242 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]TCP.H;1.
At line number 219 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short ntohs(unsigned short __val);
...................^
%CC-W-MISMATPARAM, In this declaration, parameter 1 has a different type than
specified in an earlier declaration of this function.
At line number 220 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
unsigned short ntohs(unsigned short __val);
...................^
%CC-E-NOTCOMPAT, In this declaration, the type of "multinet_ntohs" is not
compatible with the type of a previous declaration of "multinet_ntohs" at
line 243 in SYS_DISK:[DURNIN.LYNX2-7-1.WWW.LIBRARY.IMPLEMENTATION]TCP.H;1.
At line number 220 in MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.
SYS]SOCKET.H;5.
%VCG-I-NOBJECT, No object file produced.
At line number 368 in SYS_DISK:[DURNIN.LYNX2-7-1.SRC]
DEFAULTSTYLE.C;1.
%VCG-I-SUMMARY, Completed with 2 error(s), 2 warning(s), and
1 informational messages.
At line number 368 in SYS_DISK:[DURNIN.LYNX2-7-1.SRC]
DEFAULTSTYLE.C;1.
$ CLEANUP:
Default directory:
SYS_DISK:[DURNIN.LYNX2-7-1.SRC]
;
; 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 Problem,
address@hidden <=