Compile problems

  • Hi i hope someone can help.
    I'm running kubuntu dapper and am very unsuccesful at compiling various parts of dreambox image.


    For example i try to build zd1211 ipk and i get:

  • When i try to make default image i get this error:


    -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/include -I/include -MT tuxtxt.lo -MD -MP -MF ".deps/tuxtxt.Tpo" -c -o tuxtxt.lo tuxtxt.c; \
    then mv -f ".deps/tuxtxt.Tpo" ".deps/tuxtxt.Plo"; else rm -f ".deps/tuxtxt.Tpo"; exit 1; fi
    mkdir .libs
    powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins/tuxtxt -I.. -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/lib/../include -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/lib/../include/freetype2 -I/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins/include -I/usr/include/tuxbox/tuxtxt -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/include -I/include -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/include -I/include -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -DOE -DHAVE_DREAMBOX_HARDWARE -DDREAMBOX -I/home/tuxbox-bb/tuxbox-bb/build/tmp/staging/powerpc-linux/include -I/include -MT tuxtxt.lo -MD -MP -MF .deps/tuxtxt.Tpo -c tuxtxt.c -fPIC -DPIC -o .libs/tuxtxt.o
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/tuxbox/tuxtxt
    cc1: internal compiler error: Aborted
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    make[4]: *** [tuxtxt.lo] Error 1
    make[4]: Leaving directory `/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins/tuxtxt'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins/tuxtxt'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/tuxbox-bb/tuxbox-bb/build/tmp/work/tuxbox-plugins-0.0+cvs20060831-r0/plugins'
    FATAL: oe_runmake failed[/code]


    My toolchecker run generates this :



    This error comes on open dreambox 1.4 for dm7020 with default 1.4.2 bitbake. I've been pulling my hairs trying to find what is the problem... Could it be make version? Or gcc too high?


    Thanx for anyones help!

    2 Mal editiert, zuletzt von smash ()

  • Somehow i think that it is compiler related because i tried to make it outside oe (but with oe compilers)


    and i get this error:




    Same sources compile fine on my system for I686 ach

    Einmal editiert, zuletzt von smash ()

  • Hi. I have the same problem with gcc 4.1.2. It looks as if something is failing while installing the include part of cross compiler - strange thing.


    EDIT: I just went to plugins tuxtxt. There I had to change the Makefile. There is an entry includedir = /usr/include


    I changed to
    /home/blalba/usr/include (a nonexistance directory)


    and now it works!


    Not that clean I think, but it compiles now.

    7020S mit 120 HDD, D500S mit NFS. IMAC G5 OSX 10.3.9

    2 Mal editiert, zuletzt von rrarr2004 ()