From d.schmidt at vanderbilt.edu Tue Nov 21 14:22:52 2017 From: d.schmidt at vanderbilt.edu (Douglas C. Schmidt) Date: Tue, 21 Nov 2017 14:22:52 -0600 Subject: [ace-users] Problem for ACE in c++ In-Reply-To: References: Message-ID: <15991.1511295772@dre.vanderbilt.edu> Hi Filippo, Thanks very much for your email. Please make sure to send all questions related to ACE to the appropriate mailing list or newsgroup, rather than to me directly since I travel frequently and often don't have ready access to email. See http://www.dre.vanderbilt.edu/~schmidt/ACE-mail.html for more info on how to access these resources. In addition, 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. Make sure to include this information when asking any questions 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 developer team will be able to answer your question. Naturally, we encourage and appreciate other members of the ACE user community who can respond to questions that they have the answers to. > Would you be so kind as to give me examples of source code in c ++ > between exchanging information between a server and a client both > windows, There are *many* examples in ACE_ROOT/examples I recommend you check out the ACE_ROOT/examples/IPC_SAP for examples of how to communicate between a client and a server. > i have bought his book about ACE but i can not find this example I > look forward to hearing from you soon. I recommend you check out the examples in the C++NPv2 book, which is described at http://www.dre.vanderbilt.edu/~schmidt/ACE/book2 All the code examples from that book are available in ACE_ROOT/examples/C++NPv2 Thanks, Doug From ashutosh.z.kumar at oracle.com Mon Nov 27 22:56:57 2017 From: ashutosh.z.kumar at oracle.com (Ashutosh Kumar) Date: Tue, 28 Nov 2017 10:26:57 +0530 Subject: [ace-users] Symbol not found after upgrading ace version 6.4.3. Message-ID: Hi, To resolve the issue of undefined symbols for (ACE_Singleton::instance(), ACE_Singleton::instance_i(), ACE_Singleton::singleton_) I did explicit instantiation, i.e by adding the following lines into the file Based_Pointer_Repository.cpp, template ACE_Based_Pointer_Repository * ACE_Singleton::instance (void); template ACE_Singleton *& ACE_Singleton::instance_i (void); template ACE_Singleton * ACE_Singleton :: singleton_=0 ; Presently, getting the following error while starting the application. I have built ACE version 6.4.3 on AIX 6.1  machine. Could you please help to resolve this issue. Also, please suggest if any compiler option available for this. rtld: 0712-001 Symbol __ct__13ACE_SingletonXT28ACE_Based_Pointer_RepositoryT19ACE_RW_Thread_Mutex_Fv was referenced       from module /scratch/pin3050/opt/ifw/lib/libace64.a(), but a runtime definition       of the symbol was not found. _Sustem information:_ oslevel 6.1.0.0 _ Compiler version_ /usr/vacpp/bin/xlCcore_r -qversion IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0003 Thanks and Regards, Ashutosh -------------- next part -------------- An HTML attachment was scrubbed... URL: From shuston at riverace.com Tue Nov 28 09:20:33 2017 From: shuston at riverace.com (Steve Huston) Date: Tue, 28 Nov 2017 15:20:33 +0000 Subject: [ace-users] Symbol not found after upgrading ace version 6.4.3. In-Reply-To: References: Message-ID: <00BCD2BEF4977149A7C7303B4BAEBBE62332FD9D@ORD2MBX01D.mex05.mlsrvr.com> Our AIX 6 build is not seeing this problem (using XL C/C++ 10.1) Our AIX 7 build isn’t either (XL C++ 13.1.0.2) What config files are you using? -Steve From: ace-users [mailto:ace-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Ashutosh Kumar Sent: Monday, November 27, 2017 11:57 PM To: ace-users at list.isis.vanderbilt.edu Subject: [ace-users] Symbol not found after upgrading ace version 6.4.3. Hi, To resolve the issue of undefined symbols for (ACE_Singleton::instance(), ACE_Singleton::instance_i(), ACE_Singleton::singleton_) I did explicit instantiation, i.e by adding the following lines into the file Based_Pointer_Repository.cpp, template ACE_Based_Pointer_Repository * ACE_Singleton::instance (void); template ACE_Singleton *& ACE_Singleton::instance_i (void); template ACE_Singleton * ACE_Singleton :: singleton_=0 ; Presently, getting the following error while starting the application. I have built ACE version 6.4.3 on AIX 6.1 machine. Could you please help to resolve this issue. Also, please suggest if any compiler option available for this. rtld: 0712-001 Symbol __ct__13ACE_SingletonXT28ACE_Based_Pointer_RepositoryT19ACE_RW_Thread_Mutex_Fv was referenced from module /scratch/pin3050/opt/ifw/lib/libace64.a(), but a runtime definition of the symbol was not found. Sustem information: oslevel 6.1.0.0 Compiler version /usr/vacpp/bin/xlCcore_r -qversion IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0003 Thanks and Regards, Ashutosh -------------- next part -------------- An HTML attachment was scrubbed... URL: