[ooo-build] Why do none help me? dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_stlport'

Hailong Wang whl0630 at gmail.com
Mon Mar 29 06:11:35 PDT 2010


Hi, I did by your suggestion. But the error still exits, as follows:

=============
Building module soltools

Entering /root/work/ooo-build/build/ooo320-m12/soltools/mkdepend
Compiling: soltools/mkdepend/cppsetup.c
rmdir /tmp/gUZrrFV0kh
ed command line option "-fno-stack-protector"
dmake:  Error code 1, while making '../unxlngi6.pro/obj/cppsetup.obj'

ERROR: Error 65280 occurred while making /root/work/ooo-build/build/ooo320-m12/soltools/mkdepend
make: *** [stamp/build] Error 1


Thank you all the same.


----- Original Message ----- 
From: "Fridrich Strba" <fstrba at novell.com>
To: <whl0630 at gmail.com>
Cc: <ooo-build at lists.freedesktop.org>
Sent: Monday, March 29, 2010 4:21 PM
Subject: Re: [ooo-build] Why do none help me? dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_stlport'


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


More information about the ooo-build mailing list