Subject: Mozilla Milestone 18 via pkgsrc
To: None <netbsd-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 10/14/2000 23:09:49
If anyone can get mozilla-0.m18 pkgsrc to build under 1.4.2 (i386), please
let me know.

I grabbed the latest pkgsrc via cvs and a make died with:

rm -f libxpcom.so.1.0
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wbad-function-
cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic
-Wno-long-long
 -Dunix -O  -DNDEBUG -DTRIMMED -Wl,-R/usr/X11R6/lib/mozilla -shared -o
libxpcom.
so.1.0     nsXPComInit.o    -Wl,-R/usr/X11R6/lib/mozilla
-Wl,-R/usr/X11R6/lib -L
/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/X11R6/lib/mozilla -W
l,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,--whol
e-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a
../../dist
/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a
../../dist/lib/li
bxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a
../../dist/lib/libxptcall.a ../.
./dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a
../..
/dist/lib/libmozreg_s.a  -Wl,--no-whole-archive  -L../../dist/bin -lplds4
-lplc4  -lnspr4  -lintl -lutil -lm

*** some (multiply defined) messages clipped here ***

/usr/lib/libgcc.a(_eh.o): Definition of symbol `___throw' (multiply
defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol `___deregister_frame'
(multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol `___register_frame'
(multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol `___register_frame_table'
(multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol `___frame_state_for'
(multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol
`___deregister_frame_info' (multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol `___register_frame_info'
(multiply defined)
/usr/lib/libgcc.a(frame.o): Definition of symbol
`___register_frame_info_table' (multiply defined)
collect2: ld returned 1 exit status
gmake[2]: *** [libxpcom.so.1.0] Error 1
gmake[2]: Leaving directory
`/usr/pkg/pkgsrc/www/mozilla/work/mozilla/xpcom/build'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory
`/usr/pkg/pkgsrc/www/mozilla/work/mozilla/xpcom'
gmake: *** [install] Error 2
*** Error code 2

Can anyone explain this (multiply defined) message?

Is this something I should report via Bugzilla?

   Jeremy C. Reed
   http://www.reedmedia.net/