Is TI's PVR graphics? Well, Do you know how to compile Ti's
OMAP35x_Graphics_SDK_setuplinux_3_01_00_07?

I follow the instruction
inhttp://processors.wiki.ti.com/index.php/GSG:_Rebuilding_the_Software#Building_the_OMAP35x_Graphics_Demo_Software

But I encouter the following problem:
make -C /home/terry/Desktop/beagle/kernel/linux-omap-2.6 M=`pwd`
make[2]: Entering directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
  LD
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
  CC [M]
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:122:
error: unknown field 'ioctl' specified in initializer
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:122:
warning: initialization from incompatible pointer type
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:
In function 'bc_cat_init':
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:490:
error: implicit declaration of function 'omap_rev_lt_3_0'
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:
In function 'BCAllocKernelMem':
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:559:
error: implicit declaration of function 'kmalloc'
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:559:
warning: return makes pointer from integer without a cast
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:
In function 'BCFreeKernelMem':
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:564:
error: implicit declaration of function 'kfree'
make[4]: ***
[/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o]
Error 1
make[3]: ***
[/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti]
Error 2
make[2]: ***
[_module_/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM]
Error 2
make[2]: Leaving directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM'
make: *** [buildkernel] Error 2

 It absolutely can not find the correct include path, so I add the following
include path
     *   make -C $(GFX_KERNMOD_SRCPATH) KERNELDIR=$(KERNEL_INSTALL_DIR)
TI_PLATFORM=omap3430 BUILD=debug
EXTRA_CFLAGS=-I/home/terry/Desktop/beagle/kernel/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/include
EXTRA_CFLAGS+=-I/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/include4
EXTRA_CFLAGS+=/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/include
*

Still an error:
building the sgx kernel modules...
just to assure
GFX_LIB_SRCPATH=/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/gfx_dbg_es3.x
build3.x, kerneldir=/home/terry/Desktop/beagle/kernel/linux-omap-2.6,
cstool=arm-none-linux-gnueabi-,
gfx_kern_src=/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM
make[1]: Entering directory
`/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM'
make -C /home/terry/Desktop/beagle/kernel/linux-omap-2.6 M=`pwd` clean
make[2]: Entering directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
  CLEAN
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/.tmp_versions
make[2]: Leaving directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
make[1]: Leaving directory
`/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM'
make[1]: Entering directory
`/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM'
make -C /home/terry/Desktop/beagle/kernel/linux-omap-2.6 M=`pwd`
make[2]: Entering directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
  LD
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
  CC [M]
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
In file included from
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/include4/img_defs.h:30,
                 from
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:33:
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/include4/img_types.h:54:
error: #error ("define an OS")
/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:35:
fatal error: kernelbuffer.h: No such file or directory
compilation terminated.
make[4]: ***
[/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o]
Error 1
make[3]: ***
[/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM/services4/3rdparty/bufferclass_ti]
Error 2
make[2]: ***
[_module_/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM]
Error 2
make[2]: Leaving directory
`/home/terry/Desktop/beagle/kernel/linux-omap-2.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/terry/Desktop/beagle/SDK_BIN/OMAP35x_Graphics_SDK_setuplinux_3_01_00_07/GFX_Linux_KM'
make: *** [buildkernel] Error 2

I'm sure I set the path for kernelbuffer.h  in * EXTRA_CFLAGS, *so how can I
build the omaplfb?

2010/9/10 Stylianou, Costas <[email protected]>

>
> >>
> >> What version of OpenGL ES do we have in MeeGo (1.1 or 2.0)?
> >depends on the hardware capabilities.....
>
> OK, for Moorestown (PVR graphics)
>
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
>
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to