Hello;

ext [EMAIL PROTECTED] wrote:
> I use Mx31 PDK and I got the MBX driver (lib & head files) frome freescale ,
> I want to build clutter 
> but I got these errors, seems that the libs or GLES/egl.h is error,but I can 
> compile MBX demos whith these files and this toolchain.
> i am  confounded .
> 
> | /bin/sh ../../arm-poky-linux-gnueabi-libtool  --tag=CC   --mode=compile 
> arm-poky-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s  
> -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../.. 
> -DG_LOG_DOMAIN=\"ClutterEGL\" -I../.. -pthread 
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pango-1.0
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/cairo 
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/glib-2.0
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/lib/glib-2.0/include
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/freetype2
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/libpng12
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pixman-1
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/gtk-2.0
>    -DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -g -Wall    
> -fexpensive-optimizations -fomit-frame
-pointer -frename-registers -O2 -MT clutter-stage-egl.lo -MD -MP -MF 
.deps/clutter-stage-egl.Tpo -c -o clutter-stage-egl.lo clutter-stage-egl.c
> | arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc 
> -march=armv6j -mtune=arm1136jf-s -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H 
> -I. -I../.. -DG_LOG_DOMAIN=\"ClutterEGL\" -I../.. -pthread 
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pango-1.0
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/cairo 
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/glib-2.0
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/lib/glib-2.0/include
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/freetype2
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/libpng12
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/pixman-1
>  
> -I/home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/gtk-2.0
>  -DCLUTTER_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -g -Wall 
> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -MT 
clutter-backend-egl.lo -MD -MP -MF .deps/clutter-backend-egl.Tpo -c 
clutter-backend-egl.c  -fPIC -DPIC -o .libs/clutter-backend-egl.o
> | In file included from clutter-egl-headers.h:30,
> |                  from clutter-backend-egl.h:25,
> |                  from clutter-backend-egl.c:5:
> | 
> /home/try/poky/build/tmp/staging/armv6-poky-linux-gnueabi/usr/include/GLES/egl.h:213:
>  error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EGLint'

snip 8<

This looks like egl.h is not including egltypes.h or eglplatform.h which
would then have the type definitions for EGLint etc.

// Tapani

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to