DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default Building Mozilla Firefox 3 Beta 5 on FreeBSD [solved]

Originally posted on FreeBSDForums. I'm just posting my original post and pertinent replies so that people can look this up from search

I followed all the instructions at http://developer.mozilla.org/en/docs..._Documentation. However, my build fails with:

Code:
/usr/home/vivin/mozilla/js/src/jsgc.c:189: warning: type of bit-field `prevUntracedPage' is a GCC extension
/usr/home/vivin/mozilla/js/src/jsgc.c:199: warning: type of bit-field `arenaIndex' is a GCC extension
/usr/home/vivin/mozilla/js/src/jsgc.c:204: warning: type of bit-field `firstArena' is a GCC extension
/usr/home/vivin/mozilla/js/src/jsgc.c: In function `js_TraceContext':
/usr/home/vivin/mozilla/js/src/jsgc.c:2217: error: invalid operands to binary -
/usr/home/vivin/mozilla/js/src/jsgc.c:2218: error: conversion to non-scalar type requested
gmake[4]: *** [jsgc.o] Error 1
gmake[4]: Leaving directory `/usr/home/vivin/mozilla/obj-i386-unknown-freebsd6.3/js/src'
gmake[3]: *** [libs_tier_js] Error 2
gmake[3]: Leaving directory `/usr/home/vivin/mozilla/obj-i386-unknown-freebsd6.3'
gmake[2]: *** [tier_js] Error 2
gmake[2]: Leaving directory `/usr/home/vivin/mozilla/obj-i386-unknown-freebsd6.3'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/usr/home/vivin/mozilla/obj-i386-unknown-freebsd6.3'
gmake: *** [build] Error 2
Has anyone tried to get the Firefox 3 Betas running under FreeBSD? I remember that they used to have FreeBSD binaries before, but all they have now are Windows, Linux, Solaris, and OSX.

Last edited by vi5in; 12th May 2008 at 11:10 PM.
Reply With Quote
  #2   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

**deleted**

Last edited by vi5in; 13th May 2008 at 04:15 PM.
Reply With Quote
  #3   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

I'm running PC-BSD 1.5 (so yeah, FreeBSD 6.3 w/ GCC-3.4.6). I installed GCC 4.2 and I still get the same problems:

Code:
jsapi.o(.text+0xeb3): In function `JS_GetStringChars':
: undefined reference to `malloc'
jsapi.o(.text+0xf01): In function `JS_GetStringChars':
: undefined reference to `memcpy'
jsapi.o(.text+0x1a0d): In function `JS_ExecuteScriptPart':
: undefined reference to `memcpy'
jsapi.o(.text+0x1f76): In function `JS_StringToVersion':
: undefined reference to `strcmp'
jsapi.o(.text+0x1fc9): In function `JS_CompileFile':
: undefined reference to `strcmp'
...
...
prmjtime.o(.text+0x195): In function `PRMJ_FormatTime':
: undefined reference to `memmove'
prmjtime.o(.text+0x1a5): In function `PRMJ_FormatTime':
: undefined reference to `memcpy'
prmjtime.o(.text+0x1cb): In function `PRMJ_FormatTime':
: undefined reference to `strstr'
prmjtime.o(.text+0x203): In function `PRMJ_Now':
: undefined reference to `gettimeofday'
prmjtime.o(.text+0x263): In function `PRMJ_LocalGMTDifference':
: undefined reference to `mktime'
prmjtime.o(.text+0x47a): In function `PRMJ_DSTOffset':
: undefined reference to `localtime_r'
Reply With Quote
  #4   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

Somebody helped me out by posting out these useful links from the internets. Basically you upgrade ALL your ports, munge the tree with the script they have provided, and then build 3b5 from ports:

http://lists.freebsd.org/pipermail/f...il/020024.html
http://lists.freebsd.org/pipermail/f...il/020041.html

Last edited by vi5in; 13th May 2008 at 04:16 PM.
Reply With Quote
  #5   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

That works
Reply With Quote
  #6   (View Single Post)  
Old 12th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I don't think this kind of "copying" was what the administrators here approve of, copying your own posts is not "frowned upon", but copying someone else's is risky business.

Can we assume you asked for their permission? They might have been convinced to follow suite.
Reply With Quote
  #7   (View Single Post)  
Old 12th May 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Default

Hmm... good point. I didn't think of that! I was just trying to help out by bringing the info from solved topics over...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a Server with FreeBSD 7 anomie Book reviews 10 16th April 2009 01:13 PM
Asus P5Q-E support in FreeBSD 7.1-BETA (amd64) hydra FreeBSD General 4 1st October 2008 06:22 PM
FreeBSD 7.0 kernel building... daemonFromHeaven FreeBSD Installation and Upgrading 4 3rd September 2008 02:42 PM
UPDATE: mozilla-firefox-2.0.0.16 BSDfan666 OpenBSD Packages and Ports 0 17th July 2008 07:45 PM
Mozilla Firefox 2.0.0.14 update.. BSDfan666 OpenBSD Packages and Ports 1 19th May 2008 06:11 PM


All times are GMT. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick