This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trying to build ecos on ubuntu 8.1 and getting this error default_handler(const char*, const char*, cyg_uint32, const char*)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]