From: cadams@sh1.ro.com (Chris Adams)
Subject: Problem linking NetHack
Date: 1997/07/14 [thread overview]
Message-ID: <5qenhf$m50@sh1.ro.com> (raw)
I have been trying to compile the game NetHack 3.2.2. It compiles and
runs just fine on Linux/x86, but when trying to link on Linux/Alpha, I
get:
/usr/lib/crtend.o: In function `__do_global_ctors_aux':
../sysdeps/alpha/elf/crtend.S:73: relocation truncated to fit: LITERAL __CTOR_END__
../sysdeps/alpha/elf/crtend.S:73: relocation truncated to fit: LITERAL __do_global_ctors_aux
wield.o: In function `erode_weapon':
wield.c(.text+0xa0c): relocation truncated to fit: LITERAL $C51
wield.c(.text+0xa6c): relocation truncated to fit: LITERAL $C55
and on and on for every single function in the program. It isn't doing
anything "funny" - it is a straight forward link like "gcc -o nethack
(lots of .o files) -lncurses -l(some X libraries)". The object files
are compiled normally, too. There are 123 .o files - could this be a
problem?
--
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.
reply other threads:[~1997-07-14 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox