Build Error on Mac OS X 10.4.1

John Ruff <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I received the following build error on Mac OS X 10.4.1 trying to  
build OOo 680m104 for X11.  I'm using the instructions at the  
following URL: http://porting.openoffice.org/mac/build_680_X11.html.

Please let me know what additional information you need about the  
attempted build or my system.  The failed portion of the build is  
pasted below:

[snip]
cd ./unxmacxp.pro/misc/build/STLport-4.5/src && make -f gcc-3.0- 
macosx.mak -j1 && touch so_built_so_stlport
mkdir -p ../lib/obj/GCC/ReleaseD
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 /Users/techniq/Software/ 
BUILD/SRC680_m104/stlport
dmake:  Error code 1, while making 'build_all'
'---* tg_merge.mk *---'
[/snip]


TIA
___________________
John Ruff
[email protected]

"No one can see past a choice they don't understand." --The Oracle



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCmw4ZMZ192R9pEZURArFEAJ4hfQMRMm4mFlzI81DpeDRqByvyJwCgkTHA
xn5DrJd2bNT0IDtPgbwiOiY=
=Iyfa
-----END PGP SIGNATURE-----
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.