On Feb 1, 11:07 pm, Harlan Stenn <[email protected]> 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'
This is about the first __u32 in:
struct serial_rs485 {
__u32 flags; /* RS485 feature flags */
#define SER_RS485_ENABLED (1 << 0)
#define SER_RS485_RTS_ON_SEND (1 << 1)
#define SER_RS485_RTS_AFTER_SEND (1 << 2)
__u32 delay_rts_before_send; /* Milliseconds */
__u32 padding[6]; /* Memory is cheap, new
structs
are a royal PITA .. */
};
Which is the serial.h at /lib/modules/2.6.28.2/build/include/linux/
serial.h which is needed to build ntpd with LinuxPPS support:
http://wiki.enneenne.com/index.php/LinuxPPS_installation#The_userland_tools
(i.e.: see the links)
Currently I don't know how what the solution is.
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions