Re: issue linking - undefined Stub symbols

Riccardo Mottola <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
Hi,

Martin Husemann wrote:
> No, it is a bug in the source or the pkgsrc build environment.
> xpcom and the "ns" namespace come from former Netscape and are part
> of the mozilla sources. Maybe a missing linker argument or wrong path.

I'm building outside pkgsrc.

I did a dumb "grep" about these symbols and found them, e.g. Stub33.

What could be wrong, that works instead of x86 and amd64?


ithil$ grep -r Stub33 *
Binary file 
obj-sparc64-unknown-netbsd9.0/xpcom/reflect/xptcall/xptcall.o matches
obj-sparc64-unknown-netbsd9.0/dist/include/xptcstubsdecl.inc:NS_IMETHOD 
Stub33();
obj-sparc64-unknown-netbsd9.0/dist/include/xptcstubsdecl.inc:NS_IMETHOD 
Stub33(uint64_t,uint64_t,
xpcom/build/xpcom_alpha.def:    ?Stub33@nsXPTCStubBase@@UAAIXZ
xpcom/reflect/xptcall/md/win32/xptcstubs_asm_x86_64.asm:    STUBENTRY 
?Stub33@nsXPTCStubBase@@UEAA?AW4nsresult@@XZ, 33
xpcom/reflect/xptcall/xptcstubsdecl.inc:NS_IMETHOD Stub33();
xpcom/reflect/xptcall/xptcstubsdecl.inc:NS_IMETHOD Stub33(uint64_t,uint64_t,


Riccardo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.