[ace-users] A problem while I build the ACE in linux! How to fix it.

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Sun Jun 24 15:02:09 CDT 2007


Hi,

>I think I have the same problem on the new INSTALLING ubuntu Feisty, g+
>+ 4.1.2, x86 platform.
>
>$ g++ --version
>g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
>Copyright (C) 2006 Free Software Foundation, Inc.
>
>Thank you.
>
>ACE-5.5+TAO-1.5+CIAO-0.5.tar.gz

Please upgrade to ACE+TAO+CIAO x.5.8 (i.e., ACE 5.5.8, TAO 1.5.8, and
CIAO 0.5.8), which you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Beta Kit".

The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO commercial
support.

Thanks,

        Doug


>It is ok on the Debian Etch.
>
>Shall I try the BETA version again?
>
>config-linux.h and the platform_linux.GNU for the make file
>
>Others unchanged any.
>
>REAL CLEAN BUILD.
>The script tried to remove the $ACE_ROOT at the beginning of
>compiling.
>
>Almost exactly,
>
>g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-
>arith -O3 -g -pipe    -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE
>-I/home/hwang32/install/ACE -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -
>I../..  -Wl,-E -L/home/hwang32/install/ACE/ace -L./ -L. -L../../lib -o
>soreduce .obj/Signature.o .obj/Sig_List.o .obj/Obj_Module.o .obj/
>Library.o .obj/SO_Group.o .obj/soreduce.o -lACE  -ldl -lpthread -lrt
>.obj/Library.o: In function `Library::write_export_list(int)':
>/home/hwang32/install/ACE/apps/soreduce/Library.cpp:332: undefined
>reference to `std::basic_ofstream<char, std::char_traits<char>
>>::~basic_ofstream()'
>/home/hwang32/install/ACE/apps/soreduce/Library.cpp:342: undefined
>reference to `std::basic_ofstream<char, std::char_traits<char>
>>::~basic_ofstream()'
>/home/hwang32/install/ACE/apps/soreduce/Library.cpp:342: undefined
>reference to `std::basic_ofstream<char, std::char_traits<char>
>>::~basic_ofstream()'
>/home/hwang32/install/ACE/apps/soreduce/Library.cpp:332: undefined
>reference to `std::basic_ofstream<char, std::char_traits<char>
>>::~basic_ofstream()'
>/usr/bin/ld: soreduce: hidden symbol `std::basic_ofstream<char,
>std::char_traits<char> >::~basic_ofstream()' isn't defined
>/usr/bin/ld: final link failed: Nonrepresentable section on output
>collect2: ld    1
>make[3]: *** [soreduce]    1
>make[3]: Leaving directory `/home/hwang32/install/ACE/apps/soreduce'
>make[2]: *** [soreduce]    2
>make[2]: Leaving directory `/home/hwang32/install/ACE/apps/soreduce'
>make[1]: *** [all]    2
>make[1]: Leaving directory `/home/hwang32/install/ACE/apps'
>make: *** [all]    2
>
>
>On 6 6 ,   10 37 , schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
>wrote:
>> Hi,
>>
>> To ensure that we have proper version/platform/compiler information,
>> please make sure you fill out the appropriate problem report form
>> (PRF), which is in
>>
>> $ACE_ROOT/PROBLEM-REPORT-FORM
>> $TAO_ROOT/PROBLEM-REPORT-FORM
>>
>> or in
>>
>> $ACE_ROOT/BUG-REPORT-FORM
>> $TAO_ROOT/BUG-REPORT-FORM
>>
>> in older versions of ACE+TAO.  Make sure to include this information
>> when asking any questions about ACE+TAO since otherwise we have to
>> "guess" what version/platform/compiler/options you've using, which is
>> very error-prone and slows down our responsiveness.  If you don't use
>> the PRF, therefore, it is less likely that someone from the core
>> ACE+TAO developer team will be able to answer your question.
>> Naturally, we encourage and appreciate other members of the ACE+TAO
>> user community who can respond to questions that they have the answers
>> to.
>>
>> Thanks,
>>
>>         Doug
>>
>>
>>
>> >Making all in soreduce
>> >make[2]: Entering directory `/home/korobase/soft/ACE_wrappers/build/
>> >apps/soreduce'
>> >/bin/bash ../../libtool --mode=link --tag=CXX g++  -W -Wall -Wpointer-
>> >arith -fvisibility=hidden -fvisibility-inlines-hidden  -g -O2 -pthread
>> >-pipe -O3   -o soreduce  soreduce-Library.o soreduce-Obj_Module.o
>> >soreduce-SO_Group.o soreduce-Sig_List.o soreduce-Signature.o soreduce-
>> >soreduce.o ../../ace/libACE.la -lrt -ldl
>> >g++ -W -Wall -Wpointer-arith -fvisibility=hidden -fvisibility-inlines-
>> >hidden -g -O2 -pipe -O3 -o .libs/soreduce soreduce-Library.o soreduce-
>> >Obj_Module.o soreduce-SO_Group.o soreduce-Sig_List.o soreduce-
>> >Signature.o soreduce-soreduce.o  -pthread ../../ace/.libs/libACE.so -
>> >lrt -ldl -Wl,--rpath -Wl,/usr/local/ace5.5/lib
>> >soreduce-Library.o: In function `Library::write_export_list(int)':
>> >/home/korobase/soft/ACE_wrappers/build/apps/soreduce/../../../apps/
>> >soreduce/Library.cpp:332: undefined reference to
>> >`std::basic_ofstream<char, std::char_traits<char>
>> >>::~basic_ofstream()'
>> >/home/korobase/soft/ACE_wrappers/build/apps/soreduce/../../../apps/
>> >soreduce/Library.cpp:342: undefined reference to
>> >`std::basic_ofstream<char, std::char_traits<char>
>> >>::~basic_ofstream()'
>> >/home/korobase/soft/ACE_wrappers/build/apps/soreduce/../../../apps/
>> >soreduce/Library.cpp:342: undefined reference to
>> >`std::basic_ofstream<char, std::char_traits<char>
>> >>::~basic_ofstream()'
>> >/home/korobase/soft/ACE_wrappers/build/apps/soreduce/../../../apps/
>> >soreduce/Library.cpp:332: undefined reference to
>> >`std::basic_ofstream<char, std::char_traits<char>
>> >>::~basic_ofstream()'
>> >/usr/bin/ld: .libs/soreduce: hidden symbol `std::basic_ofstream<char,
>> >std::char_traits<char> >::~basic_ofstream()' isn't defined
>> >/usr/bin/ld: final link failed: Nonrepresentable section on output
>> >collect2: ld returned 1 exit status
>> >make[2]: *** [soreduce] Error 1
>> >make[2]: Leaving directory `/home/korobase/soft/ACE_wrappers/build/
>> >apps/soreduce'
>> >make[1]: *** [all-recursive] Error 1
>> >make[1]: Leaving directory `/home/korobase/soft/ACE_wrappers/build/
>> >apps'
>> >make: *** [all-recursive] Error 1
>> >korobase at boyeestudio:~/soft/ACE_wrappers/build$
>>
>> --
>> Dr. Douglas C. Schmidt                       Professor and Associate Chair
>> Electrical Engineering and Computer Science  TEL: (615) 343-8197
>> Vanderbilt University                        WEB:www.dre.vanderbilt.edu/~schmidt
>> Nashville, TN 37203                          NET: d.schm... at vanderbilt.edu
>
>


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list