Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 14:58:13 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        glen.nakamura@usa.net
Cc:        freebsd-alpha@freebsd.org
Subject:   xptcinvoke_freebsd_alpha.cpp and xptcstubs_freebsd_alpha.cpp for firefox3 ?
Message-ID:  <20080803135813.GA31646@mech-cluster238.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
Hi Glen

(copied to freebsd-alpha mailing list).

I'm writing you as a contributor of the above 2 files for firefox2.

I tried to build firefox3 on alpha by simply copying them as is from
firefox2 to firefox3. While xptcinvoke compiles with no warnings,
xptctubs fails with: 

c++ -o xptcstubs_freebsd_alpha.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\
" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I./../.. -I./../../../../xp
tinfo/src  -I. -I. -I../../../../../../dist/include/string -I../../../../../../d
ist/include   -I../../../../../../dist/include/xpcom -I/usr/local/include/nspr  
 -I/usr/include  -I/usr/local/include   -fPIC  -I/usr/local/include  -I/usr/loca
l/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloa
ded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -W
no-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-alia
sing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/local/include  -I/usr/lo
cal/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h xptcstu
bs_freebsd_alpha.cpp
xptcstubs_freebsd_alpha.cpp: In function `nsresult PrepareAndDispatch(nsXPTCStub
Base*, uint32, PRUint64*)':
xptcstubs_freebsd_alpha.cpp:59: error: `nsIInterfaceInfo' was not declared in th
is scope
xptcstubs_freebsd_alpha.cpp:59: error: `iface_info' was not declared in this sco
pe
xptcstubs_freebsd_alpha.cpp:67: error: 'class nsXPTCStubBase' has no member name
d 'GetInterfaceInfo'
xptcstubs_freebsd_alpha.cpp:131: error: 'class nsXPTCStubBase' has no member nam
ed 'CallMethod'
xptcstubs_freebsd_alpha.cpp:59: warning: unused variable 'nsIInterfaceInfo'
gmake[8]: *** [xptcstubs_freebsd_alpha.o] Error 1

Could you please comment on this.
How much should these files change from firefox2 to firefox3 on freebsd alpha?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080803135813.GA31646>