lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Lynx version 2.7 compilation problem (SCO Unix)


From: Foteos Macrides
Subject: Re: LYNX-DEV Lynx version 2.7 compilation problem (SCO Unix)
Date: Sat, 22 Feb 1997 11:13:48 -0500 (EST)

Jason White <address@hidden> wrote:
>In accordance with Wayne's suggestion, I added:
>#define remove unlink
>to the userdefs.h file, just prior to the definition for the location of
>lynx.cfg. I also tried writing REMOVE in uppercase. Unfortunately, the
>same error message occurred when make was run again. I ran
>make clean
>and then:
>make sco
>
>but still received the error pertaining to the unlink function.
>
>Further advice would be much appreciated.

        That was an apparent header error for SCO, which Bela indicated
had been fixed long long ago, so I got rid of the code to deal with it
back at v2.6.  And indeed you're the first to report the problem since
the v2.6 release, way way back.

        Perhaps Bela will provide more details, but you really should
get the basic problem fixed rather than concentrating specifically
on Lynx.

        It the meantime, nothing will work short of finding all
the remove() calls in the LYFoo and libwww modules, and replacing
them with unlink().   No macros, as Wayne suggested to you, will
work, because the problem lies in the ultimate translation to
invoke unlink() on Unix.

        What I did when the problem was common was to use:

#ifdef SCO
        ... unlink(...) ...
#else
        ... remove(...) ...
#endif /* SCO */

but you need not restore all that ifdefing, i.e., just do a
global replace of remove with unlink for a quickie build of
Lynx on your system, but more importantly, get the system/compiler
headers on you system corrected.

                                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]