From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 2 01:09:46 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 221D2106566B for ; Fri, 2 Oct 2009 01:09:46 +0000 (UTC) (envelope-from preethi.cis@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEBE8FC1C for ; Fri, 2 Oct 2009 01:09:45 +0000 (UTC) Received: by fxm22 with SMTP id 22so711171fxm.36 for ; Thu, 01 Oct 2009 18:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:x-mimeole :thread-index; bh=JlBhOpUjg/bo8zYuK1UZudHEi8C726quzwsKm1q27SY=; b=bfXg0ImlnFmV0Y84LRTOWNAkE0cNcWU/hysddOg1xmhDp64tcMKNTT391OjntzfMHE 9GLiDRtLOk2h2JIFU8+8rdZjWyku1dDSH+PaNvqdqX9Zp1nrh1G4j2Q7fv6taaIWGc3q kTXcUakWe6DHyQ1j0Szhj9jfNupAwebRFbgKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :x-mimeole:thread-index; b=HvHVfJO44NapXgjaHk0SQN5zxKIlBl2EkU3s7lRkqzCV338BPAv03tpG1TiwYl/Bit NgsCSyCNMrDHY5pnNPcdETDuW59X/HfhFTsmrPFppaTn1wEPMriyecikla+reA/1YTeA EsNfV+bWcWgvou+LNErJeXspeyl45s9OFZ1R8= Received: by 10.204.34.20 with SMTP id j20mr600363bkd.57.1254445784331; Thu, 01 Oct 2009 18:09:44 -0700 (PDT) Received: from prenatarwxp01 (173-116-235-143.pools.spcsdns.net [173.116.235.143]) by mx.google.com with ESMTPS id g28sm767187fkg.45.2009.10.01.18.09.41 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 18:09:43 -0700 (PDT) From: "Preethi Natarajan" To: Date: Thu, 1 Oct 2009 18:09:39 -0700 Message-ID: <008c01ca42fd$0650acf0$6f3947ab@cisco.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AcpC/QO8XXbter6rTo6FmevcK3D2ww== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: firefox build fails X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 01:09:46 -0000 Hello, I am trying to build firefox 3.0.11 from sources on an amd64 freebsd system. I am running into issues and would much appreciate pointers/help in this regard. Also, please let me know if this is not the right forum for this issue. Initially, I got the following error: gcc -o host_cppsetup.o -c -DXP_UNIX -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -DPREINCDIR=\"include\" -I../../../config/mkdepend -I. -I../../dist/include -I../../dist/include/mkdepend -I../../dist/include/nspr -I../../dist/sdk/include -I../../dist/include/nspr ../.. /../config/mkdepend/cppsetup.c In file included from ../../../config/mkdepend/cppsetup.c:29: ../../../config/mkdepend/def.h:30:21: error: X11/Xos.h: No such file or directory ../../../config/mkdepend/def.h:31:28: error: X11/Xfuncproto.h: No such file or directory gmake[4]: *** [host_cppsetup.o] Error 1 Basically, the build system complained about not being able to find /usr/include/X11/*. These files were in /usr/local/include/X11/*, so I created a link to these files in /usr/inlclude/X11. While this fixed the first error, I am not sure if that was the actual solution. After fixing /usr/include/X11, the build failed again as follows, and I'd appreciate any help. c++ -o xptcinvoke_unixish_x86.o -c -I../../../../../../dist/include/system_wrappers -include ../../../../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD7\" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I../../../../../../../xpcom/reflect/xptcall/src/md/unix/../.. -I../../../../../../../xpcom/reflect/xptcall/src/md/unix/../../../../xptinfo /src -I../../../../../../../xpcom/reflect/xptcall/src/md/unix -I. -I../../../../../../dist/include/string -I../../../../../../dist/include -I../../../../../../dist/include/xpcom -I../../../../../../dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-a rith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -fno-strict-aliasing -fshort-wchar -pipe -DDEBUG -D_DEBUG -DDEBUG_prenatar -DTRACING -g -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h ../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x8 6.cpp {standard input}: Assembler messages: {standard input}:182: Error: suffix or operands invalid for `push' {standard input}:183: Error: suffix or operands invalid for `push' {standard input}:184: Error: suffix or operands invalid for `push' {standard input}:188: Error: suffix or operands invalid for `push' {standard input}:189: Error: `(%ecx)' is not a valid 64 bit base/index expression {standard input}:191: Error: `(%edx,%eax,4)' is not a valid 64 bit base/index ex pression {standard input}:192: Error: `*(%edx)' is not a valid 64 bit base/index expressi on gmake[8]: *** [xptcinvoke_unixish_x86.o] Error 1 Thanks, Preethi Preethi