lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV SGI/IRIX installation


From: Vilkata TDK
Subject: LYNX-DEV SGI/IRIX installation
Date: Mon, 21 Oct 1996 11:01:39 CDT

I'm trying to compile lynx for the SGI/IRIX.  It's apparently having
problems with 'ld' when compiling.  The complete "transcript" of the
attempt at compiling follows my sig.  I also tried 'make sgi' on an
alpha, and it gave me an error about ld that _might_ shed a little light
on the problem:

ld:
-cckr: Unknown flag
ld: Usage: ld [options] file [...]
*** Exit 1
Stop.
*** Exit 1

So it might be a problem with the flags given to ld; unfortunately, I
know virtually nothing about using ld manually.  (Then again, ld
probably just has different options on the alpha; the SGI error said
there was a "bad file magic number" in LYClean.o; doesn't sound like a
problem with flags, but both problems were with ld, so I thought they
_might_ be related.)



Also, when I tried 'make osf', it worked (on the alpha), but when I
tried to execute the binary, it gave me the old error:

Configuration file /usr/local/lib/lynx.cfg is not available.

I defined it in the Makefile to be one of my own directories; I gave it
the absolute path.  (I also put in my own path for the man page.)  I
tried putting the lynx.cfg file in the directory specified, but it
didn't seem to help... seems to be really expecting it in the standard
/usr/local/lib/ directory.  Any way to change that, or even specify the
location of lynx.cfg at the command line?


Actually, if anybody has a working SGI binary (especially if I can
specify my own path for lynx.cfg), I'd be happy with that...

Thanks for the help!
---------------Dan address@hidden

As promised, here's the complete transcript of the attempt at 'make sgi'
on the SGI:


% make sgi
        cd WWW/Library/sgi; make LYFLAGS="-DDIRED_SUPPORT -DLONG_LIST  "
`../../Library/sgi/libwww.a' is up to date.
        cd src; make all CC="cc" MCFLAGS="-O -cckr -DFANCY_CURSES \
                -DNO_CUSERID -DUNIX -DSGI -Dvfork=fork \
                -I../WWW/Library/Implementation -DNO_UTMP -DDIRED_SUPPORT  -DOK_
TAR -DOK_ZIP -DOK_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT  " \
                LIBS="-lcurses -ltermcap -DSYSV -DPERFORMANCE \
                  " \
                WWWLIB="../WWW/Library/sgi/libwww.a"
Compiling Lynx sources
Linking and creating Lynx executable
        cc -O -cckr -DFANCY_CURSES      -DNO_CUSERID -DUNIX -DSGI -Dvfork=fork
-I../WWW/Library/Implementation -DNO_UTMP -DDIRED_SUPPORT  -DOK_TAR -DOK_ZIP -DO
K_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT   -I..  -o lynx  LYClean.o LYShow
Info.o LYEdit.o LYStrings.o  LYMail.o HTAlert.o GridText.o LYGetFile.o  LYMain.o
 LYMainLoop.o LYCurses.o LYBookmark.o LYUtils.o  LYOptions.o LYReadCFG.o LYSearc
h.o LYHistory.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 LYe
xit.o LYJump.o LYList.o LYCgi.o LYTraversal.o  LYEditmap.o LYCharSets.o LYCharUt
ils.o LYMap.o ../WWW/Library/sgi/libwww.a  -lcurses -ltermcap -DSYSV -DPERFORMAN
CE
ld:
Object file format error in: LYClean.o: bad file magic number
*** Error code 1 (bu21)
*** Error code 1 (bu21)
;
; 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]