Comment 1 by Evan Lojewski, May 17, 2011
The module system has only been tested + verified compiling on Xcode 3.2 (10.6) and Xcode 4.0 (10.7). It looks like a header is missing (or values in the 10.5 header) / in the wrong place. when I have some time, I'll try to add the header directly into chameleon instead of depending on system headers.
Owner:
meklort
Comment 2 by Evan Lojewski, May 29, 2011
Try the latest version in svn and let me know if it compiles / what errors you get now.
Status:
Started
Comment 3 by Carlos Porrito, May 29, 2011
Hi Evan here the errorz ================= make all for libsa ================= [MKDIR] /Volumes/diskxs6/bootbkp/chameleon/trunk/obj/i386/libsa [CC] prf.c [CC] printf.c cc1: warnings being treated as errors In file included from /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/mach-o/loader.h :48, from libsa.h:30, from printf.c:29: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapBigDoubleToHost’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:207: warning: ‘NXConvertSwappedDoubleToHost’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:118) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapBigFloatToHost’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:216: warning: ‘NXConvertSwappedFloatToHost’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:94) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapHostDoubleToBig’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:261: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapHostFloatToBig’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:270: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapLittleDoubleToHost’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:315: warning: ‘NXConvertSwappedDoubleToHost’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:118) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapLittleFloatToHost’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:324: warning: ‘NXConvertSwappedFloatToHost’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:94) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapHostDoubleToLittle’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:369: warning: ‘NXConvertHostDoubleToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:106) /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h: In function ‘NXSwapHostFloatToLittle’: /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:378: warning: ‘NXConvertHostFloatToSwapped’ is deprecated (declared at /Volumes/diskxs6/bootbkp/chameleon/trunk/i386/include/architecture/by te_order.h:82) make[2]: *** [/Volumes/diskxs6/bootbkp/chameleon/trunk/obj/i386/libsa/printf.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2
Comment 4 by Evan Lojewski, May 29, 2011
Give r916 and let me know.
Comment 5 by Carlos Porrito, May 30, 2011
Tried rev 921 compile ok but warnings compiling boot2 ...[omitted]... [AR] libsaio.a [RANLIB] libsaio.a ranlib: file: /Volumes/diskxs6/bootbkp/chameleon/trunk/sym/i386/libsaio.a(ufs.o) has no symbols ranlib: file: /Volumes/diskxs6/bootbkp/chameleon/trunk/sym/i386/libsaio.a(ufs_byteo rder.o) has no symbols ...[omitted]... ================= make all for boot2 ================= ...[omitted]... [LD] boot.sys [dyldsymboltool] Symbols.dylib [LD] boot.sys [dyldsymboltool] Symbols.dylib [LD] boot.sys ld warning: codegen in _common_boot (offset 0x0000000E) prevents image from loading in dyld shared cache ld warning: codegen in _common_boot (offset 0x00000018) prevents image from loading in dyld shared cache ld warning: codegen in _free (offset 0x000001B6) prevents image from loading in dyld shared cache ld warning: codegen in _free (offset 0x000001BD) prevents image from loading in dyld shared cache ...[omitted]... ld warning: codegen in _free (offset 0x000001D9) prevents image from loading in dyld shared cache ld warning: codegen in _crc32 (offset 0x0000001E) prevents image from loading in dyld shared cache ld warning: codegen in boot2 (offset 0x0000001E) prevents image from loading in dyld shared cache ld warning: codegen in _multiboot_entry (offset 0x00000025) prevents image from loading in dyld shared cache ld warning: codegen in _halt (offset 0x00000001) prevents image from loading in dyld shared cache attached full log
- fulllog.rtf - 298.61 kB
Comment 6 by Carlos Porrito, May 31, 2011
Tried rev 929 Getting new error making boot2 ================= make all for boot2 ================= [MKDIR] /Volumes/diskxs6/bootbkp/chameleon/trunk/obj/i386/boot2 [AS] boot2.s FATAL:-g can't be specified if -n is specified make[2]: *** [/Volumes/diskxs6/bootbkp/chameleon/trunk/obj/i386/boot2/boot2.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2
Comment 7 by Evan Lojewski, Jun 2, 2011
Let me know if it works with r944+
Comment 8 by Carlos Porrito, Jun 3, 2011
rev944 compile ok but 2721 ld warning like in Comment 5 ================= make all for boot2 ================= ... [LD] boot.sys [dyldsymboltool] Symbols.dylib [LD] boot.sys [dyldsymboltool] Symbols.dylib [LD] boot.sys ld warning: codegen in _common_boot (offset 0x0000000E) prevents image from loading in dyld shared cache ld warning: codegen in _common_boot (offset 0x00000018) prevents image from loading in dyld shared cache ...
Comment 9 by Cosmosis Jones, Jun 9, 2011
On 10.6.7 w/ 3.2.6 xcode i dont 'get any warnings.
Status:
Invalid
Sign in to reply to this comment.
Reported by Carlos Porrito, May 16, 2011