[ECOS] Re: build problems on solaris2.5.1
Bart Veer
bartv@cygnus.co.uk
Fri Feb 5 11:50:00 GMT 1999
>>>>> "Bart" == Bart Veer <bartv@cygnus.co.uk> writes:
Zubin> Has anyone tried to build the ecos development tools (unix)
Zubin> on sun solaris 2.5.1?
Zubin> The build process hangs in the configure script after the
Zubin> line:
Zubin> "checking for location of SCCS get command"
Bart> Under Solaris 2.6 I can happily configure and make an
Bart> mn10300 toolchain. The PowerPC toolchain also configures
Bart> happily but there is some sort of problem building the
Bart> simulator - termio vs. termios confusion. It sounds like you
Bart> are running into a very different problem.
The termio vs. termios problem has already been sorted out in the
latest version of the simulator sources. A suitable patch is enclosed
below and should be applied in the sim/ppc directory. The patch is
not appropriate for people running RedHat 5.0, but may be useful on
certain other Unix systems such as Solaris.
This will not solve Zubin's original problem of the configure script
hanging, I am currently waiting for more information about that one.
Bart Veer // eCos net maintainer
*** emul_unix.c.bak Fri Feb 5 14:28:44 1999
--- emul_unix.c Fri Feb 5 14:29:03 1999
***************
*** 1,6 ****
/* This file is part of the program psim.
! Copyright (C) 1996-1997, Andrew Cagney <cagney@highland.com.au>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
--- 1,6 ----
/* This file is part of the program psim.
! Copyright (C) 1996-1998, Andrew Cagney <cagney@highland.com.au>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
***************
*** 82,93 ****
time. */
#undef HAVE_TERMIO_STRUCTURE
#undef TCGETA
- /* FIXME: This breaks RedHat 5.0 builds, so disable it. */
- #if 0
#undef termio
#define termio termios
#endif
- #endif
#ifndef HAVE_TERMIO_STRUCTURE
#undef HAVE_SYS_TERMIO_H
--- 82,90 ----
***************
*** 110,119 ****
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
int getrusage();
- #endif
-
- #if HAVE_SYS_MOUNT_H
- #include <sys/mount.h>
#endif
#if HAVE_DIRENT_H
--- 107,112 ----
More information about the Ecos-discuss
mailing list