f



Re: [ace-users] Compiling ACE 5.3 with GCC 3.4.3

Hi,

When x.3 was released there was no GCC 3.4 version, so this will just not
work, please upgrade to a newer version of ACE/TAO.

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  


"Seng-Quee.Liang" <Seng-Quee.Liang@Sun.COM> wrote in message
news:<mailman.1894.1170813530.25808.ace-users@mail.cse.wustl.edu>...
> Hi,
> 
> I'm a newbie to ACE and this is my 1st posting to this alias, and would
> appreciate any help.
> 
> I have a requirement to use ACE 5.3 on Solaris 10 SPARC.  I had followed
> the building & installation information on ACE website to the letter and
> had no problems compiling it with Sun Studio 11.
> 
> However, when I tried compiling it with GCC 3.4.3, I'm swamped with a
> host of problems.  Being a newbie to ACE, I'm wondering 
> 
> a) if I'm setting the right config.h/platform_macros.GNU for GCC
> compile; 
> b) if I should be trying add flags into these files to get it to
> compile.
> 
> Any pointers or advice is sincerely appreciated.
> 
> 
> Thanks in advance.
> 
> Best Regards,
> /SengQuee
> 
> -------- config.h for Studio 11 -----
> #include "ace/config-sunos5.9.h"
> 
> -------- platform_macros.GNU for Studio 11 -----
> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
> 
> 
> -------- config.h for GCC 3.4.3 --------
> #include "ace/config-sunos5.4-g++.h"
> 
> -------- platform_macros.GNU for GCC 3.4.3 ---------
> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU
> 
> --------- Compilation output with GCC ------------------------------
> gmake[1]: Entering directory `/export/sw-images/ace/ACE_wrappers/ace'
> g++ -W -Wall -Wpointer-arith -pipe  -O3 -g    -fno-exceptions
> -fcheck-new -D_REENTRANT  -I/export/sw-images/ace/ACE_wrappers
> -DACE_BUILD_DLL -DACE_OS_BUILD_DLL  -c -fPIC -o .shobj/Basic_Types.o
> Basic_Types.cpp
> In file included from
> /export/sw-images/ace/ACE_wrappers/ace/OS_Dirent.h:130,
>                  from /export/sw-images/ace/ACE_wrappers/ace/OS.h:31,
>                  from Basic_Types.cpp:1:
> /export/sw-images/ace/ACE_wrappers/ace/OS_Dirent.inl: In static member
> function `static int ACE_OS_Dirent::readdir_r(ACE_DIR*, dirent*,
> dirent**)':
> /usr/include/dirent.h:175: error: too few arguments to function `int
> readdir_r(DIR*, dirent*, dirent**)'
> /export/sw-images/ace/ACE_wrappers/ace/OS_Dirent.inl:124: error: at this
> point in file
> /export/sw-images/ace/ACE_wrappers/ace/OS_Dirent.inl:124: error: invalid
> conversion from `int' to `dirent*'
> In file included from /export/sw-images/ace/ACE_wrappers/ace/OS.h:6979,
>                  from Basic_Types.cpp:1:
> /export/sw-images/ace/ACE_wrappers/ace/OS.i: In static member function
> `static int ACE_OS::sigwait(sigset_t*, int*)':
> /usr/include/signal.h:201: error: too few arguments to function `int
> sigwait(const sigset_t*, int*)'
> /export/sw-images/ace/ACE_wrappers/ace/OS.i:6966: error: at this point
> in file
> 
> ... 
> ----------------------------------------------------------------------
> 
> 

0
Johnny
2/7/2007 8:30:06 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
898 Views

Similar Articles

[PageSpeed] 36

Reply:

Similar Artilces:

RE: [ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3)
Hi Tom, > > > The "resolution" was to upgrade to ACE-5.4.3 or later, which has > > > code fixes to help with the newer compiler. Not sure how > much would > > > need to change, but you may be able to inspect the differences in > > > that part of the code wrt the newer ACE release to backport the > > > fixes. > > Thanks, I've downloaded and am building. Is ACE-5.4.3 the latest > > production release ? > > Well, the definition of "production release" for ACE is a bit murky > imho. P...

RE: [ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3) #2
Hi Colm, Ok, thanks for that explanation. I solved this a different way for a similar problem that showed up with Visual Age C++ on AIX 5.2... When the 5.4.5 beta comes out, please try this again and hopefully no further workarounds will be needed. Thanks, -Steve -- Steve Huston, Riverace Corporation Adding Service to Open Source Software ACE book info at http://www.riverace.com/acebooks/ > -----Original Message----- > From: Colm McHugh [mailto:cmchugh@callixa.com] > Sent: We...

RE: [ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3) #2
Hi J.T., Right... The issue is a bit odd... Here's the check I added for ACE: dnl This check was added to work around a system-supplied header dnl (/usr/include/netinet/ip.h) that won't compile with Visual Age C++ dnl unless the _NO_BITFIELDS preprocessor macro is defined. The comments dnl there recommend use of _NO_BITFIELDS (and recode where needed to allow dnl that), but we won't just turn it on. Check to see if it's needed. Note dnl that this check is related to headers but done before we really know if dnl the header is present. Thus, if the bare compile fa...

[ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3)
Hi Tom, > Well, the definition of "production release" for ACE is a bit murky > imho. Please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-development-process.html for the canonical definition of terms. If there's something unclear there please let me know and I'll fixit. > The developers on this list (almost) always recommend using the > latest package, which is typically labeled a "beta release". Right, the reason we do that is because the "latest release" (which is most commonly a beta release) is the on...

[ace-users] ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3)
[Apologies if this shows up twice, there was a mailer error with my first attempt to post] Hi, I found the same problem reported recently on the mailing list ("compiling ACE under Fedora core 3", March 1st) but no resolution was reported there, so I thought I'd post a full description here. ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: AIX 5.1 ...

[ace-users] Re: Error while ACE 5.3.1 or 5.4.1 compiling and installing by MinGW 3.3.3
Hi Vitaly, Please upgrade to ACE 5.4.4, which you can download from http://deuce.doc.wustl.edu/Download.html since I think that is more likely to work with MinGW 3.3.3. Johnny, can you confirm/deny this please? Thanks, Doug >> Hi, >> I have installed MinGW packages: >> >> binutils-2.13.90-20030111-1.tar.gz >> gcc-core-3.3.3-20040217-1.tar.gz >> gcc-g++-3.3.3-20040217-1.tar.gz >> mingw-runtime-3.3.tar.gz >> w32api-2.5.tar.gz >> >> Also I've configured environment due to ACE-INSTALL.htm...

[ace-users] Compiling ACE 5.3 with GCC 3.4.3
Hi, I'm a newbie to ACE and this is my 1st posting to this alias, and would appreciate any help. I have a requirement to use ACE 5.3 on Solaris 10 SPARC. I had followed the building & installation information on ACE website to the letter and had no problems compiling it with Sun Studio 11. However, when I tried compiling it with GCC 3.4.3, I'm swamped with a host of problems. Being a newbie to ACE, I'm wondering a) if I'm setting the right config.h/platform_macros.GNU for GCC compile; b) if I should be trying add flags into these files to get it to compile. Any pointers or advice is sincerely appreciated. Thanks in advance. Best Regards, /SengQuee -------- config.h for Studio 11 ----- #include "ace/config-sunos5.9.h" -------- platform_macros.GNU for Studio 11 ----- include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU -------- config.h for GCC 3.4.3 -------- #include "ace/config-sunos5.4-g++.h" -------- platform_macros.GNU for GCC 3.4.3 --------- include $(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU --------- Compilation output with GCC ------------------------------ gmake[1]: Entering directory `/export/sw-images/ace/ACE_wrappers/ace' g++ -W -Wall -Wpointer-arith -pipe -O3 -g -fno-exceptions -fcheck-new -D_REENTRANT -I/export/sw-images/ace/ACE_wrappers -DACE_BUILD_DLL -DACE_OS_BUILD_DLL -c -fPIC -o .shobj/Basic_Types.o Basic_Types.cpp In file...

Re: [ace-users] Re: ACE 5.4 compiling problems with g++ 3.4.3
Hi > First, please use the problem-report-form when asking questions. ACE 5.4 is > not supported with newer GCC versions. All these issues are resolved in the > upcoming x.4.3 release. > > For the time being, try to add the following to your config.h > > # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) > # define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS > # endif /* __GNUC__ >= 3.4 */ > > You are correct, the download link doesn't work. Bala, do you have an idea > what is happening with the downlo...

[ace-users] Re: ACE 5.4 compiling problems with g++ 3.4.3
Hi Klaus, First, please use the problem-report-form when asking questions. ACE 5.4 is not supported with newer GCC versions. All these issues are resolved in the upcoming x.4.3 release. For the time being, try to add the following to your config.h # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS # endif /* __GNUC__ >= 3.4 */ You are correct, the download link doesn't work. Bala, do you have an idea what is happening with the download links. Regards, Johnny Willemsen Remedy IT ...

RE: [ace-users] Re: ACE 5.4 compilation error on HP-UX 11.11/GNU g++ 3.4.3
The needed fix is, indeed, in ACE 5.5. If, for some reason, you need to stay on 5.4, the 5.4e Fix Kit from Riverace has this problem fixed as well. The fix is needed for g++ 3.4 on any platform. -Steve -- Steve Huston, Riverace Corporation Helping you succeed with ACE See http://www.riverace.com/support.htm > -----Original Message----- > From: owner-ace-users@cse.wustl.edu > [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Douglas C. Schmidt > Sent: Saturday, March 11, 2006 7:01 PM > To: ecoboja@yahoo.com; ace-users@cs.wustl.edu > Subject: [ace-users] Re: ACE 5.4 compilation error on HP-UX > 11.11/GNU g++ 3.4.3 > > > Hi, > > Thanks for using the PRF. > > >> ACE VERSION: 5.4 > > Please upgrade to ACE 5.5, which you can download from > > http://deuce.doc.wustl.edu/Download.html > > 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.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-bug-pro > cess.html > > Thus, if you need more "predictable" help for ACE 5.4, I recommend > that you check out > >...

Re: [ace-users] Errors while compiling c++ 3.4.2
Hi Eyal, I believe we've fixed these problems in the latest version of ACE that's tucked inside our CVS repository. Can you please take a look at this version available in http://deuce.doc.wustl.edu/Download.html and see if things work better. If not, please let us know so we can fix them before we release ACE 5.4.3 in a week or so. Thanks, Doug >> I get the following while compiling: >> >> /usr/bin/c++ -D_POSIX_C_SOURCE=199506L -DNDEBUG -DUSING_GCC >> -D_POSIX_PTHREAD_SEMANTICS -DLINUX -I../inc >> -I../3rd_party...

[ace-users] Re: ACE 5.4.10, STLPORT, GCC 3.3 & SunOS 5.8
Hi Rajesh, >> 1] I'm using the configure script to create the makefiles. I don't >> see any option to specify I would like to use STLPORT instead of >> libstdc++. How do I set this? Of course, I can hack the makefile >> to add this path, but is this the recommended method or is there a >> better option? Chad/J.T., is there some way to do this? >> If anyone has this working, inputs are greatly appreciated. >> 2] Does ace internally use STL? Not very much. >> I can see some configure options while configuring ace which >> relates to STL, do I have to set some option to tell ACE not to use >> STL internally or are ACE STL like functions independent of STL? Yes, that's the goal. If you run into problems please use the PRF and let us know. Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-users] Re: ACE 5.4 compilation error on HP-UX 11.11/GNU g++ 3.4.3
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4 Please upgrade to ACE 5.5, which you can download from http://deuce.doc.wustl.edu/Download.html 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.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-bug-process.html Thus, if you need more "predictable" help for ACE 5.4, I recommend that you check out http://www.cs.wustl.edu/~schmidt/commercial-support.html for a list of companies that will provide you with ACE+TAO commercial support. Thanks, Doug >> HOST MACHINE and OPERATING SYSTEM: >> HP Superdome 9000/800 HP-UX B.11.11 >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER >> NAME AND VERSION (AND PATCHLEVEL): >> GNU g++ 3.4.3 >> THE $ACE_ROOT/ace/config.h FILE: >> ace/config-hpux-11.00.h >> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE >> ($ACE_ROOT)/include/makeinclude/platform_hpux_gcc.GNU >> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features >> None >> AREA/CLASS/EXAMPLE AFFECTED: >> ace/Unbounded_Queue.cpp fails to compile >> DOES THE PROBLEM AFFECT: >> COMPILATION? Yes >> LINKING? No >> On Unix systems, did you run make realc...

RE: [ace-users] ACE 5.3
Hi, 5.3 is ancient, visual age 7 is brand new, I don't think anyone is using this and you problaby will find issues because this is not tested. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl > -----Original Message----- > From: owner-ace-users@cse.wustl.edu > [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Praveen > Kumar Gulati > Sent: woensdag 19 oktober 2005 9:08 > To: ace-users@cs.wustl.edu > Subject: [ace-users] ACE 5.3 - TAO 1.3 on AIX 5.3 with > compiler Visual Age Version 7.0 > > Hi > > I am trying to build ACE 5.3 - TAO 1.3 on AIX 5.3 with > compiler Visual Age Version 7.0. > > Do you already know some issues in above combination? > > Whether some one is already using above combination? > > Regards > > Praveen Gulati > > ...

RE: [ace-users] ACE 5.3
This is a multi-part message in MIME format. ------=_NextPart_000_01BC_01C5D46D.2EF26B10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Praveen, =20 Riverace will have an AIX 5.3/Visual Age 7 machine running next week. We have a sponsor for porting ACE 5.4 to the platform. If you'd like to sponsor us porting back to ACE 5.3, please let me know. =20 Best regards, =20 -Steve -- Steve Huston, Riverace Corporation "How to Use ACE Effectively" class Oct 17-19! See http://www.riverace.com/training.htm -----Original Message----- From: owner-ace-users@cse.wustl.edu [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Praveen Kumar Gulati Sent: Wednesday, October 19, 2005 3:08 AM To: ace-users@cs.wustl.edu Subject: [ace-users] ACE 5.3 - TAO 1.3 on AIX 5.3 with compiler Visual Age Version 7.0 Hi I am trying to build ACE 5.3 - TAO 1.3 on AIX 5.3 with compiler Visual Age Version 7.0. Do you already know some issues in above combination?=20 Whether some one is already using above combination? Regards Praveen Gulati ------=_NextPart_000_01BC_01C5D46D.2EF26B10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii&q...

[ace-users] Re: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86
Hi Jin, >> The solaris 9/10 for sparc is not the same as solaris 9/10 for >> Intel X86,although it is almost free,and the SunStudio 9 (CC >> 5.6)for sparc is not the same as SunStudio 9(CC 5.6) for Intel X86. This is yet one more reason why you'll need to do the legwork on this. Please let us know what you find out. Thanks, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashvil...

Re: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86
Hi, >> ACE VERSION: 5.4.3 Thakns for using the PRF! >> HOST MACHINE and OPERATING SYSTEM: >> Solaris10 X86 We (i.e., the DOC groups at UCI/VU/WU) don't have Solaris running on an x86 box (yet). It would therefore be great if you could figure out what patches need to be applied so that ACE compiles properly on this platform. BTW, Kitty/Bala, weren't we planning on running Solaris on an AMD box at some point? Thanks, Doug >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPIL...

[ace-users] Re: Compiling ACE 5.4 with gcc 3.4.2 (fc3)
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4 Please upgrade to ACE 5.4.4, which you can download from http://deuce.doc.wustl.edu/Download.html under the heading "Latest beta version". This should fix all the problems you've run into with GCC 3.4.2. If not, please let us know what else remains. Thanks, Doug >> HOST MACHINE and OPERATING SYSTEM: >> Linux 2.6.9-1.667 (Fedora Core 3) >> >> COMPILER NAME AND VERSION (AND PATCHLEVEL): g++ (GCC) 3.4.2 (Red Hat >> 3=2E4.2-6.fc3) >> >>...

Re: [ace-bugs] [ACE 5.4 on HP-Unix with gcc 3.3 ][I can not compile the package]
Hi Kambeez, Thanks for using the PRF. > ACE VERSION: 5.4 > > HOST MACHINE and OPERATING SYSTEM: HP-9000/800 ; HP-Unix b.11.00 We (i.e., the DOC groups at WU/VU/UCI) don't have HP/UX, so we can't really help with this. There are other groups that support ACE on HP/UX, however, so please check out http://www.dre.vanderbilt.edu/scoreboard/integrated.html and see who provides support for these platforms and how they differ from what you're doing. You may need to follow up with some of the companies listed in http://www.cs.wustl.edu/~schmidt/commercial...

RE: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86 #2
> > Ok, the problem is in platform_sunos5_sunc++.GNU, when a > not known forte > > version is found, it defaults to explicit. I am updating > right now, for 4.2 > > and 5.3 we default to explicit, for all others to implicit This sounds good. > Is this necessary? I mean make it implicit by default. The > explicit is > not even supported, and has no chance to work cleanly. Why > should we patch > broken stuff. Just a thought? At least for ACE 5.5, Riverace supports the Forte compiler that requires explicit. After that, we can drop it....

RE: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86 #2
Hi, > > Ok, the problem is in platform_sunos5_sunc++.GNU, when a > not known forte > > version is found, it defaults to explicit. I am updating > right now, for 4.2 > > and 5.3 we default to explicit, for all others to implicit > > Is this necessary? I mean make it implicit by default. The > explicit is > not even supported, and has no chance to work cleanly. Why > should we patch > broken stuff. Just a thought? I have thought also about this, but maybe there are users around we don't know if. We can drop all this after x.5 is released, until that time, I just keep it there, just as we have a lot of other stuff that is probably broken. > > Qinghuajin and other Forte 9 users, you can work around > this by added the > > following line to your platform_macros.GNU file. > > templates = implicit > > This is until we release x.4.4., right? Yes, with x.4.4 this will be done correctly. Johnny ...

RE: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86 #2
Hi Steve, > > Is this necessary? I mean make it implicit by default. The > > explicit is > > not even supported, and has no chance to work cleanly. Why > > should we patch > > broken stuff. Just a thought? > > At least for ACE 5.5, Riverace supports the Forte compiler that > requires explicit. After that, we can drop it. Ok. Steve, could you maybe make clear with the build names which builds use explicit templates? Explicit templates in TAO are known to be broken at this moment. Johnny ...

RE: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86 #2
Hi, > > > I don't think the DOC group supports this compiler anymore.. More > > > particularly this compiler is buggy and you may land up with > > > unresolved > > > symbols even if you get past this part. > > > > I missed the compiler version. But, Forte 8 gives output of > SUN C++ 5.5. Ok, the problem is in platform_sunos5_sunc++.GNU, when a not known forte version is found, it defaults to explicit. I am updating right now, for 4.2 and 5.3 we default to explicit, for all others to implicit Qinghuajin and other Forte...

Re: [ace-users]: ACE 5.4.2 and ACE 5.4.3 compile failed on Solaris 9 x86 and Solaris 10 x86 #2
Johnny- > Ok, the problem is in platform_sunos5_sunc++.GNU, when a not known forte > version is found, it defaults to explicit. I am updating right now, for 4.2 > and 5.3 we default to explicit, for all others to implicit Is this necessary? I mean make it implicit by default. The explicit is not even supported, and has no chance to work cleanly. Why should we patch broken stuff. Just a thought? > Qinghuajin and other Forte 9 users, you can work around this by added the > following line to your platform_macros.GNU file. > templates = implicit This is until w...

Web resources about - Re: [ace-users] Compiling ACE 5.3 with GCC 3.4.3 - comp.soft-sys.ace

Samsung Galaxy Ace 4 User Reviews
Samsung Galaxy Ace 4 reviews written by Phone Arena users. You can read the opinion of each user and how they rate the phone in 11 categories. ...

Samsung Galaxy Ace 3 official: iPhone-alike size for the new user
Samsung has revealed another in its Galaxy series, the Galaxy Ace 3, now targeting entry-level smartphone users who want a pocket-friendly 4-inch ...

Resources last updated: 3/5/2016 5:12:53 AM