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?
Thanks -- View this message in context: http://www.nabble.com/collect2%3A-ld-returned-1-exit-status....during-linking...-tp16825629p16826265.html Sent from the openbsd user - misc mailing list archive at Nabble.com.