Zhao Zhuo wrote:
> I'm building base3.14.5 for vxworks-ppc604 on solaris 8 SUN Workstation with gcc.
> However it showed the following error,why?
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `cerr'
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `logic_error virtual table'
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `endl(ostream &)'
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `__out_of_range(char const *)'
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `ostream::operator<<(char const *)'
> /export/home/zhaozhuo/gateway/base-3.14.5/lib/solaris-sparc-gnu//libCom.so: undefined reference to `__length_error(char const *)'
Your errors are actually from building one of the host tools for your
solaris-sparc-gnu target, and probably mean that you're going to have to
upgrade the gcc and g++ version on the Solaris workstation. This is
nothing to do with vxWorks at all, it's related to the compiler that
builds code to run on Solaris. The upgrade will not cost any money, but
will have to be done by your Solaris systems administrator.
What is the version of your current g++ on your workstation? Run this
command and send us the output:
/usr/local/bin/g++ --version
I don't know what the earliest version of gcc that will work is, at APS
we're now using gcc 3.2 or later on all our systems.
- Andrew
--
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night. That was really cool. - Caro
- Replies:
- Re: building base3.14.5 Ralph Lange
- References:
- building base3.14.5 Zhao Zhuo
- Navigate by Date:
- Prev:
building base3.14.5 Zhao Zhuo
- Next:
RE: Compiler switches on RISC byte alignment Fairley, Diane
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
building base3.14.5 Zhao Zhuo
- Next:
Re: building base3.14.5 Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|