On Tue, Apr 22, 2008 at 03:04:23PM -0700, vatocleti wrote: > vatocleti wrote: > > > > Hey all, > > I installed 'gmake' to build a Linux based Makefile that uses 'gcc' and > > when I issue 'gmake' I get the following error: > > > > /usr/bin/ld: my_app.o: relocation R_X86_64_32 can not be used when making > > a shared object: recompile with -fPIC > > my_app.o: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > gmake: *** [libAPP.so] Error 1 > > > > any ideas/suggestions are greatly appreciated. > > > > Thanks in advance. > > > I added "-fPIC" to CLFAGS and this got me past this error...is that the > proper fix?
More or less.