Hi,

I need some hints to get the GXSM software package compiled and working with Fink, OSX Tiger 1.4, XCode 2.0, newest Fink. It's working fine with linux and linux ppc, also it once compiled OK with Max OS X 1.3 (pre Tiger), but since then I was not able to get it compiled again.

It is available from CVS only via SF:
http://gxsm.sf.net

After setting up a few missing symlinks like

automake-1.4 -> automake

the gnome-autogen.sh was happy and working.

All I noticed were this kind of warnings, not sure what that means to my build process.

checking fcntl.h usability... no
checking fcntl.h presence... yes
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h:     check for missing prerequisite headers?
configure: WARNING: fcntl.h: see the Autoconf documentation
configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled"
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING: fcntl.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------------------------------------ ---------- ## configure: WARNING: ## Report this to http://sourceforge.net/ tracker/?func=add&group_id=12992&atid=112992 ## configure: WARNING: ## ------------------------------------------------------------------------ ---------- ##
checking for fcntl.h... yes

similar warnings popping up for langinfo.h, limits.h, locale.h, nl_types.h, stddef.h, sys/ioctl.h, sys/param.h, sys/time.h

OK. I got all the Makefiles then.


But worse, starting the compile process I get error messages related to system header files:

the first errors:
/usr/include/sys/stat.h:116: error: declaration does not declare anything /usr/include/unistd.h:459: error: declaration of C function 'void swab (void*, void*, ssize_t)' conflicts with /usr/include/string.h:131: error: previous declaration 'void swab (const void*, void*, ssize_t)' here /usr/include/gcc/darwin/4.0/c++/powerpc-apple-darwin8/bits/c++io.h: 51: error: ISO C++ forbids in-class initialization of non-const static member '_S_boolalpha' /usr/include/gcc/darwin/4.0/c++/powerpc-apple-darwin8/bits/c++io.h: 52: error: ISO C++ forbids in-class initialization of non-const static member '_S_dec'
and many more...
and this....
/usr/include/gcc/darwin/4.0/c++/powerpc-apple-darwin8/bits/c++io.h: 81: error: ISO C++ forbids in-class initialization of non-const static member '_S_trunc' /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:208: error: 'wchar_t* std::wcschr(wchar_t*, wchar_t)' conflicts with previous using declaration 'wchar_t* wcschr(wchar_t*, wchar_t)' /usr/include/gcc/darwin/4.0/c++/cwchar:209: error: call of overloaded 'wcschr(wchar_t*, wchar_t&)' is ambiguous /usr/include/wchar.h:147: note: candidates are: wchar_t* wcschr (wchar_t*, wchar_t) /usr/include/gcc/darwin/4.0/c++/cwchar:208: note: wchar_t* std::wcschr(wchar_t*, wchar_t)
and much more -- the full error log is huge.

I am wondering if there can be any kind of mess with the compiler setup -- I did not changes anything manually, the default MacOSX and Fink.

please help.

thanks
-PZ


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to