lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV socket type incompat w/multinet


From: Foteos Macrides
Subject: Re: LYNX-DEV socket type incompat w/multinet
Date: Wed, 05 Feb 1997 18:53:35 -0500 (EST)

address@hidden wrote:
>I am unable to build the pre-release of lynx2-7 (3feb97 edition). Had no
>problems with v2-6(sep96).  Lines 236 and 237 in the new tcp.h file in
>[.www.library.implementation] cause compilation errors due to incompatible
>socket types. I haven't noticed any postings re this problem. (file tcp.h
>is dated 2nov96.) Can someone out there recommend a solution? Should I
>comment out the offending lines in tcp.h? Or should I somehow stick into
>tcp.h that __val part? If so, would someone tell me the correct format. I
>am using TGV MultiNet V3.5 Rev A, DEC 3000 - M600, OpenVMS AXP V6.2. Below
>are extracts from build.log, lynx's tcp.h, and multinet's socket.h.
>
>----------------------
>extract from build.log:
>
>$!     Build the WWWLibrary
>$!
>$ set default [.WWW.Library.VMS]
>$ v1 = 1
>$ @libmake MULTINET /DEBUG/NOOPT
>$! DECC:
>$!
>$ cc/decc/prefix=ansi /nomember /DEBUG/NOOPT-
>[...]
>    [-.Implementation]HTString.c
>
>    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 number 236 in file $USER4:[USRUTL.LYNX.LYNX2-6FM.WWW.LIBRARY.
> IMPLEMENTATION]TCP.H;1.
>at line number 217 in file MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.SYS]
> SOCKET.H;1
>
>    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 number 237 in file $USER4:[USRUTL.LYNX.LYNX2-6FM.WWW.LIBRARY.
> IMPLEMENTATION]TCP.H;1.
>at line number 218 in file MULTINET_COMMON_ROOT:[MULTINET.INCLUDE.SYS]
> SOCKET.H;1
>[...]
>Extract from Lynx's tcp.h showing lines 236 and 237:
>
>File $USER4:[USRUTL.LYNX.LYNX2-6FM.WWW.LIBRARY.IMPLEMENTATION]TCP.H;2
>  226   /*
>  227   **  Remove these multinet_foo() and associated prototypes
>  228   **  if MultiNet someday actually does this. - FM
>  229   */
>[...]

        Yes, get rid of all the prototypes in tcp.h which were added
to the MultiNet headers for your version.

        For version 4.n of MultiNet, you reportedly can use the DECC
supplied headers, and avoid these conflicts altogether.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; 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]