LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2004, 10:54 AM   #1
Scarebyte
LQ Newbie
 
Registered: Oct 2004
Location: Lima-Peru
Distribution: LFS
Posts: 4

Rep: Reputation: 0
Firefox, compile error


Hi

I'm tried to compile firefox 1.0 in a LFS, with kernel 2.6.8.1 with glibc headers 2.6.8.1 and with gcc 3.4.2
I get the following error:

. .
. .
. .
make[4]: Entering directory `/sources/mozilla/profile/dirserviceprovider/src'
/sources/mozilla/config/nsinstall -R -m 644 libprofdirserviceprovider_s.a ../../../dist/lib
make[4]: Leaving directory `/sources/mozilla/profile/dirserviceprovider/src'
make[3]: Leaving directory `/sources/mozilla/profile/dirserviceprovider'
make[3]: Entering directory `/sources/mozilla/profile/src'
nsProfile.cpp
c++ -o nsProfile.o -c -DOSTYPE=\"Linux2.6.8\" -DOSARCH=\"Linux\" -I./../dirserviceprovider/src
-I../../dist/include/xpcom -I../../dist/include/xpcom_obsolete -I../../dist/include/string -I../../dist/include/content
-I../../dist/include/docshell -I../../dist/include/webbrwsr -I../../dist/include/dom -I../../dist/include/js
-I../../dist/include/xpconnect -I../../dist/include/widget -I../../dist/include/necko -I../../dist/include/uriloader
-I../../dist/include/intl -I../../dist/include/pref -I../../dist/include/prefmigr -I../../dist/include/appshell
-I../../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/include/profdirserviceprovider
-I../../dist/include/profile -I../../dist/include -I/sources/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC
-I/usr/X11R6/include -frtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED
-ffunction-sections -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfile.pp
nsProfile.cpp
nsProfile.cpp: In member function `virtual nsresult nsProfile::StartupWithArgs(nsICmdLineService*, PRBool)':
nsProfile.cpp:414: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:423: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp: In member function `virtual nsresult nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const
PRUnichar*, const PRUnichar*, const PRUnichar*, PRBool)':
nsProfile.cpp:1724: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:1736: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'GetSelectedSkin'
nsProfile.cpp:1738: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectSkinForProfile'
nsProfile.cpp:1760: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
make[3]: *** [nsProfile.o] Error 1
make[3]: Leaving directory `/sources/mozilla/profile/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/sources/mozilla/profile'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/sources/mozilla'
make: *** [default] Error 2

Any ideas?

Johnny
 
Old 10-22-2004, 11:00 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Try with gcc-3.3.
3.4 is somewhat picky on some syntax issues.
 
Old 10-22-2004, 03:20 PM   #3
Scarebyte
LQ Newbie
 
Registered: Oct 2004
Location: Lima-Peru
Distribution: LFS
Posts: 4

Original Poster
Rep: Reputation: 0
I tried to compile in LFS with kernel 2.4.26, gcc 3.3.2 and occurs the same error:

. .
. .
c++ -o nsProfile.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I./../dirserviceprovider/src -I../../dist/include/xpcom -I../../dist/include/xpcom_obsolete -I
../../dist/include/string -I../../dist/include/content -I../../dist/include/docshell -I../../dist/include/webbrwsr -I../../dist/include/dom -I../../dist/inclu
de/js -I../../dist/include/xpconnect -I../../dist/include/widget -I../../dist/include/necko -I../../dist/include/uriloader -I../../dist/include/intl -I../../d
ist/include/pref -I../../dist/include/prefmigr -I../../dist/include/appshell -I../../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/includ
e/profdirserviceprovider -I../../dist/include/profile -I../../dist/include -I/sources/mozilla/dist/include/nspr -fPIC -frtti -fno-exceptions -Wall -W
conversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe
-DNDEBUG -DTRIMMED -ffunction-sections -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfile.pp nsProfile.cpp
nsProfile.cpp: In member function `virtual nsresult
nsProfile::StartupWithArgs(nsICmdLineService*, int)':
nsProfile.cpp:415: error: `SelectLocaleForProfile' undeclared (first use this
function)
nsProfile.cpp:415: error: (Each undeclared identifier is reported only once for
each function it appears in.)
nsProfile.cpp: In member function `virtual nsresult
nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*,
const PRUnichar*, const PRUnichar*, int)':
nsProfile.cpp:1725: error: `SelectLocaleForProfile' undeclared (first use this
function)
nsProfile.cpp:1736: error: `GetSelectedSkin' undeclared (first use this
function)
nsProfile.cpp:1739: error: `SelectSkinForProfile' undeclared (first use this
function)
make[3]: *** [nsProfile.o] Error 1
make[3]: Leaving directory `/sources/mozilla/profile/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/sources/mozilla/profile'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/sources/mozilla'
make: *** [default] Error 2

 
Old 10-24-2004, 08:31 PM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Hmm.. googling for: "nsProfile.cpp:415: error: `SelectLocaleForProfile'"
gave me a page about typical compiler errors. Maybe it helps.
 
Old 11-04-2004, 03:55 PM   #5
Scarebyte
LQ Newbie
 
Registered: Oct 2004
Location: Lima-Peru
Distribution: LFS
Posts: 4

Original Poster
Rep: Reputation: 0
Excuse by the delay, and thanks for the answer, thanks to that page I have compiled firefox well. The problem is that I had bad .mozconf. In this other page also I found another way to compile firefox.
http://www.linuxfromscratch.org/blfs...t/firefox.html

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two million error lines in .xsession-error file from FireFox acanton Linux - Software 4 08-28-2005 09:53 AM
firefox 1.0.6 error simple Linux - Newbie 1 07-22-2005 05:59 AM
How to compile firefox standalone? jon_k Linux - Software 1 12-22-2004 03:17 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration