login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2008
»
April
»
23
Re: collect2: ld returned 1 exit status....during linking...
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Marc Espie <espie@...>
To: vatocleti <un_ave@...>
Cc: <misc@...>
Subject:
Re: collect2: ld returned 1 exit status....during linking...
Date: Wednesday, April 23, 2008 - 3:23 am
On Tue, Apr 22, 2008 at 03:04:23PM -0700, vatocleti wrote:
quoted text
> 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.
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
collect2: ld returned 1 exit status....during linking...
, vatocleti
, (Tue Apr 22, 3:41 pm)
Re: collect2: ld returned 1 exit status....during linking...
, vatocleti
, (Tue Apr 22, 6:04 pm)
Re: collect2: ld returned 1 exit status....during linking...
, Marc Espie
, (Wed Apr 23, 3:23 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Nigel Cunningham
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Paul Mundt
Re: 2.6.22-rc4-mm2
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
693 guests
online.
Online users
maheshdm
strcmp
Vince52
Syndicate