compilation breaks because of missing -fPIC?
Submitted by an unknown user
Assigned to Lucas Beeler
Link to original bug (#717650)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-04-04 06:19:00 -0700 ----
Original Redmine bug id: 3461
Original URL: http://redmine.yorba.org/issues/3461
Searchable id: yorba-bug-3461
Original author: Norbert Preining
Original description:
Hi everyone,
I have again some compile problems:
maker2: Entering directory @/home/norbert/Debian/shotwell/bla/plugins /shotwell-transitions'
cc pkg-config --print-errors --cflags gobject-2.0 glib-2.0 gdk-2.0 gtk+-2.0
-nostdlib -export-dynamic -O2 -g -pipe -fPIC pkg-config --print-errors --libs gobject-2.0 glib-2.0 gdk-2.0 gtk+-2.0
Resources.o shotwell-transitions.o
FadeEffect.o SlideEffect.o CrumbleEffect.o -I../.. -shared -o shotwell-
transitions.so
/usr/bin/ld: Resources.o: relocation R_X86_64_32 against @.rodata' can not be used when making a shared object; recompile with -fPIC
Resources.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Is that something you know? I searched a bit in the net and the tickets but didn't find anything matching, and I have never seen this kind of error.
(vala 0.12, shotwell svn2847)
Thanks
Norbert
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:39:00 -0700 ----
History
Comment 1
Updated by Lucas Beeler over 2 years ago
@ Norbert:
To help us debug this, could you do the following:
(i) in the Shotwell sandbox that you checked out of SVN, run “make distcleanâ€
(ii) run “sudo ldconfigâ€
(iii) try building Shotwell again
This will ensure that your build environment is clean and consistent. Do you still get a build error after doing this?
Comment 2
Updated by Adam Dingle over 2 years ago
@norbert: Never mind. We figured out how to reproduce this here at Yorba, so we should now be able to solve this without this additional info from you. Thanks anyway! :)
Comment 3
Updated by Adam Dingle over 2 years ago
- Status changed from Open to Review
- Assignee changed from Anonymous to Jim Nelson
- Target version set to 0.9.1
- Priority set to High
Comment 4
Updated by Eric Gregory over 2 years ago
- Assignee changed from Jim Nelson to Lucas Beeler
Comment 5
Updated by Lucas Beeler over 2 years ago
- Status changed from Review to 5
- Resolution set to fixed
- % Done changed from 0 to 100
Fixed in trunk r2850, 0.9.x branch r2851.
Comment 6
Updated by Norbert Preining over 2 years ago
Thanks, works fine again.
Comment 7
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:53 UTC ---
This bug was previously known as bug 3461 at http://redmine.yorba.org/show_bug.cgi?id=3461
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.9.1
Resolution: RESOLVED FIXED