- Permissions in the config/scripts directory do not have execute "x" bit
set. I needed to do a
chmod 755 config/scripts/*
They have x bit set in the distribution, maybe there was some error in unpacking sources?
- The Makefile uses $(PWD) which is not available under "sh" shell. To
get this to work right you apparently need bash shell. Without it, the line
@ln -s $(PWD)/include/$(ARCH) $(ODIR)/target/include/asm
Would ../../../include/$(ARCH) work?
- Even with all that done, I am still getting problems, this time running
make gives
obj-sparc32/target/include/asm/types.h:18:20: endian.h: No such file or directory
In Linux it's in /usr/include/endian.h. In my opinion it's somewhat unclean to rely on the OS include headers for a standalone program (unix target case is different), it should ideally compile with -nostdinc -nostdlib compiler flags. This could be a major change though.
- Now I get
drivers/iommu.c:15:21: asm/asi.h: No such file or directory
This is caused by the problem #2.
- Finally, GCC is picking up on lots of unused variables. Do we need to
review the build.log files and do a bit of spring cleaning ?
Yes, please send the patch :-).
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/