2008-11-03 11:53:29     bf548 directfb compile error __u32 unknown

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-03 11:53:29     bf548 directfb compile error __u32 unknown

David Calvery (UNITED STATES)

Message: 64638   

 

I'm getting the following compilation error with kernel version 5567 and uClinux version 7303.

 

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../DirectFB-1.1.1/inputdrivers/mutouch -I../../../DirectFB-1.1.1/include -I../../lib -I../../../DirectFB-1.1.1/lib -I../../../DirectFB-1.1.1/src -D_REENTRANT -DEMBED -D__uClinux__ -I/home/me/blackfin/sources/uclinux-dist -mcpu=bf548-0.0 -ffast-math -pipe -pipe -Wall -O2 -mcpu=bf548-0.0 -D_GNU_SOURCE -Werror-implicit-function-declaration -c ../../../DirectFB-1.1.1/inputdrivers/mutouch/mutouch.c  -fPIC -DPIC -o .libs/mutouch.o

In file included from ../../../DirectFB-1.1.1/inputdrivers/mutouch/mutouch.c:59:

/home/me/blackfin/sources/build/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/linux/serial.h:164: error: expected specifier-qualifier-list before '__u32'

 

 

The referenced linux/serial.h file declares a struct that uses but has no definition of type __u32.

QuoteReplyEditDelete

 

 

2008-11-03 11:57:41     Re: bf548 directfb compile error __u32 unknown

Mike Frysinger (UNITED STATES)

Message: 64640   

 

add '#include <linux/types.h>' to the top of the serial.h

Attachments

    Outcomes