This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error in building Android File system

Hi all

    I have done all the porting in Android ICS 4.0 (ubuntu 12.04) for OMAP3EVM customized board   ,While compile the Filesystem its showing following error, i tried alot but i cant findout that ,Please suggest me solution,

thanks in advance

frameworks/base/media/mtp/MtpDevice.cpp:586: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/mtp/MtpDevice.cpp: In member function ‘bool android::MtpDevice::readObject(android::MtpObjectHandle, const char*, int, int)’:
frameworks/base/media/mtp/MtpDevice.cpp:677: warning: ignoring return value of ‘int fchown(int, __uid_t, __gid_t)’, declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:252,
                 from frameworks/base/media/mtp/MtpDevice.cpp:33:
In function ‘int open(const char*, int, ...)’,
    inlined from ‘bool android::MtpDevice::readObject(android::MtpObjectHandle, const char*, int, int)’ at frameworks/base/media/mtp/MtpDevice.cpp:670:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmtp_intermediates/MtpDevice.o] Error 1
make: *** Waiting for unfinished jobs....
true

Thanks

bhagavath