Date: Tue, 11 Apr 2006 15:53:20 -0300 (ADT) From: "Marc G. Fournier" <scrappy@hub.org> To: Wesley Morgan <morganw@chemikals.org> Cc: freebsd-amd64@freebsd.org Subject: Re: relocation R_X86_64_32 can not be used (Was: Re: (no subject)) Message-ID: <20060411155313.P1096@ganymede.hub.org> In-Reply-To: <20060411074512.S17615@volatile.chemikals.org> References: <20060410235910.F1096@ganymede.hub.org> <20060411002924.E1096@ganymede.hub.org> <20060411033619.GA1495@troutmask.apl.washington.edu> <20060411074512.S17615@volatile.chemikals.org>
next in thread | previous in thread | raw e-mail | index | archive | help
That works perfectly, thank you ... On Tue, 11 Apr 2006, Wesley Morgan wrote: > On Mon, 10 Apr 2006, Steve Kargl wrote: > >> On Tue, Apr 11, 2006 at 12:30:02AM -0300, Marc G. Fournier wrote: >>>> cc -shared -o common.o stream.o registry.o config.o memory.o >>>> /usr/bin/ld: stream.o: relocation R_X86_64_32 can not be used when making >>>> a shared object; recompile with -fPIC >>>> stream.o: could not read symbols: Bad value >> >> You're mixing static and share libs. Add -static to your >> CFLAGS. >> >> > > Or you could probably compile the other objects with -fPIC. > > -- > This .signature sanitized for your protection > > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411155313.P1096>