Missing endian.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear


Compilation command:
Execute in the Android directory:
Source build/envsetup.sh
Lunch
Then execute in the/home/shenglin/source_code/buildsystem/android10/external/mmc utils directory
mm

When I was compiling in the Android environment, I found the following error message:

Ld. ld: error: undefined symbol: do-read_csd
>>>Referenced by mmc.c

/Mmc_utls_intermediates/mmc_cmds. d - o out/target/product/x9m_ms/obj/EXECUTABLES/mmc_utls_intermediates/mmc_cmds. o external/mmc utils/mmc_cmds. c“
External/mmc utilities/mmc cmds. c: 2142:14: error: implicit declaration of function 'be16toh' is invalid in C99 [- Error, - Wimplicit function declaration]
Rpmb_type=be16toh (frame_in ->req-resp);
^
External/mmc utils/mmc_cmds. c: 2161:27: error: implicit declaration of function 'htobe16' is invalid in C99 [- Error, - Wimplicit function declaration]
Frame_status. req-resp=htobe16 (MMP_RPMB-READ-RESP);

I have fixed the relevant issues and successfully compiled the patch in the attachment


Attachment: 0001-Modifying-code-to-fix-compilation-failure-in-Android.patch
Description: Binary data


[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux