[Nook Color Android Development] fmkaiba:
Error Building

I only copyed the warnings and errors. can't seem to get it to build, followed directions exactly, and i am fairly knowlageable in this subject. Fedora 16 x64

build/core/main.mk:42: ********************************************************************************
build/core/main.mk:43: * You are using version 3.82 of make.
build/core/main.mk:44: * Android is tested to build with version 3.81.
build/core/main.mk:45: * see http://source.android.com/source/download.html
build/core/main.mk:46: ********************************************************************************
build/core/main.mk:322: implicitly installing apns-conf_sdk.xml
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
system/core/toolbox/Android.mk:98: warning: overriding recipe for target `out/target/product/encore/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/encore/system/bin/lsof'
build/core/Makefile:25: warning: overriding recipe for target `out/target/product/encore/system/etc/wifi/tiwlan.ini'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/encore/system/etc/wifi/tiwlan.ini'
Note: packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
In file included from system/core/include/usbhost/usbhost.h:28:0,
from frameworks/base/media/mtp/MtpDataPacket.cpp:23:
/usr/include/linux/usb/ch9.h: In function ‘int usb_endpoint_maxp(const usb_endpoint_descriptor*)’:
/usr/include/linux/usb/ch9.h:592:40: error: ‘le16_to_cpu’ was not declared in this scope
frameworks/base/media/mtp/MtpDataPacket.cpp: In member function ‘int android::MtpDataPacket::read(usb_request*)’:
frameworks/base/media/mtp/MtpDataPacket.cpp:385:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmtp_intermediates/MtpDataPacket.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from system/core/include/usbhost/usbhost.h:28:0,
from frameworks/base/media/mtp/MtpEventPacket.cpp:30:
/usr/include/linux/usb/ch9.h: In function ‘int usb_endpoint_maxp(const usb_endpoint_descriptor*)’:
/usr/include/linux/usb/ch9.h:592:40: error: ‘le16_to_cpu’ was not declared in this scope
In file included from system/core/include/usbhost/usbhost.h:28:0,
from frameworks/base/media/mtp/MtpDevice.cpp:37:
/usr/include/linux/usb/ch9.h: In function ‘int usb_endpoint_maxp(const usb_endpoint_descriptor*)’:
/usr/include/linux/usb/ch9.h:592:40: error: ‘le16_to_cpu’ was not declared in this scope
frameworks/base/media/mtp/MtpDevice.cpp: In destructor ‘virtual android::MtpDevice::~MtpDevice()’:
frameworks/base/media/mtp/MtpDevice.cpp:198:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmtp_intermediates/MtpEventPacket.o] Error 1
frameworks/base/media/mtp/MtpDevice.cpp: In member function ‘void android::MtpDevice::print()’:
frameworks/base/media/mtp/MtpDevice.cpp:256:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
frameworks/base/media/mtp/MtpDevice.cpp: In member function ‘bool android::MtpDevice::readObject(android::MtpObjectHandle, bool (*)(void*, int, int, void*), int, void*)’:
frameworks/base/media/mtp/MtpDevice.cpp:586:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from system/core/include/usbhost/usbhost.h:28:0,
from frameworks/base/media/mtp/MtpPacket.cpp:27:
/usr/include/linux/usb/ch9.h: In function ‘int usb_endpoint_maxp(const usb_endpoint_descriptor*)’:
/usr/include/linux/usb/ch9.h:592:40: error: ‘le16_to_cpu’ was not declared in this scope
frameworks/base/media/mtp/MtpPacket.cpp: In member function ‘void android::MtpPacket::setParameter(int, uint32_t)’:
frameworks/base/media/mtp/MtpPacket.cpp:149:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmtp_intermediates/MtpDevice.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmtp_intermediates/MtpPacket.o] Error 1

what conserned me is "/usr/include/linux/usb/ch9.h" why is it importing things out of /usr ?