public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*)
@ 2008-11-20 18:43 Ajit Mittal
  2008-11-20 18:43 ` Gary Thomas
  2008-11-20 19:29 ` Bart Veer
  0 siblings, 2 replies; 3+ messages in thread
From: Ajit Mittal @ 2008-11-20 18:43 UTC (permalink / raw)
  To: ecos-discuss

Getting error building ecos on Ubuntu 8.1. Please help
---------------------------------
root@lion:/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild# make
Making all in infra
make[1]: Entering directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
make  all-recursive
make[2]: Entering directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
Making all in testsuite
make[3]: Entering directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra/testsuite'
make[3]: Entering directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
/usr/bin/install -c -m 644 ../../host/infra/infra.h pkgconf/infra.h
/usr/bin/install -c -m 644 hostinfra.h pkgconf/hostinfra.h
/usr/bin/install -c -m 644 ../../host/infra/cyg_type.h cyg/infra/cyg_type.h
/usr/bin/install -c -m 644 ../../host/infra/basetype.h cyg/hal/basetype.h
/usr/bin/install -c -m 644 ../../host/infra/cyg_ass.h cyg/infra/cyg_ass.h
c++ -DHAVE_CONFIG_H -I. -I../../host/infra -I.    -pipe -Wall
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0  -c
../../host/infra/assert.cxx
cc1plus: warning: command line option "-Wbad-function-cast" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for
C/ObjC but not for C++
../../host/infra/assert.cxx: In function âvoid default_handler(const
char*, const char*, cyg_uint32, const char*)â:
../../host/infra/assert.cxx:253: error: âstrcpyâ was not declared in this scope
make[3]: *** [assert.o] Error 1
make[3]: Leaving directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
make: *** [all-recursive] Error 1
root@lion:/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild#
make > ecosfail.txt
cc1plus: warning: command line option "-Wbad-function-cast" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for
C/ObjC but not for C++
../../host/infra/assert.cxx: In function âvoid default_handler(const
char*, const char*, cyg_uint32, const char*)â:
../../host/infra/assert.cxx:253: error: âstrcpyâ was not declared in this scope
make[3]: *** [assert.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1
---------------------------------------------------------

Thanks

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error  default_handler(const char*, const char*, cyg_uint32, const char*)
  2008-11-20 18:43 [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*) Ajit Mittal
@ 2008-11-20 18:43 ` Gary Thomas
  2008-11-20 19:29 ` Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2008-11-20 18:43 UTC (permalink / raw)
  To: Ajit Mittal; +Cc: ecos-discuss

Ajit Mittal wrote:
> Getting error building ecos on Ubuntu 8.1. Please help
> ---------------------------------
> root@lion:/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild# make
> Making all in infra
> make[1]: Entering directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> make  all-recursive
> make[2]: Entering directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> Making all in testsuite
> make[3]: Entering directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra/testsuite'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra/testsuite'
> make[3]: Entering directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> /usr/bin/install -c -m 644 ../../host/infra/infra.h pkgconf/infra.h
> /usr/bin/install -c -m 644 hostinfra.h pkgconf/hostinfra.h
> /usr/bin/install -c -m 644 ../../host/infra/cyg_type.h cyg/infra/cyg_type.h
> /usr/bin/install -c -m 644 ../../host/infra/basetype.h cyg/hal/basetype.h
> /usr/bin/install -c -m 644 ../../host/infra/cyg_ass.h cyg/infra/cyg_ass.h
> c++ -DHAVE_CONFIG_H -I. -I../../host/infra -I.    -pipe -Wall
> -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0  -c
> ../../host/infra/assert.cxx
> cc1plus: warning: command line option "-Wbad-function-cast" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-prototypes" is valid
> for Ada/C/ObjC but not for C++
> cc1plus: warning: command line option "-Wnested-externs" is valid for
> C/ObjC but not for C++
> ../../host/infra/assert.cxx: In function âvoid default_handler(const
> char*, const char*, cyg_uint32, const char*)â:
> ../../host/infra/assert.cxx:253: error: âstrcpyâ was not declared in this scope
> make[3]: *** [assert.o] Error 1
> make[3]: Leaving directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild/infra'
> make: *** [all-recursive] Error 1
> root@lion:/usr/src/redboot-build/redboot-intel-ixp4xx-070320/ecbuild#
> make > ecosfail.txt
> cc1plus: warning: command line option "-Wbad-function-cast" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-prototypes" is valid
> for Ada/C/ObjC but not for C++
> cc1plus: warning: command line option "-Wnested-externs" is valid for
> C/ObjC but not for C++
> ../../host/infra/assert.cxx: In function âvoid default_handler(const
> char*, const char*, cyg_uint32, const char*)â:
> ../../host/infra/assert.cxx:253: error: âstrcpyâ was not declared in this scope
> make[3]: *** [assert.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive-am] Error 2
> make: *** [all-recursive] Error 1
> ---------------------------------------------------------

How did you configure eCos (target, template, etc)?


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*)
  2008-11-20 18:43 [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*) Ajit Mittal
  2008-11-20 18:43 ` Gary Thomas
@ 2008-11-20 19:29 ` Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Veer @ 2008-11-20 19:29 UTC (permalink / raw)
  To: Ajit Mittal; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

>>>>> "Ajit" == Ajit Mittal <ajitmittal@gmail.com> writes:

    Ajit> Getting error building ecos on Ubuntu 8.1. Please help
    <snip>
    Ajit> ../../host/infra/assert.cxx:253: error: âstrcpyâ was not declared in this scope
    Ajit> make[3]: *** [assert.o] Error 1
    Ajit> make[2]: *** [all-recursive] Error 1
    Ajit> make[1]: *** [all-recursive-am] Error 2
    Ajit> make: *** [all-recursive] Error 1
    Ajit> ---------------------------------------------------------

First, what you are building here is the host-side support tools and
not eCos itself. If that was not your intention then you need to read
some more documentation first.

Second, that problem should have been fixed in the current anoncvs
sources since 2008-08-14. Are you using up-to-date sources?

Bart

-- 
Bart Veer                                   eCos Configuration Architect
eCosCentric Limited    The eCos experts      http://www.ecoscentric.com/
Barnwell House, Barnwell Drive, Cambridge, UK.      Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2008-11-20 19:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20 18:43 [ECOS] Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*) Ajit Mittal
2008-11-20 18:43 ` Gary Thomas
2008-11-20 19:29 ` Bart Veer

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