Add "-Kpic" to CFLAGS. Sherry
On Wed, Dec 16, 2009 at 11:11:06PM +0100, Jens Elkner wrote: > Hi, > > trying to compile R, but always get: > > ld.so.1: R: fatal: relocation error: R_AMD64_32: file > /export/scratch/elkner/build/R-2.10.1/lib/libR.so: symbol (unknown): > value 0xfffffd7fedbd0000 does not fit > > Compiled the stuff already with several flag combinations, incl. > CFLAGS with '-xmodel=medium -m64' and > LDFLAGS with '-xmodel=medium -Wl,-z,defs -Wl,-z,now -m64' > (amd64,snv_b126,studio 12.1), but seems to be unfixable :(. > > Any hints, what's going wrong or how to find out that "strange" symbol > in question/where it comes from? > > Regards, > jel. > -- > Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ > Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 > 39106 Magdeburg, Germany Tel: +49 391 67 12768 > _______________________________________________ > opensolaris-code mailing list > opensolaris-code@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opensolaris-code -- Sherry Moore, Solaris Core Kernel http://blogs.sun.com/sherrym _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code