From:
[email protected]
Package: gauche-gtk
Severity: normal
Tags: patch
When building 'gauche-gtk' on amd64 I get the following error:
x86_64-linux-gcc `pkg-config --libs-only-L gtk+-2.0` -shared -o gauche-gtk.so gtk_head.o gauche-gtk.o gauche-glib.o gauche-gdklib.o pango-attributes.o pango-break.o pango-context.o pango-coverage.o pango-enum-types.o pango-font.o pango-fontmap.o pango-
glyph.o pango-item.o pango-layout.o pango-types.o gdk.o gdkcolor.o gdkcursor.o gdkdnd.o gdkdrawable.o gdkenumtypes.o gdkevents.o gdkfont.o gdkgc.o gdkimage.o gdkinput.o gdkkeys.o gdkpango.o gdkpixbuf.o gdkpixmap.o gdkproperty.o gdkregion.o gdkrgb.o
gdkselection.o gdktypes.o gdkvisual.o gdkwindow.o gtkaccelgroup.o gtkaccellabel.o gtkaccelmap.o gtkaccessible.o gtkadjustment.o gtkalignment.o gtkaspectframe.o gtkarrow.o gtkbin.o gtkbindings.o gtkbox.o gtkbbox.o gtkbutton.o gtkcalendar.o gtkcelleditable.
o gtkcellrenderer.o gtkcellrenderertext.o gtkcellrenderertoggle.o gtkcellrendererpixbuf.o gtkcheckbutton.o gtkcheckmenuitem.o gtkclipboard.o gtkclist.o gtkcolorsel.o gtkcolorseldialog.o gtkcombo.o gtkcontainer.o gtkctree.o gtkcurve
.o gtkdialog.o gtkdnd.o gtkdrawingarea.o gtkeditable.o gtkentry.o gtkenums.o gtkeventbox.o gtkfilesel.o gtkfixed.o gtkfontsel.o gtkframe.o gtkgamma.o gtkgc.o gtkhandlebox.o gtkhbox.o gtkhbbox.o gtkhpaned.o gtkhruler.o gtkhscale.o gtkhscrollbar.o
gtkhseparator.o gtkiconfactory.o gtkimage.o gtkimagemenuitem.o gtkimcontext.o gtkimcontextsimple.o gtkimmulticontext.o gtkinputdialog.o gtkinvisible.o gtkitem.o gtkitemfactory.o gtklabel.o gtklayout.o gtklist.o gtklistitem.o gtkliststore.o gtkmain.o
gtkmenu.o gtkmenubar.o gtkmenuitem.o gtkmenushell.o gtkmessagedialog.o gtkmisc.o gtknotebook.o gtkobject.o gtkoldeditable.o gtkoptionmenu.o gtkpaned.o gtkpixmap.o gtkplug.o gtkpreview.o gtkprogress.o gtkprogressbar.o gtkradiobutton.o gtkradiomenuitem.o
gtkrange.o gtkrc.o gtkruler.o gtkscale.o gtkscrollbar.o gtkscrolledwindow.o gtkselection.o gtkseparator.o gtkseparatormenuitem.o gtksettings.o gtksignal.o gtksizegroup.o gtksocket.o gtkspinbutton.o gtkstock.o gtkstyle.o gtkstatusbar.o gtkta
ble.o gtktearoffmenuitem.o gtktextbuffer.o gtktextchild.o gtktextiter.o gtktextmark.o gtktexttag.o gtktexttagtable.o gtktextview.o gtktipsquery.o gtktogglebutton.o gtktoolbar.o gtktooltips.o gtktreednd.o gtktreemodel.o gtktreesortable.o gtktreemodelsort.
o gtktreeselection.o gtktreestore.o gtktreeview.o gtktreeviewcolumn.o gtktypeutils.o gtkvbox.o gtkvbbox.o gtkviewport.o gtkvpaned.o gtkvruler.o gtkvscale.o gtkvscrollbar.o gtkvseparator.o gtkwidget.o gtkwindow.o gtk_tail.o `pkg-config --libs-only-l gtk+-
2.0` -L/usr/lib/gauche/0.7.4.2/x86_64-pc-linux-gnu -lgauche -ldl -lcrypt -lutil -lm -lpthread -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
/usr/bin/ld: gauche-gtk.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
gauche-gtk.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gauche-gtk.so] Error 1
rm gdkinput.c gtkcellrendererpixbuf.c pango-attributes.c gtkprogressbar.c pango-layout.c gtkradiobutton.c gtkstatusbar.c gtkscrollbar.c gdk.c gtklayout.c gtkoldeditable.c gtktextmark.c gtkimcontext.c gtkcellrenderertoggle.c gtktexttagtable.c gtksettings.
c gtkhseparator.c gtkalignment.c gtktable.c gtktreeview.c gtkvseparator.c gdkpango.c gdktypes.c gtkspinbutton.c gtkobject.c gtkeditable.c gtkvruler.c pango-glyph.c gtkcellrenderer.c gdkrgb.c gtkcontainer.c gtkpixmap.c gdkcolor.c pango-item.c gdkdnd.c
gtkitemfactory.c gtkwindow.c gtktooltips.c pango-context.c gdkpixbuf.c gtkiconfactory.c pango-fontmap.c gtkcurve.c gtktreednd.c gtkaccelmap.c gtkscrolledwindow.c gtkhscale.c gtkmisc.c gtkstyle.c gtktreeselection.c gtkhbox.c gtkdnd.c gdkimage.c
gtkeventbox.c gtktreemodel.c pango-break.c gtklabel.c gtkvbbox.c gdkevents.c gtkpreview.c gtkhbbox.c pango-coverage.c gtkseparator.c gtkliststore.c gtkscale.c gtkrc.c gtkgamma.c pango-enum-types.c gtkaccelgroup.c gdkproperty.c gdkselection.c
gtkpaned.c gtktreemodelsort.c gtkimage.c gtktreeviewcolumn.c gdkgc.c gdkdrawable.c gtkbindings.c gtkbox.c gtkitem.c gtktexttag.c gtkbin.c gtknotebook.c gtkfilesel.c gtkclist.c gtkimagemenuitem.c gdkwindow.c pango-types.c gtkmenuitem.c gtkaccellabel.c
gtkhruler.c gtktypeutils.c gtkstock.c gtkcelleditable.c gtktextbuffer.c gtkentry.c gtkcolorseldialog.c gtkmenushell.c gtkbutton.c gtktoolbar.c gtkinputdialog.c gtkprogress.c gtkctree.c gtkrange.c gtkinvisible.c gtktextview.c gtktextiter.c gdkfont.c
gtkmessagedialog.c gtklist.c gtksocket.c gtkmenu.c gtkenums.c gtkplug.c gtkcellrenderertext.c gtkdrawingarea.c gdkpixmap.c gdkvisual.c gtkvpaned.c gtkviewport.c gtkhandlebox.c gdkregion.c gtkcalendar.c gtkaspectframe.c gtkoptionmenu.c gtkvscale.c
gtkimcontextsimple.c gdkcursor.c gtkmenubar.c gtkframe.c gtkcheckbutton.c gtkruler.c gtkdialog.c gtkclipboard.c gtkcolorsel.c gtksizegroup.c gtkseparatormenuitem.c gdkkeys.c gtkcombo.c gtktextchild.c gtktearoffmenuitem.c gtkfixed.c gtkaccess
ible.c gtkhpaned.c gtkwidget.c gtkbbox.c gtklistitem.c gtksignal.c gtkradiomenuitem.c gtkhscrollbar.c gtktreestore.c gtkselection.c gtkvscrollbar.c gtkmain.c gtkadjustment.c gtkgc.c gtkimmulticontext.c gtktreesortable.c pango-font.c gdkenumtypes.c
gtktogglebutton.c gtktipsquery.c gtkvbox.c gtkfontsel.c gtkarrow.c gtkcheckmenuitem.c
make[2]: Leaving directory `/gauche-gtk-0.3.2/src'
With the attached patch 'gauche-gtk' can be compiled on amd64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gauche-gtk-0.3.2/debian/rules ./debian/rules
--- ../tmp-orig/gauche-gtk-0.3.2/debian/rules 2004-08-17 11:16:37.247232673 +0200
+++ ./debian/rules 2004-08-17 10:08:35.329778449 +0200
@@ -17,7 +17,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -fPIC
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)