mra@srchtec.uucp (Michael Almond) (09/07/90)
I am installing xfig2.8 (from uunet) on a DECsystem 3100 running Ultrix 3.1D. I get the following error during the final compilation that produces xfig: arc_ic: both a large and small symbol (possible gp relocation errors may result) box_ic: both a large and small symbol (possible gp relocation errors may result) change.o: gp relocation out-of-range in .text section for relocation entry 88 for symbol: box_ic change.o: above gp relocation entry for non .sdata or .sbss symbol change.o: gp relocation out-of-range in .text section for relocation entry 533 for symbol: arc_ic change.o: above gp relocation entry for non .sdata or .sbss symbol Has anyone else encounteed this? Thanks. --- Michael R. Almond mra@srchtec.uucp (registered) search technology, inc. gatech.edu!stiatl!srchtec!mra Atlanta, Georgia (404) 441-1457 (work)
luciano@canuck.Berkeley.EDU (Luciano Lavagno) (09/07/90)
I found the same problem and solved it (I believe). It is due to an incorrect definition of cirrad_ic, cirdia_ic, ... in change.c at line 82. They are declared as PIXRECT, while they should be declared as XImage. The patch that I applied is: ------------------------------------------------------------------------------ *** old_xfig/change.c Thu Sep 6 16:10:54 1990 --- xfig/change.c Thu Sep 6 16:11:05 1990 *************** *** 82,88 **** extern F_compound objects; #define NUM_IMAGES 15 ! extern PIXRECT cirrad_ic, cirdia_ic, ellrad_ic, elldia_ ic, c_spl_ic, spl_ic, c_intspl_ic, intspl_ic, line_ic, polygon_ic, box_ic, arc_box_ic, arc_ic, text_ic, blank_ic; --- 82,88 ---- extern F_compound objects; #define NUM_IMAGES 15 ! extern XImage cirrad_ic, cirdia_ic, ellrad_ic, elldia_ic, c_spl_ic, spl_ic, c_intspl_ic, intspl_ic, line_ic, polygon_ic, box_ic, arc_box_ic, arc_ic, text_ic, blank_ic; ------------------------------------------------------------------------------- Luciano Lavagno