You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by David Bertoni <db...@apache.org> on 2007/07/16 18:39:52 UTC

Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Saurabh Bhatnagar wrote:
> aCC -O -DNDEBUG   +DAportable   +Z -DHPUX -D_THREAD_SAFE +W849,930 -mt 
> -AA  -Wc,-koenig_lookup,on -Wc,-ansi_for_scope,on 
> -DXALAN_INMEM_MSG_LOADER -c -I/user/sbhatnag/3rd/xalan/c-v1.10/c/src 
> -I/user/sbhatnag/3rd/xalan/c-v1.10/c/include -I../../nls/include 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0/src/ 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0/xercesc 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0  -o 
> ../../obj/XalanNamespacesStack.o 
> /user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/DOMSupport/XalanNamespacesStack.cpp
> 
> Error 537: 
> "/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/Include/XalanDeque.hpp", 
> line 209 # Cannot create a
> 
>     'ConstructableType' object; class ConstructableType has only been 
> seen as an incomplete declaration.
> 
>         typename ConstructionTraits::Constructor::ConstructableType 
> defaultValue(*m_memoryManager);
> 
>                                                                     
> ^^^^^^^^^^^^
> 
> Error 445: 
> "/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/DOMSupport/XalanNamespacesStack.cpp", 
> line 62 # Cannot recover
> 
>     from earlier errors.
> 
>     
> XalanNamespacesStack::XalanNamespacesStackEntry::XalanNamespacesStackEntry(MemoryManagerType& 
> theManager) :
> 
>                                                      
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> gmake[1]: *** [../../obj/XalanNamespacesStack.o] Error 2
> 
> gmake[1]: Leaving directory `/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc'
> 
> gmake: *** [all] Error 2

You need to apply the patch for this Jira issue:

http://issues.apache.org/jira/browse/XALANC-603

Dave

RE: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Posted by Saurabh Bhatnagar <sa...@oracle.com>.
Hi dave,
The run time was not 100% right.
It was still using the xlC6 include files and libraries.

thanks

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Friday, July 20, 2007 11:48 AM
To: xalan-c-users@xml.apache.org
Subject: Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class
ConstructableType has only been seen as an incomplete declaration.

Saurabh Bhatnagar wrote:
> Hi Dave,
> I had a chat with our administrator as pasted below.
> Also, attached is the pre-req. doc from IBM.
> 
> Looks like, we are update with run-time.
> 
> Can you point our any specific checks that we need to make sure the error
> goes away?
If your run-time is OK, then I have no idea what might be wrong.

Dave


Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Posted by David Bertoni <db...@apache.org>.
Saurabh Bhatnagar wrote:
> Hi Dave,
> I had a chat with our administrator as pasted below.
> Also, attached is the pre-req. doc from IBM.
> 
> Looks like, we are update with run-time.
> 
> Can you point our any specific checks that we need to make sure the error
> goes away?
If your run-time is OK, then I have no idea what might be wrong.

Dave

RE: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Posted by Saurabh Bhatnagar <sa...@oracle.com>.
Hi Dave,
I had a chat with our administrator as pasted below.
Also, attached is the pre-req. doc from IBM.

Looks like, we are update with run-time.

Can you point our any specific checks that we need to make sure the error
goes away?

Thanks
Saurabh

"The new VISUALAGE8 compiler on AIX has all the required filesets and has a
higher than recommended runtime level.

I have attached the VisualAge8 perquisites page. If you compare it to the
levels on the machine you will see they are more than adequate. 



ibmrds2:/usr/VISUALAGE8/usr/ccs>lslpp -L | grep -i bos.adt.include

  bos.adt.include           5.2.0.61    A     F    Base Application 

ibmrds2:/usr/VISUALAGE8/usr/ccs>lslpp -L | grep -i bos.adt.lib

  bos.adt.lib               5.2.0.10    C     F    Base Application 

  bos.adt.libm              5.2.0.42    C     F    Base Application 

ibmrds2:/usr/VISUALAGE8/usr/ccs>lslpp -L | grep -i bos.rte.libc

  bos.rte.libc              5.2.0.60    A     F    libc Library 

All the remaining filesets used by the compiler are installed with the
compiler itself as part of the suite. There could still be a problem or bug
but without some additional information I can't determine if any released
patches might fix it. 

<<...>>
"
-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Wednesday, July 18, 2007 11:16 AM
To: xalan-c-users@xml.apache.org
Subject: Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class
ConstructableType has only been seen as an incomplete declaration.

Saurabh Bhatnagar wrote:
> Hi Dave,
> IS this fix specific to HP?
> Do we need to maintain that .hpp file separately for HP?
You will never find code in the repository that is specific to a particular 
compiler, unless it is controlled by an #ifdef, or if it's in a 
compiler-specific file.

So, although that patch fixes the problems with the HP compiler, it is 
compatible with all the other platforms and compilers.

Dave

Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Posted by David Bertoni <db...@apache.org>.
Saurabh Bhatnagar wrote:
> Hi Dave,
> IS this fix specific to HP?
> Do we need to maintain that .hpp file separately for HP?
You will never find code in the repository that is specific to a particular 
compiler, unless it is controlled by an #ifdef, or if it's in a 
compiler-specific file.

So, although that patch fixes the problems with the HP compiler, it is 
compatible with all the other platforms and compilers.

Dave

RE: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class ConstructableType has only been seen as an incomplete declaration.

Posted by Saurabh Bhatnagar <sa...@oracle.com>.
Hi Dave,
IS this fix specific to HP?
Do we need to maintain that .hpp file separately for HP?

Saurabh

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Monday, July 16, 2007 10:10 PM
To: xalan-c-users@xml.apache.org
Subject: Re: Building Xalan c-1.10 On 11HP11i using aCC 3.70. Error -> class
ConstructableType has only been seen as an incomplete declaration.

Saurabh Bhatnagar wrote:
> aCC -O -DNDEBUG   +DAportable   +Z -DHPUX -D_THREAD_SAFE +W849,930 -mt 
> -AA  -Wc,-koenig_lookup,on -Wc,-ansi_for_scope,on 
> -DXALAN_INMEM_MSG_LOADER -c -I/user/sbhatnag/3rd/xalan/c-v1.10/c/src 
> -I/user/sbhatnag/3rd/xalan/c-v1.10/c/include -I../../nls/include 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0/src/ 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0/xercesc 
> -I/user/sbhatnag/3rd/xerces/c-v2.7.0  -o 
> ../../obj/XalanNamespacesStack.o 
>
/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/DOMSupport/XalanNamespacesStac
k.cpp
> 
> Error 537: 
> "/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/Include/XalanDeque.hpp", 
> line 209 # Cannot create a
> 
>     'ConstructableType' object; class ConstructableType has only been 
> seen as an incomplete declaration.
> 
>         typename ConstructionTraits::Constructor::ConstructableType 
> defaultValue(*m_memoryManager);
> 
>                                                                     
> ^^^^^^^^^^^^
> 
> Error 445: 
>
"/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc/DOMSupport/XalanNamespacesSta
ck.cpp", 
> line 62 # Cannot recover
> 
>     from earlier errors.
> 
>     
>
XalanNamespacesStack::XalanNamespacesStackEntry::XalanNamespacesStackEntry(M
emoryManagerType& 
> theManager) :
> 
>                                                      
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> gmake[1]: *** [../../obj/XalanNamespacesStack.o] Error 2
> 
> gmake[1]: Leaving directory
`/user/sbhatnag/3rd/xalan/c-v1.10/c/src/xalanc'
> 
> gmake: *** [all] Error 2

You need to apply the patch for this Jira issue:

http://issues.apache.org/jira/browse/XALANC-603

Dave