From owner-freebsd-alpha@FreeBSD.ORG Sun Aug 3 13:58:21 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53D7106567E for ; Sun, 3 Aug 2008 13:58:21 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9548E8FC1A for ; Sun, 3 Aug 2008 13:58:20 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KPe6D-0003NZ-LX; Sun, 03 Aug 2008 14:58:19 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KPe6C-0004hv-HA; Sun, 03 Aug 2008 14:58:16 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m73DwFgi032225; Sun, 3 Aug 2008 14:58:15 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m73DwDGF032224; Sun, 3 Aug 2008 14:58:13 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sun, 3 Aug 2008 14:58:13 +0100 From: Anton Shterenlikht To: glen.nakamura@usa.net Message-ID: <20080803135813.GA31646@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Cc: freebsd-alpha@freebsd.org Subject: xptcinvoke_freebsd_alpha.cpp and xptcstubs_freebsd_alpha.cpp for firefox3 ? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2008 13:58:21 -0000 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