Skip to content
Prev 4740 / 398513 Next

compiling R-1.0.0 on SGI

I have tried compiling R on a SGI 6.0 and got the following:

cc   -o ../../bin/R.X11 apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o context.o cov.o cum.o debug.o devPS.o devPicTeX.o deparse.o deriv.o devices.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o g_her_glyph.o g_fontdb.o g_cntrlify.o g_alab_her.o gram.o gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o RNG.o regex.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -lX11  -lblas  -LNO:plower=off -LANG:=f77 -L/usr/lib64/mips4 -L/usr/lib64 -lftn -lm  -ltermcap -lm 
ld64: WARNING 84: /usr/lib64/libSM.so is not used for resolving any symbol.
ld64: WARNING 85: definition of main in ../unix/libunix.a(system.o) preempts that definition in /usr/lib64/mips4/libftn.so.
ld64: WARNING 84: /usr/lib64/libtermcap.so is not used for resolving any symbol.
ld64: ERROR 28: GP-relative sections overflow by 0x8668bytes. Please recompile with a smaller -G value.
See the explanation in the gp_overflow(5) manpage.
ld64: INFO 60: Output file removed because of error.
gmake[3]: *** [../../bin/R.X11] Error 2
gmake[3]: Leaving directory `/usr/people/ming/R-1.0.0/src/main'
gmake[2]: *** [R] Error 2
gmake[2]: Leaving directory `/usr/people/ming/R-1.0.0/src/main'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/usr/people/ming/R-1.0.0/src'
gmake: *** [R] Error 1

Any solution?