From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,fef9930478ac1cd8,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-03-07 09:42:38 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!ames!newsfeed.gsfc.nasa.gov!phoepfner.gsfc.nasa.gov!user From: zellar@timaeus.gsfc.nasa.gov (Ron Zellar) Newsgroups: comp.sys.dec Subject: help with compilation errors Followup-To: comp.sys.dec Date: Tue, 07 Mar 1995 11:37:48 -0400 Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Message-ID: NNTP-Posting-Host: phoepfner.gsfc.nasa.gov 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.