[ace-users] problems compiling with gcc 4.1.1

Steve Huston shuston at riverace.com
Mon Aug 27 16:47:30 CDT 2007


Hi Hans,

Thank you for the PRF.

>        TAO VERSION: 1.5.10
>        ACE VERSION: 5.5.10
> 
>        HOST MACHINE and OPERATING SYSTEM: Linux RH Enterprise Linux
5
>        COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 4.1.1
> 
>        THE $ACE_ROOT/ace/config.h FILE:
>          config-linux.h
>        THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
>          platform_linux.GNU
> 
>        AREA/CLASS/EXAMPLE AFFECTED: compilation
> 
>        DOES THE PROBLEM AFFECT:
>             COMPILATION
> 
> SYNOPSIS:
> 
> Multiple tests & examples fail at link time due to 'undefined
> references'. Mostly in conjunction with ACE_Singleton<>. Looks like
a
> template instantiation problem.
> 
> Sorry, if this is a FAQ. I didn't find anything on the 
> building/installing ACE pages. But gcc 4.1.1 is the system 
> compiler of 
> RH Enterprise Linux 5. So I guess somebody else might already have
had
> similar problems...

There's a RHEL 5/gcc4.1 build on the scoreboard at:
http://www.dre.vanderbilt.edu/scoreboard/tao.html

Maybe you could check the options it uses and compare to yours. I
scanned the ChangeLog quickly for changes in this area since x.5.10 -
I didn't see anything that jumped out, but maybe when Johnny Willemsen
gets to work he can shed some light as well - Remedy runs the
above-mentioned RHEL 5 build.

-Steve

--
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
See http://www.riverace.com/sponsor.htm




More information about the Ace-users mailing list