- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unsatisfied symbol when building mozilla on PA-RIS...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 03:23 AM
тАО10-14-2009 03:23 AM
Unsatisfied symbol when building mozilla on PA-RISC
the aCC compiler 3.73 version. We are getting below unsatisfied symbol error.
/usr/ccs/bin/ld: Unsatisfied symbols:
NS_TableDrivenQI(void *,const QITableEntry *,const nsID &,void **) (first referenced in perfcomp.o) (code)
nsISupports::COMTypeInfo
main (Not referenced yet! Probably due to -u option)
abIEDTPPerformanceProfiler::COMTypeInfo
/*nscore.h*/
#ifdef HAVE_VISIBILITY_HIDDEN_ATTRIBUTE
#define NS_VISIBILITY_HIDDEN __attribute__ ((visibility ("hidden")))
#else
#define NS_VISIBILITY_HIDDEN
#endif
#if defined(HAVE_VISIBILITY_ATTRIBUTE)
#define NS_VISIBILITY_DEFAULT __attribute__ ((visibility ("default")))
#else
#define NS_VISIBILITY_DEFAULT
#endif
#define NS_HIDDEN NS_VISIBILITY_HIDDEN
Code snippets are as follows:
/*nsID.h*/
#define NS_DECLARE_STATIC_IID_ACCESSOR(the_iid) \
template
struct COMTypeInfo \
{ \
typedef nsIID COMTypeIID; \
static const COMTypeIID kIID NS_HIDDEN; \
}; \
static const nsIID& GetIID() {return COMTypeInfo
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_interface, the_iid) \
template
const nsIID the_interface::COMTypeInfo
We have attached nscore.h file where NS_HIDDEN is defined. We would like to know is any paltform specific changes that we need to do ther above macros If require we can attach the code that completely builds shared library.
Machine details:
hp-ux 11.23
# aCC -V
aCC: HP ANSI C++ B3910B A.03.73
#
Compilation line:
aCC perfcomp.cpp -D__hppa__ -I/tmp/Temp/deps/mozilla/include -I/tmp/Temp/deps/mozilla/include/unix -AA -D_HPUX_SOURCE
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 03:41 AM
тАО10-14-2009 03:41 AM
Re: Unsatisfied symbol when building mozilla on PA-RISC
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJAVAFFTB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 04:13 AM
тАО10-14-2009 04:13 AM
Re: Unsatisfied symbol when building mozilla on PA-RISC
Where should these be defined? I see a possible definition of the two kIID variables, depending on the the macro NS_DEFINE_STATIC_IID_ACCESSOR.
>We would like to know is any platform specific changes that we need to do the above macros
You don't want those attributes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 04:20 AM
тАО10-14-2009 04:20 AM
Re: Unsatisfied symbol when building mozilla on PA-RISC
#define NS_DECLARE_STATIC_IID_ACCESSOR(the_iid) \
template
struct COMTypeInfo \
{ \
typedef nsIID COMTypeIID; \
static const COMTypeIID kIID NS_HIDDEN; \
}; \
static const nsIID& GetIID() {return COMTypeInfo
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_interface, the_iid) \
template
const nsIID the_interface::COMTypeInfo
/**
* A macro to build the static const CID accessor method
*/
#define NS_DEFINE_STATIC_CID_ACCESSOR(the_cid) \
static const nsID& GetCID() {static const nsID cid = the_cid; return cid;}
#define NS_GET_IID(T) (::T::COMTypeInfo
#if defined (__hppa__) || defined (__hppa)
template
inline typename T::template COMTypeInfo
ReturnDestTypeCOMTypeInfo (T *)
{
typedef typename T::template COMTypeInfo
return DCI::kIID;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 12:59 AM
тАО10-15-2009 12:59 AM
Re: Unsatisfied symbol when building mozilla on PA-RISC
Rather than feed me small chunks at a time, if your sources aren't proprietary, can you create a .i file for perfcomp.C with "-E -.i" and attach it?
(You may need to gzip it.)
And do the same for where you think those symbols should be defined.