Chameleon

Issue 79: make errors after 891

Reported by crazybirdy, May 27, 2011

1.make errors after 891 as below.

================= make all for libsa =================
	[MKDIR] /Users/imac/Crazybirdy_PKG/PKG_auto/trunk/obj/i386/libsa
	[CC] prf.c
cc1: warnings being treated as errors
prf.c: In function ‘prf’:
prf.c:150: warning: passing argument 5 of ‘printn’ from incompatible 
pointer type
make[2]: *** 
[/Users/imac/Crazybirdy_PKG/PKG_auto/trunk/obj/i386/libsa/prf.o] 
Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2


2.May i ask one question?
Do we still need activating partition for boot0, if not, we have to 
install boot1h and boot file to the first HFS partition, right? 
If I have more than two HFS partitions, I can't boot directly on the 

third partition with active flag, right?

Or boot0 will boot from activating partition instead of the first 
HFS partition

Just want to make it clear, and to know where to install the boot 
file, thanks a lot.

Comment 1 by Evan Lojewski, May 27, 2011

1) try it now, let me know if there are any errors

2) I don't know exactly how boot0hfs is setup to boot. I'd have to 
check the source. If you want to, you can always change the default 
build by modifying the .config file or running make config.
Status: Started

Comment 2 by crazybirdy, May 27, 2011

1. Compilation works fine now.

2. The difference between boot0 and boot0hfs.

boot0 searches for boot1h on the first active partition.
writes boot0hfs to the first  440 bytes of the MBR so as 

boot0hfs searches for boot1h on the first partition, regardless of 
active flag.

After doing some test, I get boot0hfs with the default config, and 
get boot0 with disabled "boot0 HFS prefered". Need to 
compile the code twice, and can't get by script automatically. The 
boot0 file is still useful for more than two primary HFS+ 
partitions.

May we get both boot0 and boot0hfs with once compilation, and 
needn't to "make config" manually again?

Thanks for your reply.

Comment 3 by crazybirdy, May 27, 2011

1. Compilation works fine now.

2. The difference between boot0 and boot0hfs.

boot0 searches for boot1h on the first active partition.

boot0hfs searches for boot1h on the first partition, regardless of 
active flag.

After doing some test, I get boot0hfs with the default config, and 
get boot0 with disabled "boot0 HFS prefered". Need to 
compile the code twice, and can't get by script automatically. The 
boot0 file is still useful for more than two primary HFS+ 
partitions.

May we get both boot0 and boot0hfs with once compilation, and 
needn't to "make config" manually again?

Thanks for your reply.

Comment 4 by Evan Lojewski, May 29, 2011

I'll try to think of an easy way to make it so both are compiled 
(without coping boot0.s to boot0hfs.s). Witht eh makefile changes 
there is no good way to do it, at least not yet.
Status: Verified

Created: 8 years 1 month ago by crazybirdy

Updated: 8 years 1 month ago

Status: Verified

Followed by: 1 person

Labels:
Priority:Medium
Type:Defect