public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Installing eCos ARM SWtools under Red Hat 6.0
@ 1999-10-03 19:48 Trevor Kilgore
  1999-10-04  4:11 ` Jesper Skov
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Kilgore @ 1999-10-03 19:48 UTC (permalink / raw)
  To: ecos-discuss

Hi folks,

I have no idea what I could be doing wrong and was hoping someone could show 
me the error in my ways.

I am merely trying to build the ecosSWtools-arm-990321-src.tar.gz from the 
cygnus website ( http://sourceware.cygnus.com/ecos/install-linux.html ) on to 
Linux 6.0.  I could type the steps I followed but that would waste time and 
might even confuse things more because I followed every instruction from the 
web site exactly.  In fact, I have done these instructions dozens of times, 
even after reinstalling Lunix all those times just to make sure any previous 
errors were not "carried over".

I initially thought I had a problem with the patch but that does not seem to 
be the case.  I also have over 350M of mem before the make so memory should 
not be an issue either.

Anyway, I get the following message in my make.out file:

---------------- snip ------------------------------------

make[2]: Leaving directory `/tmp/build/tcl/unix'
make[1]: Leaving directory `/tmp/build/tcl'
make[1]: Entering directory `/tmp/build/tk'
make[2]: Entering directory `/tmp/build/tk/unix'
gcc -c -g -O2   -I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix 
-I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../generic 
-I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../bitmaps 
-I/usr/cygnus/ecosSWtools-arm-990321/src/tcl/generic  -DHAVE_UNISTD_H=1 
-DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 
-DTIME_WITH_SYS_TIME=1      
/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/tkAppInit.c
In file included from 
/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/tkAppInit.c:16:
/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../generic/tk.h:77: 
X11/Xlib.h: No such file or directory
make[2]: *** [tkAppInit.o] Error 1
make[2]: Leaving directory `/tmp/build/tk/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/tk'
make: *** [all-tk] Error 2
make: Leaving directory `/tmp/build'

--------------------------------------------------------------------

I don't know if it matters but the only files in `/tmp/build/tk/unix' are:  
Makefile, config.log, config.status, and tkConfig.sh

Again, I am following all the steps as they are written on the web site and 
am making sure to follow all the "ARM" steps for installation in particular.

There were also some failed procedures in config.log from /tmp/build/tk/unix 
that might be relevant.

attached is config.log from /tmp/build/tk/unix, along with configure.out and 
make.out from /tmp/build

Thanks in advance,

Trevor



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:583: checking host system type
configure:604: checking target system type
configure:622: checking build system type
configure:647: checking for gcc
configure:760: checking whether the C compiler (gcc -g -O2 ) works
configure:776: gcc -o conftest -g -O2   conftest.c  1>&5
configure:802: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
configure:807: checking whether we are using GNU C
configure:835: checking whether gcc accepts -g
configure:878: checking for a BSD compatible install
configure:949: checking for ranlib
configure:1212: checking how to run the C preprocessor
configure:1295: checking for unistd.h
configure:1295: checking for limits.h
configure:1396: checking stdlib.h
configure:1459: checking fd_set and sys/select
configure:1468: gcc -c -g -O2  conftest.c 1>&5
configure:1512: checking for ANSI C header files
configure:1616: checking for mode_t
configure:1649: checking for pid_t
configure:1682: checking for size_t
configure:1715: checking for uid_t in sys/types.h
configure:1757: checking for sys/time.h
configure:1794: checking whether time.h and sys/time.h may both be included
configure:1843: checking for X
configure:1910: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1906: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 1905 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:1986: gcc -o conftest -g -O2   conftest.c -lXt  1>&5
/usr/bin/ld: cannot open -lXt: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1979 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:2101: checking for X11 header files
configure:2109: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2105: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 2104 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:2145: checking for X11 libraries
configure:2165: checking for XCreateWindow in -lXwindow
configure:2184: gcc -o conftest -g -O2   conftest.c -lXwindow   1>&5
/usr/bin/ld: cannot open -lXwindow: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2173 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XCreateWindow();

int main() {
XCreateWindow()
; return 0; }
configure:2331: checking for main in -lXbsd
configure:2346: gcc -o conftest -g -O2   conftest.c -lXbsd   1>&5
/usr/bin/ld: cannot open -lXbsd: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2339 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2370: checking for socket libraries
configure:2674: checking for sin
configure:2723: checking for main in -lieee
configure:2765: checking whether char is unsigned
configure:2836: checking for strtod
configure:2886: checking for Solaris 2.4 strtod bug
configure:2906: gcc -o conftest -g -O2   conftest.c  1>&5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Installing eCos ARM SWtools under Red Hat 6.0
  1999-10-03 19:48 [ECOS] Installing eCos ARM SWtools under Red Hat 6.0 Trevor Kilgore
@ 1999-10-04  4:11 ` Jesper Skov
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Skov @ 1999-10-04  4:11 UTC (permalink / raw)
  To: Trevor Kilgore; +Cc: ecos-discuss

Trevor> I have no idea what I could be doing wrong and was hoping
Trevor> someone could show me the error in my ways.

Trevor> ---------------- snip ------------------------------------

Trevor> make[2]: Leaving directory `/tmp/build/tcl/unix' make[1]:
Trevor> Leaving directory `/tmp/build/tcl' make[1]: Entering directory
Trevor> `/tmp/build/tk' make[2]: Entering directory
Trevor> `/tmp/build/tk/unix' gcc -c -g -O2
Trevor> -I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix
Trevor> -I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../generic
Trevor> -I/usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../bitmaps
Trevor> -I/usr/cygnus/ecosSWtools-arm-990321/src/tcl/generic
Trevor> -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1
Trevor> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
Trevor> /usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/tkAppInit.c In
Trevor> file included from
Trevor> /usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/tkAppInit.c:16:
Trevor> /usr/cygnus/ecosSWtools-arm-990321/src/tk/unix/../generic/tk.h:77:
Trevor> X11/Xlib.h: No such file or directory make[2]: ***
Trevor> [tkAppInit.o] Error 1 make[2]: Leaving directory
Trevor> `/tmp/build/tk/unix' make[1]: *** [all] Error 2 make[1]:
Trevor> Leaving directory `/tmp/build/tk' make: *** [all-tk] Error 2
Trevor> make: Leaving directory `/tmp/build'

It would seem that you don't have the X development kit installed. On
my box:

thinktwice:> rpm -qf /usr/include/X11/Xlib.h 
XFree86-devel-3.3.3.1-49

Try to get that package (or whichever version matches your X
installation).

Jesper

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-04  4:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-03 19:48 [ECOS] Installing eCos ARM SWtools under Red Hat 6.0 Trevor Kilgore
1999-10-04  4:11 ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).