Cubietruck - sunxi_gfx error

Hi,

I’ve been trying to compile retroarch on my cubietruck by using instructions from this thread. http://www.cubieforums.com/index.php/topic,2683.0.html

The instructions state the following.

git clone https://github.com/libretro/RetroArch.git --depth 1 
./configure --enable-sunxi --disable-opengl --disable-gles --enable-neon --disable-x11 --disable-sdl2 --enable-floathard --disable-ffmpeg --disable-netplay --enable-udev --disable-sdl --disable-pulse --disable-oss --disable-freetype --disable-7zip --disable-libxml2 --disable-parport

Then make and run.

I’ve gotten by the configure section successfully, however when running make I get the following error.

gfx/drivers/sunxi_gfx.c: In function âsunxi_set_texture_frameâ:
gfx/drivers/sunxi_gfx.c:899:18: error: âdst_widthâ undeclared (first use in this function)
    uint32_t line[dst_width];
                  ^
gfx/drivers/sunxi_gfx.c:899:18: note: each undeclared identifier is reported only once for each function it appears in
Makefile:103: recipe for target 'obj-unix/gfx/drivers/sunxi_gfx.o' failed
make: *** [obj-unix/gfx/drivers/sunxi_gfx.o] Error 1

Maybe it’s something obvious I’m missing, but I’d very much appreciate any help in trying to get this working. Thanks.