[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV use_externals and lyk_extern
From: |
Larry W. Virden, x2487 |
Subject: |
Re: LYNX-DEV use_externals and lyk_extern |
Date: |
Wed, 17 Dec 1997 11:13:19 -0500 |
From: "T.E.Dickey" <address@hidden>
> >
> > I am working with a fresh copy of lynx 2.7.1 ac - version 100. When
> > I try to compile, using the USE_EXTERNALS , I get:
> >
> > cc -DHAVE_CONFIG_H -I/projects/gnu/sparc-sun-solaris2.4/include
> > -I/projects/gnu/sparc-sun-solaris2.4/include/ncurses -I. -I.. -I..
> > -I../WWW/Library/Implementation -g -c ./LYKeymap.c
> > "./LYKeymap.c", line 68: undefined symbol: LYK_EXTERN
> > "./LYKeymap.c", line 68: non-constant initializer: op "NAME"
> > cc: acomp failed for ./LYKeymap.c
> >
> > Anyone have a solutions for this?
> I built #99 with the --with-externs option (which sets USE_EXTERNALS), but
> had no problems (I'd looked at it because you said there was a change to
> make to order of includes in one of the C files -- but didn't see why).
>
the reason I had to rearrange the includes is because when the global def
header file is included later, the USE_EXTERNALS define hasn't been
declared yet - at least with my SPARC/Solaris 2.5.1/Sun cc compiler.
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.