Error at stlport built when trying to compile OOo milestone on OS X

ben scent <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
Hello,

I am attempting to build the OpenOffice.org 680 milestone on my Mac  
OS X 10.4.1 machine using the instructions found at: http:// 
porting.openoffice.org/mac/build_680_X11.html.

After doing the initial setup and typing dmake, it stops on the  
following error:
--
=============
Building project stlport
=============
/Volumes/Colossus/SRC680_m100/stlport
-------------
mkdir ./unxmacxp.pro/misc/build/STLport-4.5/src
mkdir: ./unxmacxp.pro/misc/build/STLport-4.5/src: File exists
cd ./unxmacxp.pro/misc/build/STLport-4.5/src && make -f gcc-3.0- 
macosx.mak -j1 && touch so_built_so_stlport
g++ -I../stlport -DGXX_INCLUDE_PATH=/usr/include/gcc/darwin/4.0/c++ - 
D_REENTRANT -D_PTHREADS -ftemplate-depth-32 -malign-natural -no-cpp- 
precomp -fexceptions -Wall -W -Wno-sign-compare -Wno-unused -Wno- 
uninitialized -Wno-long-double -O2 -fPIC dll_main.cpp -c -o ../lib/ 
obj/GCC/ReleaseD/dll_main.o
/usr/include/gcc/darwin/4.0/c++/cwchar:71: error: '::mbstate_t' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:145: error: '::btowc' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:146: error: '::fgetwc' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:147: error: '::fgetws' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:148: error: '::fputwc' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:149: error: '::fputws' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:150: error: '::fwide' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:151: error: '::fwprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:152: error: '::fwscanf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:153: error: '::getwc' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:154: error: '::getwchar' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:155: error: '::mbrlen' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:156: error: '::mbrtowc' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:157: error: '::mbsinit' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:158: error: '::mbsrtowcs' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:159: error: '::putwc' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:160: error: '::putwchar' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:161: error: '::swprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:162: error: '::swscanf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:163: error: '::ungetwc' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:164: error: '::vfwprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:166: error: '::vfwscanf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:168: error: '::vswprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:170: error: '::vswscanf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:172: error: '::vwprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:174: error: '::vwscanf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:176: error: '::wcrtomb' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:177: error: '::wcscat' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:178: error: '::wcscmp' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:179: error: '::wcscoll' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:180: error: '::wcscpy' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:181: error: '::wcscspn' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:182: error: '::wcsftime' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:183: error: '::wcslen' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:184: error: '::wcsncat' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:185: error: '::wcsncmp' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:186: error: '::wcsncpy' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:187: error: '::wcsrtombs' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:188: error: '::wcsspn' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:189: error: '::wcstod' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:191: error: '::wcstof' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:193: error: '::wcstok' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:194: error: '::wcstol' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:195: error: '::wcstoul' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:196: error: '::wcsxfrm' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:197: error: '::wctob' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:198: error: '::wmemcmp' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:199: error: '::wmemcpy' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:200: error: '::wmemmove' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:201: error: '::wmemset' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:202: error: '::wprintf' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:203: error: '::wscanf' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:205: error: '::wcschr' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar: In function `wchar_t*  
std::wcschr(wchar_t*, wchar_t)':
/usr/include/gcc/darwin/4.0/c++/cwchar:209: error: invalid conversion  
from 'const wchar_t*' to 'wchar_t*'
/usr/include/gcc/darwin/4.0/c++/cwchar:209: error:   initializing  
argument 1 of 'wchar_t* std::wcschr(wchar_t*, wchar_t)'
/usr/include/gcc/darwin/4.0/c++/cwchar: At global scope:
/usr/include/gcc/darwin/4.0/c++/cwchar:211: error: '::wcspbrk' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar: In function `wchar_t*  
std::wcspbrk(wchar_t*, wchar_t*)':
/usr/include/gcc/darwin/4.0/c++/cwchar:215: error: invalid conversion  
from 'const wchar_t*' to 'wchar_t*'
/usr/include/gcc/darwin/4.0/c++/cwchar:215: error:   initializing  
argument 1 of 'wchar_t* std::wcspbrk(wchar_t*, wchar_t*)'
/usr/include/gcc/darwin/4.0/c++/cwchar: At global scope:
/usr/include/gcc/darwin/4.0/c++/cwchar:217: error: '::wcsrchr' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar: In function `wchar_t*  
std::wcsrchr(wchar_t*, wchar_t)':
/usr/include/gcc/darwin/4.0/c++/cwchar:221: error: invalid conversion  
from 'const wchar_t*' to 'wchar_t*'
/usr/include/gcc/darwin/4.0/c++/cwchar:221: error:   initializing  
argument 1 of 'wchar_t* std::wcsrchr(wchar_t*, wchar_t)'
/usr/include/gcc/darwin/4.0/c++/cwchar: At global scope:
/usr/include/gcc/darwin/4.0/c++/cwchar:223: error: '::wcsstr' has not  
been declared
/usr/include/gcc/darwin/4.0/c++/cwchar: In function `wchar_t*  
std::wcsstr(wchar_t*, const wchar_t*)':
/usr/include/gcc/darwin/4.0/c++/cwchar:227: error: invalid conversion  
from 'const wchar_t*' to 'wchar_t*'
/usr/include/gcc/darwin/4.0/c++/cwchar:227: error:   initializing  
argument 1 of 'wchar_t* std::wcsstr(wchar_t*, const wchar_t*)'
/usr/include/gcc/darwin/4.0/c++/cwchar: At global scope:
/usr/include/gcc/darwin/4.0/c++/cwchar:229: error: '::wmemchr' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar: In function `wchar_t*  
std::wmemchr(wchar_t*, wchar_t, size_t)':
/usr/include/gcc/darwin/4.0/c++/cwchar:233: error: invalid conversion  
from 'const wchar_t*' to 'wchar_t*'
/usr/include/gcc/darwin/4.0/c++/cwchar:233: error:   initializing  
argument 1 of 'wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)'
/usr/include/gcc/darwin/4.0/c++/cwchar: At global scope:
/usr/include/gcc/darwin/4.0/c++/cwchar:249: error: '::wcstold' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:258: error: '::wcstoll' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:259: error: '::wcstoull' has  
not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:265: error:  
'__gnu_cxx::wcstold' has not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:266: error:  
'__gnu_cxx::wcstoll' has not been declared
/usr/include/gcc/darwin/4.0/c++/cwchar:267: error:  
'__gnu_cxx::wcstoull' has not been declared
/usr/include/runetype.h:71: error: conflicting declaration 'typedef  
__darwin_wint_t wint_t'
../stlport/config/stl_gcc.h:76: error: 'wint_t' has a previous  
declaration as 'typedef unsigned int wint_t'
/usr/include/runetype.h:71: error: declaration of 'typedef  
__darwin_wint_t wint_t'
../stlport/config/stl_gcc.h:76: error: conflicts with previous  
declaration 'typedef unsigned int wint_t'
/usr/include/runetype.h:71: error: declaration of 'typedef  
__darwin_wint_t wint_t'
../stlport/config/stl_gcc.h:76: error: conflicts with previous  
declaration 'typedef unsigned int wint_t'
../stlport/stl/_ctype.h:40: error: '_S' was not declared in this scope
../stlport/stl/_ctype.h:40: error: enumerator value for 'space' not  
integer constant
../stlport/stl/_ctype.h:41: error: '_R' was not declared in this scope
../stlport/stl/_ctype.h:41: error: enumerator value for 'print' not  
integer constant
../stlport/stl/_ctype.h:42: error: '_C' was not declared in this scope
../stlport/stl/_ctype.h:42: error: enumerator value for 'cntrl' not  
integer constant
../stlport/stl/_ctype.h:43: error: '_U' was not declared in this scope
../stlport/stl/_ctype.h:43: error: enumerator value for 'upper' not  
integer constant
../stlport/stl/_ctype.h:44: error: '_L' was not declared in this scope
../stlport/stl/_ctype.h:44: error: enumerator value for 'lower' not  
integer constant
../stlport/stl/_ctype.h:45: error: '_A' was not declared in this scope
../stlport/stl/_ctype.h:45: error: enumerator value for 'alpha' not  
integer constant
../stlport/stl/_ctype.h:46: error: '_D' was not declared in this scope
../stlport/stl/_ctype.h:46: error: enumerator value for 'digit' not  
integer constant
../stlport/stl/_ctype.h:47: error: '_P' was not declared in this scope
../stlport/stl/_ctype.h:47: error: enumerator value for 'punct' not  
integer constant
../stlport/stl/_ctype.h:48: error: '_X' was not declared in this scope
../stlport/stl/_ctype.h:48: error: enumerator value for 'xdigit' not  
integer constant
make: *** [../lib/obj/GCC/ReleaseD/dll_main.o] Error 1
dmake:  Error code 2, while making './unxmacxp.pro/misc/build/ 
so_built_so_stlport'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /Volumes/Colossus/ 
SRC680_m100/stlport
dmake:  Error code 1, while making 'build_all'
'---* tg_merge.mk *---'

--

Any suggestions on what might be causing this?


Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.