Hi, <br><br>In patches/dev300/apply comment the the patch ubuntu-no-stack-protector.diff <br><br>Best regards,<br>Andras<br><br><div class="gmail_quote">2010/3/29 Hailong Wang <span dir="ltr"><<a href="mailto:whl0630@gmail.com">whl0630@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, I did by your suggestion. But the error still exits, as follows:<br>
<br>
=============<br>
Building module soltools<br>
<br>
Entering /root/work/ooo-build/build/ooo320-m12/soltools/mkdepend<br>
Compiling: soltools/mkdepend/cppsetup.c<br>
rmdir /tmp/gUZrrFV0kh<br>
<div class="im">ed command line option "-fno-stack-protector"<br>
dmake: Error code 1, while making '../<a href="http://unxlngi6.pro/obj/cppsetup.obj" target="_blank">unxlngi6.pro/obj/cppsetup.obj</a>'<br>
<br>
ERROR: Error 65280 occurred while making /root/work/ooo-build/build/ooo320-m12/soltools/mkdepend<br>
make: *** [stamp/build] Error 1<br>
<br>
<br>
</div>Thank you all the same.<br>
<div class="im"><br>
<br>
----- Original Message -----<br>
From: "Fridrich Strba" <<a href="mailto:fstrba@novell.com">fstrba@novell.com</a>><br>
To: <<a href="mailto:whl0630@gmail.com">whl0630@gmail.com</a>><br>
Cc: <<a href="mailto:ooo-build@lists.freedesktop.org">ooo-build@lists.freedesktop.org</a>><br>
</div><div><div></div><div class="h5">Sent: Monday, March 29, 2010 4:21 PM<br>
Subject: Re: [ooo-build] Why do none help me? dmake: Error code 2, while making './<a href="http://unxlngi6.pro/misc/build/so_built_so_stlport" target="_blank">unxlngi6.pro/misc/build/so_built_so_stlport</a>'<br>
<br>
<br>
> OK, I cannot really know which compiler Ubuntu uses and what are the<br>
> internal messes. So, there is a nice option in ooo-build that allows one<br>
> to build his own compiler and his own binutils to have a bit more<br>
> controled environment: --without-system-gcc.<br>
><br>
> After one reconfigures with this option, one has to run ./download again<br>
> to get the binutils and gcc tarballs.<br>
><br>
> Cheers<br>
><br>
> Fridrich<br>
><br>
> On Mon, 2010-03-29 at 16:07 +0800, Hailong Wang wrote:<br>
>> Thank you.<br>
>> This help me solve the error. But another error happens. The message are:<br>
>><br>
>> cc1: error: unrecognized command line option "-fno-stack-protector"<br>
>> dmake: Error code 1, while making '../<a href="http://unxlngi6.pro/obj/cppsetup.obj" target="_blank">unxlngi6.pro/obj/cppsetup.obj</a>'<br>
>><br>
>> ERROR: Error 65280 occurred while making /root/work/ooo-build/build/ooo320-m12/soltools/mkdepend<br>
>> make: *** [stamp/build] Error 1<br>
>><br>
>><br>
>> ----- Original Message -----<br>
>> From: "Fridrich Strba" <<a href="mailto:fstrba@novell.com">fstrba@novell.com</a>><br>
>> To: <<a href="mailto:whl0630@gmail.com">whl0630@gmail.com</a>><br>
>> Cc: <<a href="mailto:ooo-build@lists.freedesktop.org">ooo-build@lists.freedesktop.org</a>><br>
>> Sent: Monday, March 29, 2010 2:57 PM<br>
>> Subject: Re: [ooo-build] Why do none help me? dmake: Error code 2, while making<br>
> './<a href="http://unxlngi6.pro/misc/build/so_built_so_stlport" target="_blank">unxlngi6.pro/misc/build/so_built_so_stlport</a>'<br>
>><br>
>><br>
>> > As an immediate workaround, you can reconfigure with option<br>
>> > --without-stlport.<br>
>> ><br>
>> > Cheers<br>
>> ><br>
>> > Fridrich<br>
>> ><br>
>> ><br>
>> > On Mon, 2010-03-29 at 09:37 +0800, 王海龙 wrote:<br>
>> >> <br>
>> >><br>
>> >> Hi all,<br>
>> >><br>
>> >> When I build ooo-build-3-2 in my Ubuntu Karmic, "Building module<br>
>> >> solenv" and "Building module boost" is right.<br>
>> >> But the error happens when "Building module stlport". Here are the<br>
>> >> error message.<br>
>> >><br>
>> >> =============<br>
>> >> Building module stlport<br>
>> >><br>
>> >> Entering /root/work/ooo-build/build/ooo320-m12/stlport/<br>
>> >> mkdir: cannot create directory<br>
>> >> `./<a href="http://unxlngi6.pro/misc/build/STLport-4.5/src" target="_blank">unxlngi6.pro/misc/build/STLport-4.5/src</a>': File exists<br>
>> >> make[1]: Entering directory<br>
>> >> `/root/work/ooo-build/build/ooo320-m12/stlport/<a href="http://unxlngi6.pro/misc/build/STLport-4.5/src" target="_blank">unxlngi6.pro/misc/build/STLport-4.5/src</a>'<br>
>> >> g++ -Wl,--hash-style=both -Wl,-Bsymbolic-functions<br>
>> >> -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo<br>
>> >> -Wl,-rpath,'$ORIGIN' --fexceptions -shared<br>
>> >> -o ../lib/libstlport_gcc.so.4.5 ../lib/obj/GCC/ReleaseD/dll_main.o ../lib/obj/GCC/ReleaseD/fstream.o<br>
>> > ../lib/obj/GCC/ReleaseD/strstream.o ../lib/obj/GCC/ReleaseD/sstream.o ../lib/obj/GCC/ReleaseD/ios.o<br>
>> > ../lib/obj/GCC/ReleaseD/streambuf.o ../lib/obj/GCC/ReleaseD/stdio_streambuf.o ../lib/obj/GCC/ReleaseD/istream.o<br>
>> > ../lib/obj/GCC/ReleaseD/ostream.o ../lib/obj/GCC/ReleaseD/iostream.o ../lib/obj/GCC/ReleaseD/codecvt.o<br>
>> > ../lib/obj/GCC/ReleaseD/collate.o ../lib/obj/GCC/ReleaseD/ctype.o ../lib/obj/GCC/ReleaseD/monetary.o<br>
>> > ../lib/obj/GCC/ReleaseD/num_get.o ../lib/obj/GCC/ReleaseD/num_put.o ../lib/obj/GCC/ReleaseD/num_get_float.o<br>
>> > ../lib/obj/GCC/ReleaseD/num_put_float.o ../lib/obj/GCC/ReleaseD/numpunct.o ../lib/obj/GCC/ReleaseD/time_facets.o<br>
>> > ../lib/obj/GCC/ReleaseD/messages.o ../lib/obj/GCC/ReleaseD/locale_impl.o ../lib/obj/GCC/ReleaseD/locale.o<br>
>> > ../lib/obj/GCC/ReleaseD/locale_catalog.o ../lib/obj/GCC/ReleaseD/facets_byname.o ../lib/obj/GCC/ReleaseD/c_locale.o<br>
>> > ../lib/obj/GCC/ReleaseD/c_locale_stub.o ../lib/obj/GCC/ReleaseD/complex.o ../lib/obj/GCC/ReleaseD/complex_exp.o<br>
>> > ../lib/obj/GCC/ReleaseD/complex_io.o ../lib/obj/GCC/ReleaseD/complex_trig.o ../lib/obj/GCC/ReleaseD/complex_io_w.o<br>
>> > ../lib/obj/GCC/ReleaseD/string_w.o<br>
>> >> `.L10197' referenced in section `.rodata'<br>
>> >> of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section<br>
>> >><br>
>> ><br>
> `.gnu.linkonce.t._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm'<br>
>> > of ../lib/obj/GCC/ReleaseD/locale_impl.o<br>
>> >> `.L10201' referenced in section `.rodata'<br>
>> >> of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section<br>
>> >><br>
>> ><br>
> `.gnu.linkonce.t._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm'<br>
>> > of ../lib/obj/GCC/ReleaseD/locale_impl.o<br>
>> >> ....> >> `.L19175' referenced in section `.rodata'<br>
>> >> of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded<br>
>> >> section<br>
>> >><br>
>> ><br>
> `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE'<br>
>> > of ../lib/obj/GCC/ReleaseD/locale_catalog.o<br>
>> >> collect2: ld returned 1 exit status<br>
>> >><br>
>> >> make[1]: *** [../lib/libstlport_gcc.so.4.5] Error 1<br>
>> >> make[1]: Leaving directory<br>
>> >> `/root/work/ooo-build/build/ooo320-m12/stlport/<a href="http://unxlngi6.pro/misc/build/STLport-4.5/src" target="_blank">unxlngi6.pro/misc/build/STLport-4.5/src</a>'<br>
>> >> dmake: Error code 2, while making<br>
>> >> './<a href="http://unxlngi6.pro/misc/build/so_built_so_stlport" target="_blank">unxlngi6.pro/misc/build/so_built_so_stlport</a>'<br>
>> >><br>
>> >> ERROR: Error 65280 occurred while<br>
>> >> making /root/work/ooo-build/build/ooo320-m12/stlport/<br>
>> >> rmdir /tmp/nuX3LYSpRQ<br>
>> >> make: *** [stamp/build] Error 1<br>
>> >> _______________________________________________<br>
>> >> ooo-build mailing list<br>
>> >> <a href="mailto:ooo-build@lists.freedesktop.org">ooo-build@lists.freedesktop.org</a><br>
>> >> <a href="http://lists.freedesktop.org/mailman/listinfo/ooo-build" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ooo-build</a><br>
>> ><br>
>> ><br>
>> _______________________________________________<br>
>> ooo-build mailing list<br>
>> <a href="mailto:ooo-build@lists.freedesktop.org">ooo-build@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/ooo-build" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ooo-build</a><br>
><br>
><br>
_______________________________________________<br>
ooo-build mailing list<br>
<a href="mailto:ooo-build@lists.freedesktop.org">ooo-build@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ooo-build" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ooo-build</a><br>
</div></div></blockquote></div><br>