[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing features.h



> From: "Pieter Grimmerink" <mailinglists@xxxxxxx.nl>
> Date: Wed, 23 Oct 2002 23:22:03 +0200

> > From: Hans-Peter Nilsson [mailto:hans-peter.nilsson@xxxxxxx.com]
> > Sent: woensdag 23 oktober 2002 19:34
> > An example program would help understanding what's wrong.
> 
> This (below)

Thanks.

> should do (specify -D_BSD_SOURCE and -D_XOPEN_SOURCE=500 in
> CFLAGS)
> Everything works except CRTSCTS.

Once I removed the naked "int" and "char *" in main () (to avoid
the warnings), it compiled fine using "gcc-cris -mlinux ub.c -o
ub" with and without "-D_BSD_SOURCE -D_XOPEN_SOURCE=500".

Unless you used other compiler options (please tell), something
seems be wrong with your cris-dist installation.

brgds, H-P