lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Q: compiler error on HPUX 10.20


From: Thomas E. Dickey
Subject: Re: lynx-dev Q: compiler error on HPUX 10.20
Date: Wed, 5 Sep 2001 07:27:46 -0400 (EDT)

On Wed, 5 Sep 2001, Aryeh Koenigsberg wrote:

> i am compiling lynx 2.8.3 and getting an unsatisfied symbol error. can you
> help?

2.8.4 is current (but that isn't the problem here).

> *the specs:*
> HP-UX 10.20
> gcc 2.95.2
> ncurses 4.1 (in /usr/local/{include,lib})
>
> *environment:*
> setenv CC gcc
> setenv CPPFLAGS -I/usr/local/include -I/usr/include

Take the /usr/include out of your CPPFLAGS.  gcc gets confused by this,
because it has its own copy of many of the system headers (including
stdarg.h), since it implements those differently.

> *configure command:*
> ./configure --enable-cgi-links --enable-color-style --enable-scrollbar
> --with-screen=ncurses
>
> error message (please excuse the hatchet job on the margins):
> ----------------------------------------------------------------------------
> -----
> gcc  -DHAVE_CONFIG_H -I/usr/local/include -I/usr/include  -DLOCALEDIR=\"
> /opt/lynx/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtrans  -I..
> -I../src  -
> I../WWW/Library/Implementation    -O2 -DSNAKE   -o lynx  LYClean.o
> LYShowInfo.o
> LYEdit.o LYStrings.o  LYMail.o HTAlert.o GridText.o LYGetFile.o  LYMain.o
> LYMain
> Loop.o LYCurses.o LYBookmark.o LYUtils.o  LYOptions.o LYReadCFG.o LYSearch.o
> LYH
> istory.o  LYForms.o LYPrint.o LYrcFile.o LYDownload.o LYNews.o LYKeymap.o
> HTML.
> o HTFWriter.o HTInit.o DefaultStyle.o LYLocal.o LYUpload.o  LYLeaks.o
> LYexit.o L
> YJump.o LYList.o LYCgi.o LYTraversal.o  LYEditmap.o LYCharSets.o
> LYCharUtils.o L
> YMap.o LYCookie.o LYExtern.o  LYStyle.o LYHash.o LYPrettySrc.o TRSTable.o
> UCdoma
> p.o UCAux.o UCAuto.o  ../WWW/Library/Implementation/libwww.a
> -L/usr/local/lib -
> lncurses       -lcurses
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    __builtin_va_start (code)
> collect2: ld returned 1 exit status
> ----------------------------------------------------------------------------
> -----
>
> thanks for your feedback and assistance,
>
>

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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