AnsweredAssumed Answered

DRIVER ILI9341 for DT028ATFT LCD MODULE

Question asked by PRAMOD KUMAR on May 21, 2015

hii

when i m trying compile ili9341.c driver on imx233  its producing error plz tell me how to resolve  find the attach driver

 

 

make[1]: Entering directory `/usr/src/linux-2.6.35-8-ARCH+'

make[1]: Warning: File `/usr/src/linux-2.6.35-8-ARCH+/arch/arm/Makefile' has modification time 1348222983 s in the future

make[2]: Warning: File `scripts/Makefile.lib' has modification time 1348220769 s in the future

  CC [M]  /home/ili9341/ili93411.o

In file included from /home/ili9341/ili9341.c:13:0:

/home/ili9341/fb.h:829:27: warning: declaration does not declare anything [enabled by default]

/home/ili9341/fb.h:872:1: warning: useless storage class specifier in empty declaration [enabled by default]

/home/ili9341/ili93411.c:393:1: warning: initialization from incompatible pointer type [enabled by default]

/home/ili9341/ili93411.c:393:1: warning: (near initialization for �..ili9341_ops.fb_read�..) [enabled by default]

/home/ili9341/ili93411.c:399:8: error: variable �..ili9341_defio�.. has initializer but incomplete type

/home/ili9341/ili93411.c:400:1: error: unknown field �..delay�.. specified in initializer

/home/ili9341/ili93411.c:400:1: warning: excess elements in struct initializer [enabled by default]

/home/ili9341/ili93411.c:400:1: warning: (near initialization for �..ili9341_defio�..) [enabled by default]

/home/ili9341/ili93411.c:401:1: error: unknown field �..deferred_io�.. specified in initializer

/home/ili9341/ili93411.c:401:1: warning: excess elements in struct initializer [enabled by default]

/home/ili9341/ili93411.c:401:1: warning: (near initialization for �..ili9341_defio�..) [enabled by default]

/home/ili9341/ili93411.c: In function �..ili9341_probe�..:

/home/ili9341/ili93411.c:411:1: error: implicit declaration of function �..vzalloc�.. [-Werror=implicit-function-declaration]

/home/ili9341/ili93411.c:411:6: warning: assignment makes pointer from integer without a cast [enabled by default]

/home/ili9341/ili93411.c:430:14: error: dereferencing pointer to incomplete type

/home/ili9341/ili93411.c: At top level:

/home/ili9341/ili93411.c:190:13: warning: �..ili9341_update_display_area�.. defined but not used [-Wunused-function]

/home/ili9341/ili93411.c:223:13: warning: �..ili9341_update_display_color_area�.. defined but not used [-Wunused-function]

cc1: some warnings being treated as errors

make[2]: *** [/home/ili9341/ili93411.o] Error 1

make[1]: *** [_module_/home/ili9341] Error 2

make[1]: Leaving directory `/usr/src/linux-2.6.35-8-ARCH+'

make: *** [all] Error 2

 

 

 

THANKS & regards

Original Attachment has been moved to: ili93411.c.zip

Outcomes