From: zellar@timaeus.gsfc.nasa.gov (Ron Zellar)
Subject: help with compilation errors
Date: Tue, 07 Mar 1995 11:37:48 -0400 [thread overview]
Message-ID: <zellar-070395113748@phoepfner.gsfc.nasa.gov> (raw)
I'm trying to compile a C program, but I keep getting error which I don't
understand. If you know what's happening or have some suggestions, I'd
greatly appreciate the benefit of your experience.
By the way, this is being compiled on decstation using the native C
compiler. The compilation error's follow.
Thanks in advance!
Ron
cc -o brcaldb -Olimit 1500 -G 3000 -I./ -I./include -I../../../include -O
brcaldb.o lex.cb.o y.tab.o show_cmd.o copy_cmd.o -L../../../host
-lcaltools -lftools -lhost -lxanlib -lfitsio -ltermcap -lpgplot -lX11
-L/usr/lib -lUfor -lfor -lutil -li -lots -lm
_iob: both a large and small symbol (possible gp relocation errors may
result)
ld:
brcaldb.o: gp relocation out-of-range in .text section for relocation entry
468 for symbol: pgfcount_
brcaldb.o: above gp relocation entry for non .sdata or .sbss symbol
lex.cb.o: gp relocation out-of-range in .text section for relocation entry
4 for symbol: _iob
lex.cb.o: above gp relocation entry for non .sdata or .sbss symbol
lex.cb.o: gp relocation out-of-range in .text section for relocation entry
7 for symbol: _iob
lex.cb.o: above gp relocation entry for non .sdata or .sbss symbol
lex.cb.o: gp relocation out-of-range in .text section for relocation entry
454 for symbol: _iob
lex.cb.o: above gp relocation entry for non .sdata or .sbss symbol
y.tab.o: gp relocation out-of-range in .text section for relocation entry 2
for symbol: _iob
y.tab.o: above gp relocation entry for non .sdata or .sbss symbol
y.tab.o: gp relocation out-of-range in .text section for relocation entry 3
for symbol: _iob
y.tab.o: above gp relocation entry for non .sdata or .sbss symbol
Best -G num value to compile all -count'ed objects creating brcaldb with is
2008
Above best -G num value conservative because of inconsistent
common symbol sizes. Use the -y flag to trace inconsistant common
definitions and then change source to make them consistent
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).
gp relocation out-of-range for small data or bss by,
7081 in the positive direction,
98016 in the negative direction.
*** Error code 1
Stop.
reply other threads:[~1995-03-07 15:37 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