[ntp:questions] linux/serial.h warning w/ 4.2.4p6

Uwe Klein uwe_klein_habertwedt at t-online.de
Mon Feb 2 17:00:06 UTC 2009


udovdh at gmail.com wrote:
> On Feb 1, 11:07 pm, Harlan Stenn <st... at ntp.org> wrote:
> 
>>If you can figure out what other headers are needed to run that test without
>>complaint I can add them to the test for this header in configure.ac
> 
> 
> I found:
> 
> configure:49412: checking linux/serial.h usability
> configure:49424: gcc -c -m32 -march=i686 -mtune=c3-2 -pipe -mmmx -msse
> -fomit-frame-pointer -ffast-math -finline-functions -mfpmath=sse,387 -
> Os -pie -fPIE  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -
> Wshadow -Wstrict-prototypes  conftest.c >&5
> In file included from conftest.c:246:
> /usr/include/linux/serial.h:184: error: expected specifier-qualifier-
> list before '__u32'

Which version of the linux kernel are you using?

I can compile the following code on all my boxes.
#################################

# include <linux/serial.h>


struct serial_rs485 *serial;

#################################

uwe




More information about the questions mailing list