[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#164540: fluxbox_0.1.12-1(hppa/unstable): FTBFS: hppa needs -ffunction-sections

Debian-HPPA: I'm getting this build error, trying to compile "fluxbox"
on HPPA. I've tried adding -ffunction-sections to the build flags,
however, this does not seem to have had the appropriate response.

I'm sure this is just me doing something silly, however, I've not been
able to work out exactly what I'm doing wrong. 

I'd appreciate any help, tips or pointers that anyone could give me.


On Sat, 12 Oct 2002, lamont+buildd@hp.com <lamont+buildd@hp.com> wrote...

: Package: fluxbox
: Version: 0.1.12-1
: Severity: serious
: There was an error while trying to autobuild your package:
: Like it says, the compiler/linker have conspired to require
: -ffunction-sections before they'll build the package.

: A full build log can be found at:
: http://buildd.debian.org/build.php?arch=hppa&pkg=fluxbox&ver=0.1.12-1

Even when I add -ffunction-sections to the flags line, unfortunately I
am still getting this error. ( This is compiling on paer.debian.org )

source='DrawUtil.cc' object='DrawUtil.o' libtool=no \
depfile='.deps/DrawUtil.Po' tmpdepfile='.deps/DrawUtil.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -Wall -DLOCALEPATH=\"/usr/share/fluxbox/nls\" -DDEFAULTMENU=\"/usr/share/fluxbox/menu\" -DDEFAULTSTYLE=\"/usr/share/fluxbox/styles/Clean\" -DDEFAULTKEYSFILE=\"/usr/share/fluxbox/keys\" -DDEFAULT_INITFILE=\"etc/X11/fluxbox/init\"  -O2 -ffunction-sections  -I/usr/X11R6/include -DSHAPE -DSLIT  -DINTERLACE   -fno-inline -DNLS -DTIMEDCACHE -DKDE -DGNOME -DXINERAMA -c -o DrawUtil.o `test -f 'DrawUtil.cc' || echo '../../src/'`DrawUtil.cc
g++  -O2 -ffunction-sections  -I/usr/X11R6/include -DSHAPE -DSLIT  -DINTERLACE   -fno-inline -DNLS -DTIMEDCACHE -DKDE -DGNOME -DXINERAMA  -L/usr/X11R6/lib  -lSM -lICE -o fluxbox  BaseDisplay.o Basemenu.o Clientmenu.o Configmenu.o Icon.o Image.o Netizen.o Rootmenu.o Screen.o Slit.o Timer.o Toolbar.o Window.o Windowmenu.o Workspace.o Workspacemenu.o fluxbox.o i18n.o main.o Tab.o Keys.o IconBar.o Theme.o StringUtil.o DrawUtil.o Resource.o Font.o FbAtoms.o SignalHandler.o  -L/usr/X11R6/lib -lX11  -lXext -lXinerama
/usr/bin/ld: DrawUtil.o(.text._ZN8DrawUtil12XRotLoadFontEP9_XDisplayPcf+0x7b4): cannot reach 00000841__ZNSolsEPFRSoS_E+0, recompile with -ffunction-sections

Reply to: