Subject: Mozilla build problems (alpha)
To: None <current-users@netbsd.org>
From: Jarkko Teppo <jarkko.teppo@er-grp.com>
List: current-users
Date: 10/15/2003 10:43:47
Hi!

With the latest pkgsrc and 1.6ZC on alpha I get this while trying to build
mozilla:

c++  -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/includ
e  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-a
rith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-
long -O2 -mieee -I/usr/pkg/include -I/usr/X11R6/include -Dunix -mieee -fshort-wc
har -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -o xpcshell xpcshell.o -Wl,-R/usr/pkg
/lib/mozilla -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6
/lib   -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lmo
zjs -L../../../../dist/bin -lxpcom  -L/home/pkgsrc/www/mozilla/work/mozilla/dist
/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/lib -L/usr/X11R6/lib -pthread   -lm  -lin
tl    -Wl,--export-dynamic
../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub20
3()'
../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub15
6()'
../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub18
4()'

The "undefined reference" lines continue for another ~270 lines.
/etc/mk.conf has nothing interesting, but I added --enable-xft to 
Makefile.common (and I have no idea if it works or even what I'm doing. I just
want blurry antialiased fonts to mozilla).

bash-2.05$ cc -v
Using built-in specs.
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --build=alpha-unknown-netbsd --host=alpha--netbsd --target=alpha--netbsd
Thread model: posix
gcc version 3.3.1
bash-2.05$

Any help appreciated.
-- 
jht