skidley wrote: > On Wed, May 15, 2002 at 12:58:54AM -0400, Tim Lee wrote: > >>Rebuilding the mozilla 1.0rc2 with gcc 2.96 will enable the use of the java >>plugin with rc2. I rebuilt the source rpm myself and the java plugin works >>fine with rc2. >> >>Hope that helps, >> Tim >> > > I did rpm --rebuild with gcc-2.96-0.76mdk and after 3 1/2 hrs into the > build it pukes up with this error: > > make[1]: `Linux_All_OPT.OBJ/jsautocfg.h' is up to date. > make[1]: `Linux_All_OPT.OBJ/jscpucfg' is up to date. > make[1]: `Linux_All_OPT.OBJ/jscpucfg.o' is up to date. > make[1]: Nothing to be done for `Linux_All_OPT.OBJ/jsmathtemp.o'. > make[1]: Leaving directory `/home/skidley/rpm/BUILD/mozilla/js/src' > + gcc -shared -fPIC -o libc++mem.so libc++mem.c > libc++mem.c: In function `__builtin_vec_new': > libc++mem.c:8: parse error before `}' > error: Bad exit status from /home/skidley/rpm/tmp/rpm-tmp.41145 (%build) > > > RPM build errors: > Bad exit status from /home/skidley/rpm/tmp/rpm-tmp.41145 (%build) > > Anybody have any ideas what would casue this? >
Support for gcc<3.1 plugins to work with gcc3.1 mozilla that was added. Remove source9 and take all bits referring to libc++mem.so out of patch25. Otherwise get the new patch and spec at http://ranger.dnsalias.com/mandrake/mandrake8.2/mozilla/ You could probably hack around to not have to rebuild, but you would have to hand edit $RPM_BUILD_ROOT/mozilla , and then rpm --bi --short-circuit, and then rpm -bb --short-circuit on the new spec file. Otherwise let it build overnight. (The RPMs there were compiled on 8.2, but I am not sure if it was 2.96 or 3.0.4 ...) Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
