This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Building Insight-5.0 for an x86 target under Cygwin
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Building Insight-5.0 for an x86 target under Cygwin
- From: "Ramapriya Rangachar" <ramapriya1 at hotmail dot com>
- Date: Sun, 21 Oct 2001 09:44:12 +0000
HI All
I'm having a problem building Insight for ECOS 1.3.1 under Cygwin+Win2k.
My Cygwin version is: 1.3.3(0.46/3/2)
This is the error I get when trying to build Insight for an x86-target.
______________________________________________________________________
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c: In function `pexecute':
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:375: warning: implicit
declaration of function `_pipe'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:423: warning: assignment
discards qualifiers from pointer target type
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:358: warning: unused
variable `sleep_interval'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:358: warning: unused
variable `retries'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:350: warning: unused
parameter `this_pname'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:351: warning: unused
parameter `temp_base'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:356: warning: `org_stdin'
might be used uninitialized in this function
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:356: warning: `org_stdout'
might be used uninitialized in this function
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c: In function `pwait':
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:439:
warning: unused parameter `pid'
/c/ECOS/src/gdb/insight-5.0/libiberty/pexecute.c:441: warning: unused
parameter `flags'
test
x"no" != xyes || \
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W -Wall
-Wtraditional /c/ECOS/src/gdb/insight-5.0/libiberty/spaces.c -o
pic/spaces.o
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W -Wall -Wtraditional
/c/ECOS/src/gdb/insight-5.0/libiberty/spaces.c
test x"no" != xyes || \
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W
-Wall -Wtraditional /c/ECOS/src/gdb/insight-5.0/libiberty/splay-tree.c -o
pic/splay-tree.o
gcc -mwin32 -c -DHAVE_CONFIG_H -g
-O2 -I. -I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W -Wall
-Wtraditional
/c/ECOS/src/gdb/insight-5.0/libiberty/splay-tree.c
test x"no" != xyes || \
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W -Wall -Wtraditional
/c/ECOS/src/gdb/insight-5.0/libiberty/strerror.c
-o pic/strerror.o
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/c/ECOS/src/gdb/insight-5.0/libiberty/../include -W -Wall
-Wtraditional /c/ECOS/src/gdb/insight-5.0/libiberty/strerror.c
/c/ECOS/src/gdb/insight-5.0/libiberty/strerror.c:461:
conflicting types for `sys_errlist'
/usr/include/sys/errno.h:23: previous declaration of `sys_errlist'
make[1]: ***
[strerror.o] Error 1
make[1]: Leaving directory `/tmp/build/gdb/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving
directory `/tmp/build/gdb'
______________________________________________________________________
Can anyone help me fix this ?
Thanks
Ram
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp