[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing headers
> From: "Cedric Stevens" <firstname.lastname@example.org>
> Date: Tue, 2 Dec 2003 20:37:41 +0200
> However, I seem unable to compile an application.
> The log is:
> /usr/local/cris/lib/gcc-lib/cris/2.96/include/termios.h:4:24: =
> sys/termios.h: No such file or directory
> controller.c:23:23: sys/socket.h: No such file or directory
> controller.c:28:23: netinet/in.h: No such file or directory
> controller.c:30:19: syslog.h: No such file or directory
> In file included from controller.c:35:
> utils.h:23:23: netinet/in.h: No such file or directory
> controller.c:42:17: tcpd.h: No such file or directory
> make: *** [controller.o] Error 1
> Why does the gcc-cris rpm not include termios.h and other related =
> headers under sys?
You didn't say how you tried to compile, but from the
include-path I guess you left out the "-mlinux" option.
You can also upgrade to latest devboard_82 sources and use
cris-dist-1.54 (recommended anyway), then use
cris-axis-linux-gnu-gcc to compile and you don't have to
remember it. That, or use the existing apps/ framework, as
mentioned by others.