Bug 607 - compilation errors while installing ACE
Summary: compilation errors while installing ACE
Status: RESOLVED
Alias: None
Product: ACE
Classification: Unclassified
Component: ACE netsvcs (show other bugs)
Version: 5.1
Hardware: SPARC Solaris
: P3 blocker
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2000-07-09 22:15 CDT by apatkar
Modified: 2000-07-18 07:22 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apatkar 2000-07-09 22:15:37 CDT
Hi,

I faced this problem while trying to install the ACE on my SUN Sparc machine. 
Following all the instructions given under heading 
"Building and Installing ACE on UNIX" on page "http://www.cs.wustl.edu/~schmidt/ACE_wrappers/ACE-INSTALL.html#aceinstall"

I had problems when I executed make command after doing all the other setting indicated.

While it was building the .cpp files using SunC++ 4.2 compiler, it constantly gave me the following errors:
For example, while compiling file TS_Server_Handler.cpp, the errors were:
1. OS.h: line 3016: Error: Only one of a set of overloaded functions can be "C" or "Pascal"
2. Signal.i: line 151: Error: Cannot assign void(*)() to void(*)(int)
3. SvcHandler.h: line 146: Error: An overloadable operator was expected instead of "delete"
4. SvcHandler.h: line 146: Error: Illegal parameter type for static operator delete(void*,void*)

Hope u would look into the problem ASAP. Waiting for u'r reply
Amit Patkar
IMRglobal Corp Ltd
Tokyo, Japan
Phone : 81 03 5724 6808 Ext: 2168
Comment 1 Ossama Othman 2000-07-10 09:22:35 CDT
This doesn't appear to be a problem with the ACE Autoconf Setup so I changed it 
to "ACE netsvcs," which appears to be where your problem occured.

According to your bug report, this problem occurred in ACE 4.6.43.  That 
version of ACE is obsolete by now.  Does this problem occur in ACE 5.1.x for 
you?  We don't see any such problem with Sun C++ 4.2 with recent versions of 
ACE.
Comment 2 apatkar 2000-07-10 19:42:29 CDT
Hi

As u suggested, the component might be ACE netsvcs. I had downloaded the file 
called 'ACE-5.1.tar.gz'. After extracting it into ace/ directory, I ran the make 
command after setting the environment variables. I don't know which component is 
involved in this zipped file.

I am sorry about the version I had indicated. Its 5.1.x.

Do I have to do anything more than what is indicated on the website page I 
had mentioned in my earlier mail? 
Comment 3 Ossama Othman 2000-07-18 07:04:41 CDT
Have you been able to compile ACE/TAO yet?  We're unable to reproduce the 
problem you encountered.
Comment 4 levine 2000-07-18 07:22:50 CDT
This looks like a known bug with Sun CC 4.2.  If your Sun CC 4.2
isn't at patchlevel 104631-02, as noted in ACE_wrappers/ACE-INSTALL.html,
you will likely have build problems.  CC -V to see your patchlevel.