[beagleboard] SGX - install problem - 1 out of 1 hunk FAILED

I have tried to exe . build_sgx_modules.sh on my pc development
but i got strange problems which i cannot find anyone who encounter
them before
this problem prevent me from running the sgx on my beagleboard


gt@gt-desktop:~/2.6-stable$ . build_sgx_modules.sh
OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin found
Extracted OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin found
1 out of 1 hunk FAILED -- saving rejects to file services4/3rdparty/
make -C /home/gt/2.6-stable/KERNEL/ M=`pwd`
make[1]: Entering directory `/home/gt/2.6-stable/KERNEL'
  LD /home/gt/2.6-stable/omap3-sgx-modules/services4/3rdparty/
  CC [M] /home/gt/2.6-stable/omap3-sgx-modules/services4/3rdparty/
bufferclass_ti/bc_cat.c: In function ‘bc_cat_init’:
bufferclass_ti/bc_cat.c:490: error: implicit declaration of function
make[3]: *** [/home/gt/2.6-stable/omap3-sgx-modules/services4/3rdparty/
bufferclass_ti/bc_cat.o] Error 1
make[2]: *** [/home/gt/2.6-stable/omap3-sgx-modules/services4/3rdparty/
bufferclass_ti] Error 2
make[1]: *** [_module_/home/gt/2.6-stable/omap3-sgx-modules] Error 2
make[1]: Leaving directory `/home/gt/2.6-stable/KERNEL'
make: *** [all] Error 2
cp: cannot stat `./pvrsrvkm.ko': No such file or directory
cp: cannot stat `./services4/3rdparty/dc_omap3430_linux/omaplfb.ko':
No such file or directory
cp: cannot stat `./services4/3rdparty/bufferclass_ti/
bufferclass_ti.ko': No such file or directory

So you edited the script from 3_01_00_02 to 3_01_00_06 and just
expected it to work? The errors are caused by patches specific
3_01_00_02 which no longer apply to _01_00_06..