Pravinkumar Chavan
2012-04-13 11:27:24 UTC
Hi,
I am trying to compile the directfb 1.5.0 with multicore enable on my
ubuntu host using gcc 3.4.4 cross compiler for the mipsel-linux.
This is the configure command I am using
***@pravin-P5GZ-MX:/home/pravin/thirdpartylib/DirectFB-1.5.0# ./configure
--target=mipsel-linux --host=mipsel-linux --prefix=/opt/libs/directfblib
LDFLAGS=-L/opt/libs/lib CPPFLAGS=-I/opt/libs/include
PKG_CONFIG_PATH=/opt/libs/lib/pkgconfig --with-gfxdrivers=vmware
--with-inputdrivers=keyboard,linuxinput,lirc,mutouch,penmount,ps2mouse,serialmouse,tslib,wm97xx,zytronic
--with-tests --enable-multi --enable-debug
I have compiled the fusion 8.2.1 and copied the fusion.h from it to
/opt/mipsel-linux-gcc-sdk-3.4.4/cross/mipsel-linux/include/linux/fusion.h
/opt/mipsel-linux-gcc-sdk-3.4.4/staging/mipsel-linux/include/linux/fusion.h
While doing make I am getting following error...
In file included from heap.c:70:
../../../lib/fusion/fusion_internal.h:168: error: parse error before
"FusionCallMessage3"
../../../lib/fusion/fusion_internal.h:169: warning: function declaration
isn't a prototype
make[4]: *** [heap.lo] Error 1
make[4]: Leaving directory
`/home/pravin/thirdpartylib/DirectFB-1.5.0/lib/fusion/shm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/pravin/thirdpartylib/DirectFB-1.5.0/lib/fusion'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pravin/thirdpartylib/DirectFB-1.5.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pravin/thirdpartylib/DirectFB-1.5.0'
make: *** [all] Error 2
Can you please help me? How do I resolve the error?
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*
I am trying to compile the directfb 1.5.0 with multicore enable on my
ubuntu host using gcc 3.4.4 cross compiler for the mipsel-linux.
This is the configure command I am using
***@pravin-P5GZ-MX:/home/pravin/thirdpartylib/DirectFB-1.5.0# ./configure
--target=mipsel-linux --host=mipsel-linux --prefix=/opt/libs/directfblib
LDFLAGS=-L/opt/libs/lib CPPFLAGS=-I/opt/libs/include
PKG_CONFIG_PATH=/opt/libs/lib/pkgconfig --with-gfxdrivers=vmware
--with-inputdrivers=keyboard,linuxinput,lirc,mutouch,penmount,ps2mouse,serialmouse,tslib,wm97xx,zytronic
--with-tests --enable-multi --enable-debug
I have compiled the fusion 8.2.1 and copied the fusion.h from it to
/opt/mipsel-linux-gcc-sdk-3.4.4/cross/mipsel-linux/include/linux/fusion.h
/opt/mipsel-linux-gcc-sdk-3.4.4/staging/mipsel-linux/include/linux/fusion.h
While doing make I am getting following error...
In file included from heap.c:70:
../../../lib/fusion/fusion_internal.h:168: error: parse error before
"FusionCallMessage3"
../../../lib/fusion/fusion_internal.h:169: warning: function declaration
isn't a prototype
make[4]: *** [heap.lo] Error 1
make[4]: Leaving directory
`/home/pravin/thirdpartylib/DirectFB-1.5.0/lib/fusion/shm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/pravin/thirdpartylib/DirectFB-1.5.0/lib/fusion'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pravin/thirdpartylib/DirectFB-1.5.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pravin/thirdpartylib/DirectFB-1.5.0'
make: *** [all] Error 2
Can you please help me? How do I resolve the error?
--
**
_________________________
Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.
*Winner of 'Innovative Creation of a New Medium' at the OOH Awards 2012*
**
*_________________________*
*
*