public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]Compiler erros with cygwin
@ 2001-02-05 18:39 james chen
  2001-02-06  5:23 ` Jonathan Larmour
  2001-02-08  1:36 ` Masashi Ichikawa
  0 siblings, 2 replies; 5+ messages in thread
From: james chen @ 2001-02-05 18:39 UTC (permalink / raw)
  To: ecos-discuss

I use configuration tool to configure a target of 'Linux synthetic target',
when I compiler it, it occurs the following message, any one can help me to
resolve it? I run configuration tool and cygwin in windows98. I also try
three versions of gcc( 2.95-2, 2.95-6, 2.95-7) in cygwin, and the result is
same.

Thanks

james chen

=======================================================================
......
headers finished

////////////////////

make -r -C hal/common/v1_3_1 build
make[1]: Entering directory `/test/test/test_build/hal/common/v1_3_1'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory `/test/test/test_build/hal/common/v1_3_1'
make -r -C io/common/v1_3_1 build
make[1]: Entering directory `/test/test/test_build/io/common/v1_3_1'
gcc -c  -I//I/ecos_current/test/test_install/include -I//D/PROGRA~1/REDHAT~1
/eCos/packages/io/common/v1_3_1 -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/com
mon/v1_3_1/src -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/tests 
-I. -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ -Wall -Wpoin
ter-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -
ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -fi
nit-priority -Wp,-MD,src/ioinit.tmp -o src/io_common_ioinit.o
file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx
file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:0:
warning: -ffunction-sections may affect debugging on some targets.
file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
Internal compiler error.
file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
Please submit a full bug report.
file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
make[1]: *** [src/ioinit.o.d] Error 1
make[1]: Leaving directory `/test/test/test_build/io/common/v1_3_1'
make: *** [build] Error 2




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

* Re: [ECOS]Compiler erros with cygwin
  2001-02-05 18:39 [ECOS]Compiler erros with cygwin james chen
@ 2001-02-06  5:23 ` Jonathan Larmour
  2001-02-06  5:40   ` Fabrice Gautier
  2001-02-08  1:36 ` Masashi Ichikawa
  1 sibling, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2001-02-06  5:23 UTC (permalink / raw)
  To: james chen; +Cc: ecos-discuss

james chen wrote:
> 
> I use configuration tool to configure a target of 'Linux synthetic target',
> when I compiler it, it occurs the following message, any one can help me to
> resolve it? I run configuration tool and cygwin in windows98. I also try
> three versions of gcc( 2.95-2, 2.95-6, 2.95-7) in cygwin, and the result 
> same.

This is potentially because you are trying to generate linux native
executables using a cygwin native compiler! You need to build a
cygwin->linux cross compiler. I believe
http://sources.redhat.com/ecos/tools/win-i386-elf.html should build a
compiler you can use, although you may need to change the
CYGBLD_GLOBAL_PREFIX CDL variable.

Jifl

> Thanks
> 
> james chen
> 
> =======================================================================
> ......
> headers finished
> 
> ////////////////////
> 
> make -r -C hal/common/v1_3_1 build
> make[1]: Entering directory `/test/test/test_build/hal/common/v1_3_1'
> make[1]: Nothing to be done for `build'.
> make[1]: Leaving directory `/test/test/test_build/hal/common/v1_3_1'
> make -r -C io/common/v1_3_1 build
> make[1]: Entering directory `/test/test/test_build/io/common/v1_3_1'
> gcc -c  -I//I/ecos_current/test/test_install/include -I//D/PROGRA~1/REDHAT~1
> /eCos/packages/io/common/v1_3_1 -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/com
> mon/v1_3_1/src -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/tests
> -I. -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ -Wall -Wpoin
> ter-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -
> ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -fi
> nit-priority -Wp,-MD,src/ioinit.tmp -o src/io_common_ioinit.o
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:0:
> warning: -ffunction-sections may affect debugging on some targets.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> Internal compiler error.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> Please submit a full bug report.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
> instructions.
> make[1]: *** [src/ioinit.o.d] Error 1
> make[1]: Leaving directory `/test/test/test_build/io/common/v1_3_1'
> make: *** [build] Error 2

-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* Re: [ECOS]Compiler erros with cygwin
  2001-02-06  5:23 ` Jonathan Larmour
@ 2001-02-06  5:40   ` Fabrice Gautier
  0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Gautier @ 2001-02-06  5:40 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: james chen, ecos-discuss

On Tue, 06 Feb 2001 13:23:34 +0000
Jonathan Larmour <jlarmour@redhat.com> wrote:

> james chen wrote:
> > 
> > I use configuration tool to configure a target of 'Linux synthetic target',
> > when I compiler it, it occurs the following message, any one can help me to
> > resolve it? I run configuration tool and cygwin in windows98. I also try
> > three versions of gcc( 2.95-2, 2.95-6, 2.95-7) in cygwin, and the result 
> > same.
> 
> This is potentially because you are trying to generate linux native
> executables using a cygwin native compiler! You need to build a
> cygwin->linux cross compiler. I believe
> http://sources.redhat.com/ecos/tools/win-i386-elf.html should build a
> compiler you can use, although you may need to change the
> CYGBLD_GLOBAL_PREFIX CDL variable.
> 

I would also recommend the following Howto (updated recently):

* Building Linux dev tools hosted on Cygwin.
  http://www.nanotech.wisc.edu/~khan/software/gnu-win32/cygwin-to-linux-cross-howto.txt


Regards,


-- 
Fabrice Gautier <gautier@email.enstfr>

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

* Re: [ECOS]Compiler erros with cygwin
  2001-02-05 18:39 [ECOS]Compiler erros with cygwin james chen
  2001-02-06  5:23 ` Jonathan Larmour
@ 2001-02-08  1:36 ` Masashi Ichikawa
  2001-02-08  7:06   ` Olaf Peters
  1 sibling, 1 reply; 5+ messages in thread
From: Masashi Ichikawa @ 2001-02-08  1:36 UTC (permalink / raw)
  To: ecos-discuss

Hello, 

Recently, I started to build a package for our custom board.
To my trouble, when I try to install the package, config tool
reports the following error.

  Command Execution Error
  extracting pkgadd.db:
  /usr/bin/tar: Skipping to next header
  /usr/bin/tar: Error exit delayed from previous errors.

I can't guess the cause of this error. Does anybody have any 
advice? Any hints are welcome.

Thanks,
M.Ichikawa @ Sony Corporation.

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

* RE: [ECOS]Compiler erros with cygwin
  2001-02-08  1:36 ` Masashi Ichikawa
@ 2001-02-08  7:06   ` Olaf Peters
  0 siblings, 0 replies; 5+ messages in thread
From: Olaf Peters @ 2001-02-08  7:06 UTC (permalink / raw)
  To: Masashi Ichikawa, ecos-discuss

Hello Masashi,

>   Command Execution Error
>   extracting pkgadd.db:
>   /usr/bin/tar: Skipping to next header
>   /usr/bin/tar: Error exit delayed from previous errors.
> 
> I can't guess the cause of this error. Does anybody have any 
> advice? Any hints are welcome.

I had the same problem and tracked it down to the ecosadmin.tcl script,
that is used to add packages.

The solution is to do it by hand. That is to do the following in
the 'packages' directory of the eCos installation:

 gunzip < 'your'.epk | tar xvf -

Now manually add the pkgadd.db file to the ecos database ecos.db.

Olaf.

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

end of thread, other threads:[~2001-02-08  7:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-05 18:39 [ECOS]Compiler erros with cygwin james chen
2001-02-06  5:23 ` Jonathan Larmour
2001-02-06  5:40   ` Fabrice Gautier
2001-02-08  1:36 ` Masashi Ichikawa
2001-02-08  7:06   ` Olaf Peters

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).