* build cairo
@ 2006-10-15 12:56 michu
2006-10-15 20:36 ` Leon Woestenberg
2006-10-16 1:32 ` Richard How
0 siblings, 2 replies; 3+ messages in thread
From: michu @ 2006-10-15 12:56 UTC (permalink / raw)
To: openembedded-devel
hello
i try to create gpsdrive with a directfb backend (no x11, just sdl).. this is my
goal, but i have an issue when i want to compile cairo v1.2.4.
i edited the bb file, those are the changed lines:
#DEPENDS = "virtual/libx11 libpng fontconfig libxrender"
DEPENDS = "libpng fontconfig directfb"
EXTRA_OECONF = "--enable-directfb --disable-xlib --disable-win32"
directfb is compiled. so i try to create the cairo package, the configuration
step is fine but the compilation fails:
| NOTE: make
| make all-recursive
| make[1]: Entering directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4'
| Making all in pixman
| make[2]: Entering directory
`/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman'
| Making all in src
| make[3]: Entering directory
`/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman/src'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory
`/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman/src'
| make[3]: Entering directory
`/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman'
| make[2]: Leaving directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman'
| Making all in src
| make[2]: Entering directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src'
| make all-am
| make[3]: Entering directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src'
| if /bin/sh ../arm-linux-libtool --tag=CC --mode=compile arm-linux-gcc
-mcpu=arm9tdmi -mtune=arm9tdmi -DHAVE_CONFIG_H -I.
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src -I..
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman/src
-I/stuff/tmp/staging/arm-linux/include/freetype2
-I/stuff/tmp/staging/arm-linux/include -D_REENTRANT
-I/stuff/tmp/staging/arm-linux/include/directfb -I/usr/include/directfb
-I/stuff/tmp/staging/arm-linux/include/libpng12 -Wall -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition -fno-strict-aliasing
-isystem/stuff/tmp/staging/arm-linux/include
-isystem/stuff/tmp/staging/arm-linux/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -O2 -MT cairo.lo -MD -MP -MF
".deps/cairo.Tpo" -c -o cairo.lo cairo.c; \
| then mv -f ".deps/cairo.Tpo" ".deps/cairo.Plo"; else rm -f ".deps/cairo.Tpo";
exit 1; fi
| arm-linux-gcc -mcpu=arm9tdmi -mtune=arm9tdmi -DHAVE_CONFIG_H -I.
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src -I..
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src
-I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman/src
-I/stuff/tmp/staging/arm-linux/include/freetype2
-I/stuff/tmp/staging/arm-linux/include -D_REENTRANT
-I/stuff/tmp/staging/arm-linux/include/directfb -I/usr/include/directfb
-I/stuff/tmp/staging/arm-linux/include/libpng12 -Wall -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition -fno-strict-aliasing
-isystem/stuff/tmp/staging/arm-linux/include
-isystem/stuff/tmp/staging/arm-linux/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -O2 -MT cairo.lo -MD -MP -MF
.deps/cairo.Tpo -c cairo.c -fPIC -DPIC -o .libs/cairo.o
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/directfb
| cc1: internal compiler error: in add_path, at c-incpath.c:362
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| make[3]: *** [cairo.lo] Error 1
| make[3]: Leaving directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /stuff/tmp/work/cairo-1.2.4-r1/temp/log.do_compile.10923
NOTE: package cairo-1.2.4-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package cairo-1.2.4: failed
ERROR: Build of cairo failed
any hints?
cheers
michu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: build cairo
2006-10-15 12:56 build cairo michu
@ 2006-10-15 20:36 ` Leon Woestenberg
2006-10-16 1:32 ` Richard How
1 sibling, 0 replies; 3+ messages in thread
From: Leon Woestenberg @ 2006-10-15 20:36 UTC (permalink / raw)
To: Using the OpenEmbedded metadata to build Linux Distributions
Hello,
On 10/15/06, michu@neophob.com <michu@neophob.com> wrote:
> hello
>...
> directfb is compiled. so i try to create the cairo package, the configuration
> step is fine but the compilation fails:
>
> | NOTE: make
> | make all-recursive
> | make[1]: Entering directory `/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4'
> ...
> | arm-linux-gcc -mcpu=arm9tdmi -mtune=arm9tdmi -DHAVE_CONFIG_H -I.
> -I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src -I..
> -I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/src
> -I/stuff/tmp/work/cairo-1.2.4-r1/cairo-1.2.4/pixman/src
> -I/stuff/tmp/staging/arm-linux/include/freetype2
> -I/stuff/tmp/staging/arm-linux/include -D_REENTRANT
> -I/stuff/tmp/staging/arm-linux/include/directfb -I/usr/include/directfb
Note the two include search directories, the latter is wrong.
> any hints?
>
Although directfb builds, its build is probably in the sense that it
leaves behind host directories somewhere in its (libconfig?
pkgconfig?) files.
Regards,
LEon.
--
Leon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: build cairo
2006-10-15 12:56 build cairo michu
2006-10-15 20:36 ` Leon Woestenberg
@ 2006-10-16 1:32 ` Richard How
1 sibling, 0 replies; 3+ messages in thread
From: Richard How @ 2006-10-16 1:32 UTC (permalink / raw)
To: openembedded-devel
On Sun, 15 Oct 2006 14:56:13 +0200
michu@neophob.com wrote:
> | CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/directfb
> | cc1: internal compiler error: in add_path, at c-incpath.c:362
> | Please submit a full bug report,
> | with preprocessed source if appropriate.
> | See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I have been wrestling with this problem for a week now. Our development
board has changed from pxa255 arm processor to mipsel and I have
managed to bitbake meta-gpe and run it successfully. Now I need to bitbake
FBReader which requires enca. The configuration stage shows this in the
config.log
Extract from config.log in enca-1.9
configure:20864: checking for sqrt in -lm
configure:20894: mipsel-linux-gcc -Os -mips2 -o conftest -Wall -W -pedantic -isystem/stuff/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -isystem/stuff/build/tmp/staging/mipsel-linux/include -I/usr/include -L/stuff/build/tmp/staging/mipsel-linux/lib -Wl,-rpath-link,/stuff/build/tmp/staging/mipsel-linux/lib -Wl,-O1 -L/usr/lib conftest.c -lm >&5
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
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.
I have found examples mentioning this problem but so far no solution.
Any help or advice would be much appreciated :)
Regards Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-16 1:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-15 12:56 build cairo michu
2006-10-15 20:36 ` Leon Woestenberg
2006-10-16 1:32 ` Richard How
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox