atom feed8 messages in org.openoffice.porting.devRe: [porting-dev] Mac OS X Quartz Ver...
FromSent OnAttachments
Ling...@insightbb.comSep 16, 2002 6:50 pm 
Patrick LubySep 16, 2002 7:16 pm 
Ling...@insightbb.comSep 17, 2002 3:48 am 
Richard StacpooleSep 17, 2002 6:11 am 
Ed PeterlinSep 17, 2002 10:24 am 
Ling...@insightbb.comSep 17, 2002 1:28 pm 
Elsbury, ReaganSep 17, 2002 1:38 pm 
Ed PeterlinSep 17, 2002 1:42 pm 
Subject:Re: [porting-dev] Mac OS X Quartz Version STLport
From:Ling...@insightbb.com (Ling@insightbb.com)
Date:Sep 17, 2002 1:28:13 pm
List:org.openoffice.porting.dev

I used the instructions from http://porting.openoffice.org/mac/build_OO638C_Quartz.html except it did not build. I then edited the gcc-apple-macosx.mak file to change the compiler to gcc2, but its still did not compile.

Here is the output:

% make -f gcc-apple-macosx.mak

cc -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -fno-coalesce -O2 -fPIC dll_main.cpp -c -o obj/GCC/ReleaseD/dll_main.o In file included from ../stlport/utility:42, from dll_main.cpp:4: ../stlport/stl/type_traits.h:233: warning: use of `long double' type; its size may change in a future release ../stlport/stl/type_traits.h:233: warning: (Long double usage is reported only once for each file. ../stlport/stl/type_traits.h:233: warning: To disable this warning, use -Wno-long-double.) In file included from ../stlport/stl/_alloc.h:39, from ../stlport/memory:28, from dll_main.cpp:5: ../stlport/cstddef:29:42: warning: pasting "/" and "stddef" does not give a valid preprocessing token ../stlport/cstddef:29:42: warning: pasting "h" and ">" does not give a valid preprocessing token In file included from ../stlport/stl/_alloc.h:47, from ../stlport/memory:28, from dll_main.cpp:5: ../stlport/cstdlib:27:42: warning: pasting "/" and "stdlib" does not give a valid preprocessing token ../stlport/cstdlib:27:42: warning: pasting "h" and ">" does not give a valid preprocessing token In file included from ../stlport/stl/_alloc.h:50, from ../stlport/memory:28, from dll_main.cpp:5: ../stlport/cstring:27:42: warning: pasting "/" and "string" does not give a valid preprocessing token ../stlport/cstring:27:42: warning: pasting "h" and ">" does not give a valid preprocessing token In file included from ../stlport/stl/_alloc.h:68, from ../stlport/memory:28, from dll_main.cpp:5: ../stlport/new:49:37: warning: pasting "/" and "new" does not give a valid preprocessing token ../stlport/new:49:37: warning: pasting "new" and ">" does not give a valid preprocessing token ../stlport/new:49:38: ../g++/new: No such file or directory In file included from ../stlport/stdexcept:33, from ../stlport/stl/_range_errors.h:51, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/exception:48:43: warning: pasting "/" and "exception" does not give a valid preprocessing token ../stlport/exception:48:43: warning: pasting "exception" and ">" does not give a valid preprocessing token ../stlport/exception:48:44: ../g++/exception: No such file or directory In file included from ../stlport/iostream.h:104, from ../stlport/wrap_std/iosfwd:64, from ../stlport/iosfwd:45, from ../stlport/stl/_string_fwd.h:22, from ../stlport/stdexcept:45, from ../stlport/stl/_range_errors.h:51, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/wrap_std/h/iostream.h:1:53: warning: pasting "/" and "iostream" does not give a valid preprocessing token ../stlport/wrap_std/h/iostream.h:1:53: warning: pasting "h" and ">" does not give a valid preprocessing token ../stlport/wrap_std/h/iostream.h:1:54: ../g++/iostream.h: No such file or directory In file included from ../stlport/fstream.h:34, from ../stlport/wrap_std/iosfwd:65, from ../stlport/iosfwd:45, from ../stlport/stl/_string_fwd.h:22, from ../stlport/stdexcept:45, from ../stlport/stl/_range_errors.h:51, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/wrap_std/h/fstream.h:1:52: warning: pasting "/" and "fstream" does not give a valid preprocessing token ../stlport/wrap_std/h/fstream.h:1:52: warning: pasting "h" and ">" does not give a valid preprocessing token ../stlport/wrap_std/h/fstream.h:1:53: ../g++/fstream.h: No such file or directory In file included from ../stlport/stl/char_traits.h:32, from ../stlport/wrap_std/iosfwd:69, from ../stlport/iosfwd:45, from ../stlport/stl/_string_fwd.h:22, from ../stlport/stdexcept:45, from ../stlport/stl/_range_errors.h:51, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/cwchar:38:42: warning: pasting "/" and "stddef" does not give a valid preprocessing token ../stlport/cwchar:38:42: warning: pasting "h" and ">" does not give a valid preprocessing token In file included from ../stlport/stl/_range_errors.h:51, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/stdexcept:50: parse error before `{' token ../stlport/stdexcept:54: `_S_bufsize' was not declared in this scope ../stlport/stdexcept:54: warning: ISO C++ forbids declaration of `_M_name' with no type ../stlport/stdexcept:54: assignment (not initialization) in declaration ../stlport/stdexcept:55: parse error before `}' token ../stlport/stdexcept:56: virtual outside class declaration ../stlport/stdexcept:56: non-member function `const char* what()' cannot have ` const' method qualifier ../stlport/stdexcept: In function `const char* what()': ../stlport/stdexcept:56: `_M_name' undeclared (first use this function) ../stlport/stdexcept:56: (Each undeclared identifier is reported only once for each function it appears in.) ../stlport/stdexcept: At global scope: ../stlport/stdexcept:58: parse error before `private' ../stlport/stdexcept:60: `_S_bufsize' was not declared in this scope ../stlport/stdexcept:61: parse error before `}' token ../stlport/stdexcept:63: base class `__Named_exception' has incomplete type ../stlport/stdexcept: In constructor `logic_error::logic_error(const string&)': ../stlport/stdexcept:65: type `class __Named_exception' is not a direct base of `logic_error' ../stlport/stdexcept: At global scope: ../stlport/stdexcept:68: base class `__Named_exception' has incomplete type ../stlport/stdexcept: In constructor `runtime_error::runtime_error(const string&)': ../stlport/stdexcept:70: type `class __Named_exception' is not a direct base of `runtime_error' In file included from ../stlport/cctype:30, from ../stlport/stl/_string.h:27, from ../stlport/string:44, from ../stlport/stl/_range_errors.h:55, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/ctype.h:23:40: warning: pasting "/" and "ctype" does not give a valid preprocessing token ../stlport/ctype.h:23:40: warning: pasting "h" and ">" does not give a valid preprocessing token In file included from ../stlport/stl/_string.h:1532, from ../stlport/string:44, from ../stlport/stl/_range_errors.h:55, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/stl/_string_io.h: At global scope: ../stlport/stl/_string_io.h:80: syntax error before `&' token ../stlport/stl/_string_io.h:80: `ostream' was not declared in this scope ../stlport/stl/_string_io.h:80: `__os' was not declared in this scope ../stlport/stl/_string_io.h:81: parse error before `<' token ../stlport/stl/_string_io.h:81: warning: ISO C++ forbids declaration of ` operator<<' with no type ../stlport/stl/_string_io.h:81: `int& operator<<(...)' must have an argument of class or enumerated type ../stlport/stl/_string_io.h:81: `int& operator<<(...)' must take exactly two arguments ../stlport/stl/_string_io.h:84: syntax error before `&' token ../stlport/stl/_string_io.h:84: `istream' was not declared in this scope ../stlport/stl/_string_io.h:84: `__is' was not declared in this scope ../stlport/stl/_string_io.h:84: `_CharT' was not declared in this scope ../stlport/stl/_string_io.h:84: `_Traits' was not declared in this scope ../stlport/stl/_string_io.h:84: `_Alloc' was not declared in this scope ../stlport/stl/_string_io.h:84: template argument 1 is invalid ../stlport/stl/_string_io.h:84: template argument 2 is invalid ../stlport/stl/_string_io.h:84: template argument 3 is invalid ../stlport/stl/_string_io.h:84: parse error before `&' token ../stlport/stl/_string_io.h:84: warning: ISO C++ forbids declaration of ` operator>>' with no type ../stlport/stl/_string_io.h:84: `int& operator>>(...)' must have an argument of class or enumerated type ../stlport/stl/_string_io.h:84: `int& operator>>(...)' must take exactly two arguments ../stlport/stl/_string_io.h:87: syntax error before `&' token ../stlport/stl/_string_io.h:87: `istream' was not declared in this scope ../stlport/stl/_string_io.h:87: `__is' was not declared in this scope ../stlport/stl/_string_io.h:88: `_CharT' was not declared in this scope ../stlport/stl/_string_io.h:88: `_Traits' was not declared in this scope ../stlport/stl/_string_io.h:88: `_Alloc' was not declared in this scope ../stlport/stl/_string_io.h:88: template argument 1 is invalid ../stlport/stl/_string_io.h:88: template argument 2 is invalid ../stlport/stl/_string_io.h:88: template argument 3 is invalid ../stlport/stl/_string_io.h:88: parse error before `&' token ../stlport/stl/_string_io.h:89: warning: ISO C++ forbids declaration of ` getline' with no type ../stlport/stl/_string_io.h:93: syntax error before `&' token ../stlport/stl/_string_io.h:94: `istream' was not declared in this scope ../stlport/stl/_string_io.h:94: `__is' was not declared in this scope ../stlport/stl/_string_io.h:94: `_CharT' was not declared in this scope ../stlport/stl/_string_io.h:94: `_Traits' was not declared in this scope ../stlport/stl/_string_io.h:94: `_Alloc' was not declared in this scope ../stlport/stl/_string_io.h:94: template argument 1 is invalid ../stlport/stl/_string_io.h:94: template argument 2 is invalid ../stlport/stl/_string_io.h:94: template argument 3 is invalid ../stlport/stl/_string_io.h:94: parse error before `&' token ../stlport/stl/_string_io.h:95: warning: ISO C++ forbids declaration of ` getline' with no type ../stlport/stl/_string_io.h: In function `int& getline(...)': ../stlport/stl/_string_io.h:96: `__is' undeclared (first use this function) ../stlport/stl/_string_io.h:96: `__s' undeclared (first use this function) ../stlport/stl/_string_io.h: At global scope: ../stlport/stl/_string_io.h:100: `ostream' was not declared in this scope ../stlport/stl/_string_io.h:100: `__os' was not declared in this scope ../stlport/stl/_string_io.h:100: `streambuf' was not declared in this scope ../stlport/stl/_string_io.h:100: `__buf' was not declared in this scope ../stlport/stl/_string_io.h:100: parse error before `)' token ../stlport/stl/_string_io.h: In function `void __sgi_string_fill(...)': ../stlport/stl/_string_io.h:102: `__os' undeclared (first use this function) ../stlport/stl/_string_io.h:105: `__n' undeclared (first use this function) ../stlport/stl/_string_io.h:105: `__buf' undeclared (first use this function) In file included from ../stlport/stl/_string_io.h:115, from ../stlport/stl/_string.h:1532, from ../stlport/string:44, from ../stlport/stl/_range_errors.h:55, from ../stlport/stl/_vector.h:50, from ../stlport/vector:36, from dll_main.cpp:6: ../stlport/stl/_string_io.c: At global scope: ../stlport/stl/_string_io.c:179: syntax error before `&' token ../stlport/stl/_string_io.c:179: `ostream' was not declared in this scope ../stlport/stl/_string_io.c:180: parse error before `<' token ../stlport/stl/_string_io.c:181: warning: ISO C++ forbids declaration of ` operator<<' with no type ../stlport/stl/_string_io.c:181: `int& operator<<(...)' must have an argument of class or enumerated type ../stlport/stl/_string_io.c:181: `int& operator<<(...)' must take exactly two arguments ../stlport/stl/_string_io.c: In function `int& operator<<(...)': ../stlport/stl/_string_io.c:183: `streambuf' undeclared (first use this function) ../stlport/stl/_string_io.c:187: `ios' undeclared (first use this function) ../stlport/stl/_string_io.c:187: parse error before `::' token ../stlport/stl/_string_io.c:204: parse error before `::' token ../stlport/stl/_string_io.c:209: parse error before `::' token ../stlport/stl/_string_io.c: At global scope: ../stlport/stl/_string_io.c:215: syntax error before `&' token ../stlport/stl/_string_io.c:215: `istream' was not declared in this scope ../stlport/stl/_string_io.c:215: `_CharT' was not declared in this scope ../stlport/stl/_string_io.c:215: `_Traits' was not declared in this scope ../stlport/stl/_string_io.c:215: `_Alloc' was not declared in this scope ../stlport/stl/_string_io.c:215: template argument 1 is invalid ../stlport/stl/_string_io.c:215: template argument 2 is invalid ../stlport/stl/_string_io.c:215: template argument 3 is invalid ../stlport/stl/_string_io.c:215: parse error before `&' token ../stlport/stl/_string_io.c:216: warning: ISO C++ forbids declaration of ` operator>>' with no type ../stlport/stl/_string_io.c:216: `int& operator>>(...)' must have an argument of class or enumerated type ../stlport/stl/_string_io.c:216: `int& operator>>(...)' must take exactly two arguments ../stlport/stl/_string_io.c: In function `int& operator>>(...)': ../stlport/stl/_string_io.c:224: parse error before `::' token ../stlport/stl/_string_io.c:228: `__c' undeclared (first use this function) ../stlport/stl/_string_io.c:230: `EOF' undeclared (first use this function) ../stlport/stl/_string_io.c:233: parse error before `::' token ../stlport/stl/_string_io.c:237: parse error before `::' token ../stlport/stl/_string_io.c:255: parse error before `::' token ../stlport/stl/_string_io.c:259: parse error before `=' token ../stlport/stl/_string_io.c:263: parse error before `::' token ../stlport/stl/_string_io.c:273: parse error before `::' token ../stlport/stl/_string_io.c: At global scope: ../stlport/stl/_string_io.c:278: parse error before `else' ../stlport/stl/_string_io.c:285: syntax error before `&' token ../stlport/stl/_string_io.c:285: `istream' was not declared in this scope ../stlport/stl/_string_io.c:286: `_CharT' was not declared in this scope ../stlport/stl/_string_io.c:286: `_Traits' was not declared in this scope ../stlport/stl/_string_io.c:286: `_Alloc' was not declared in this scope ../stlport/stl/_string_io.c:286: template argument 1 is invalid ../stlport/stl/_string_io.c:286: template argument 2 is invalid ../stlport/stl/_string_io.c:286: template argument 3 is invalid ../stlport/stl/_string_io.c:286: parse error before `&' token ../stlport/stl/_string_io.c:288: warning: ISO C++ forbids declaration of ` getline' with no type ../stlport/stl/_string_io.c: In function `int& getline(...)': ../stlport/stl/_string_io.c:288: redefinition of `int& getline(...)' ../stlport/stl/_string_io.h:95: `int& getline(...)' previously defined here ../stlport/stl/_string_io.c:288: redefinition of `int& getline(...)' ../stlport/stl/_string_io.h:95: `int& getline(...)' previously defined here ../stlport/stl/_string_io.c:299: parse error before `::' token ../stlport/stl/_string_io.c:304: parse error before `=' token ../stlport/stl/_string_io.c:305: `_Traits' undeclared (first use this function) ../stlport/stl/_string_io.c:305: parse error before `::' token ../stlport/stl/_string_io.c:314: parse error before `::' token ../stlport/stl/_string_io.c:317: parse error before `::' token <internal>: In function `void _Construct(_T1*, const _T2&) [with _T1 = void*, _T2 = void*]': ../stlport/stl/_alloc.h:143: instantiated from `void construct(_T1*, const _T2&) [with _T1 = void*, _T2 = void*]' ../stlport/stl/_alloc.h:421: instantiated from `void allocator<_Tp>::construct(_Tp*, const _Tp&) const [with _Tp = void*]' dll_main.cpp:22: instantiated from here <internal>:89: too many arguments to function `void* operator new(long unsigned int)' ../stlport/stl/_construct.h:89: at this point in file <internal>: In function `void _Construct(_T1*) [with _T1 = void*]': ../stlport/stl/_vector.h:315: instantiated from `void vector<_Tp, _Alloc>::push_back() [with _Tp = void*, _Alloc = allocator<void*>]' dll_main.cpp:28: instantiated from here <internal>:97: too many arguments to function `void* operator new(long unsigned int)' ../stlport/stl/_construct.h:97: at this point in file make: *** [obj/GCC/ReleaseD/dll_main.o] Error 1

On Tuesday, Sep 17, 2002, at 09:11 America/New_York, Richard Stacpoole wrote:

On Tuesday, September 17, 2002, at 08:48 PM, Ling@insightbb.com wrote:

Sorry, I knew I should have said more. OO638C on 10.2 with gcc2.

Could you post the symptoms and the instructions you used to build it?