Sergev,
It appears that you are using GNU gcc/g++ version 2.8.0. The gdd code is compiled/linked correctly
by the GNU tools on our system with the following version numbers.
EPICS R3.13.0.beta12
% uname -a
SunOS kingjohn 5.6 Generic sun4u sparc SUNW
% g++ -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1
I have heard that early versions of gcc/g++ version 2.8 were quite buggy. It is possible that
you will need to upgrade to a current release of gcc/g++ version 2.8. Also make certain that
your version of the gnu C++ standard library is compatible with your version of g++.
Jeff
On Wednesday, August 05, 1998 8:57 AM, Sergey Kuznetsov [SMTP:[email protected]] wrote:
> Hello all,
>
> We are compiling EPICS 3.13.0.beta12 with Tornado 1.0.1 under Solaris.
>
> We have compilation error:
>
>
> /usr/local/bin/g++ -ansi -pedantic -Wtraditional -o genApps -O -Wall
> -Wmissing-prototypes -Woverloaded-virtual -Wwrite-strings -Wconversion
> -Wstrict-prototypes -Wpointer-arith -Winline -DSOLARIS -DUNIX
> -DEXPL_TEMPL -I. -I.. -I../../../include
> -I../../../include/os/solaris genApps.o gdd.o gddTest.o
> gddAppTable.o gddNewDel.o gddAppDefs.o aitTypes.o aitConvert.o
> aitHelpers.o gddArray.o gddContainer.o gddErrorCodes.o gddUtils.o
> ld: fatal: symbol `__default_unexpected__Fv' is multiply defined:
> (file /usr/local/lib/libstdc++.a(exceptioni.o) and file
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
>
> ld: fatal: symbol `terminate__Fv' is multiply defined:
> (file /usr/local/lib/libstdc++.a(exceptioni.o) and file
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
>
> ld: fatal: symbol `set_terminate__FPFv_v' is multiply defined:
> (file /usr/local/lib/libstdc++.a(exceptioni.o) and file
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
>
> ld: fatal: symbol `set_unexpected__FPFv_v' is multiply defined:
> (file /usr/local/lib/libstdc++.a(exceptioni.o) and file
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
>
> ld: fatal: symbol `unexpected__Fv' is multiply defined:
> (file /usr/local/lib/libstdc++.a(exceptioni.o) and file
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.0/libgcc.a(exception.o));
>
> ld: fatal: File processing errors. No output written to genApps
> gmake[3]: *** [genApps] Error 1
> gmake[3]: Leaving directory `/users/epics/base/src/gdd/O.solaris'
> gmake[2]: *** [inc.solaris] Error 2
> gmake[2]: Leaving directory `/users/epics/base/src/gdd'
> gmake[1]: *** [gdd.inc] Error 2
>
> The CONFIG_SITE file definitions are:
>
> # Client ANSI C Compiler (for Host builds)
> # GCC (gcc -ansi) GNU
> # ACC (acc) OS VENDOR
> # HPACC (cc -Aa) OTHER VENDOR
> #ANSI=HPACC
> ANSI=GCC
>
> # C++ Compiler (for Host builds)
> # G++ (g++) GNU C++
> # CCC (CC) OS VENDOR C++
> #CPLUSPLUS=G++
> #Note: if CPLUSPLUS is empty then C++ src codes are not built
> #CPLUSPLUS= # use this if site does not have C++ compiler
> CPLUSPLUS=G++
>
> What is the right way to configure compiler?
>
> Many thanks,
>
> Sergey Kuznetsov.
>
> SNS project
>
> [email protected]
>
- Navigate by Date:
- Prev:
Meeting in Berlin. Bob Dalesio
- Next:
Resman problems... donner
- 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:
R3.13.0.beta12 and C++ libraries Sergey Kuznetsov
- Next:
Using PC to control CAMAC serial highway Lancaster, Christy A
- 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
|