MozillaZine

Is anyone having problems building?

Discussion about official Mozilla Firefox builds
joshk

User avatar
 
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA

Post Posted January 14th, 2003, 8:50 pm

nsDocShell.cpp: In member function `virtual nsresult
nsDocShell::InternalLoad(nsIURI*, nsIURI*, nsISupports*, int, const
PRUnichar*, nsIInputStream*, nsIInputStream*, unsigned int, nsISHEntry*,
int, nsIDocShell**, nsIRequest**)':
nsDocShell.cpp:4837: warning: enumeral mismatch in conditional expression: `
nsIContentPolicy::<anonymous enum>' vs `nsIContentPolicy::<anonymous enum>'
nsDocShell.cpp: In member function `nsresult
nsDocShell::AddToGlobalHistory(nsIChannel*, nsIURI*, int)':
nsDocShell.cpp:6403: no matching function for call to `
nsDerivedSafe<nsIBrowserHistory>::OutputReferrerURL(const char*, const char*
)'
make[4]: *** [nsDocShell.o] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [tier_9] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2

Ring a bell with any of you?
<mspencer> Hitler used an aimbot.

Hendikins

User avatar
 
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post Posted January 14th, 2003, 8:58 pm

Yes sir, she's hosed!

crippled-bird
Guest
 

Post Posted January 14th, 2003, 10:43 pm

It's fixed - checkout and try again

Shadow3333

User avatar
 
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post Posted January 15th, 2003, 12:41 am

Build from the 14th didn't had one single problem, strange...

joshk

User avatar
 
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA

Post Posted January 15th, 2003, 1:03 am

Turned out my CVS/Entries got messed up, so even updating all the files affecting this bug wouldn't work. I just nuked my source tree and checked a new one out.. ;D

It builds now. i tried it with GTK+ 2.0 on a whim, and a lot of "Gtk-CRITICAL' asserts failed and it refused to start. :| Well, I will build once again with GTK+ 1.2.
<mspencer> Hitler used an aimbot.

Hendikins

User avatar
 
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post Posted January 15th, 2003, 11:09 am

No such trouble for me...

Just a cvs up -Pd toolkit and gmake -f client.mk build, and it took off from where it failed :)

Shadow3333

User avatar
 
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post Posted January 15th, 2003, 12:46 pm

Ok i have a problem with building Phoenix today, tried it over and over again, but the cron job keeps failing, must be something in the Mozilla code, cuz i didn't change jack shit on my machine.. oh well let's try tomorrow :)

Hendikins

User avatar
 
Posts: 26
Joined: December 31st, 1969, 5:00 pm
Location: On a train

Post Posted January 15th, 2003, 4:52 pm

Using cron would be great if I used my computer at regular hours. Problem is, I don't, so I just have a shell script that does a make distclean, gmake -f client.mk checkout, killall -9 pppd (shared phone line!) and gmake -f client.mk build which I run when I leave the computer for more than a couple of hours (going out, sleeping)...

Shadow3333

User avatar
 
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post Posted January 16th, 2003, 2:45 am

Hendikins wrote:Using cron would be great if I used my computer at regular hours.


I'm not using it either on a regular base, but i can start the computer from work (Wake On Lan) and the cron job will run at 6 pm :)

ruckerz
 
Posts: 22
Joined: December 1st, 2002, 9:06 pm

Post Posted January 16th, 2003, 5:06 am

ake[4]: Entering directory `/home/ruckerz/mozilla/xpfe/appshell/src'
nsUserInfoUnix.cpp
c++ -o nsUserInfoUnix.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/dom -I../../../dist/include/necko -I../../../dist/include/uriloader -I../../../dist/include/js -I../../../dist/include/locale -I../../../dist/include/webbrwsr -I../../../dist/include/pref -I../../../dist/include/xpconnect -I../../../dist/include/intl -I../../../dist/include/xul -I../../../dist/include/windowwatcher -I../../../dist/include/browser -I../../../dist/include/caps -I../../../dist/include/profile -I../../../dist/include/unicharutil -I../../../dist/include/embed_base -I../../../dist/include/exthandler -I../../../dist/include/appshell -I../../../dist/include -I/home/ruckerz/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pthread -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsUserInfoUnix.pp nsUserInfoUnix.cpp
nsUserInfoUnix.cpp: In member function `virtual nsresult
nsUserInfo::GetDomain(char**)':
nsUserInfoUnix.cpp:145: `struct utsname' has no member named `__domainname'
make[4]: *** [nsUserInfoUnix.o] Error 1
make[4]: Leaving directory `/home/ruckerz/mozilla/xpfe/appshell/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/ruckerz/mozilla/xpfe/appshell'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/ruckerz/mozilla/xpfe'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/home/ruckerz/mozilla'
make: *** [default] Error 2

Always craps out here.... last cvs checkout was Jan 15

Shadow3333

User avatar
 
Posts: 1761
Joined: November 5th, 2002, 5:22 am
Location: Amsterdam, Holland

Post Posted January 16th, 2003, 1:01 pm

source from the sixteenth is 'save' again :) just finished building Phoenix.

ruckerz
 
Posts: 22
Joined: December 1st, 2002, 9:06 pm

Post Posted January 20th, 2003, 1:25 pm

FIX

check http://gcc.gnu.org/ml/gcc-bugs/2001-02/msg00063.html about The definition of struct utsname is different depending on on whether one uses gcc or g++ to compile the program

changed nsUserInfoUnix.cpp to read

// #if defined(HAVE_UNAME_DOMAINNAME_FIELD)
domainname = buf.domainname;
//#elif defined(HAVE_UNAME_US_DOMAINNAME_FIELD)
//# domainname = buf.__domainname;
//#endif

Temporary Fix, but works

nkurz
 
Posts: 62
Joined: November 12th, 2002, 10:09 pm

Post Posted January 23rd, 2003, 2:17 pm

ruckerz wrote:ake[4]
nsUserInfoUnix.cpp: In member function `virtual nsresult
nsUserInfo::GetDomain(char**)':
nsUserInfoUnix.cpp:145: `struct utsname' has no member named `__domainname'

...

Always craps out here.... last cvs checkout was Jan 15



I had this problem also, after upgrading to GCC 3.2.1. The problem was that configure was still using the old values, even though it was re-run. Solution was to delete 'config.cache' and re-run configure. Suddenly things worked again.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 3 guests