5,599,677 Members 46,785 Now Online
XDA Developers Android and Mobile Development Forum

Bionic and more on size_t

Tip us?
 
DAddYE
Old
#1  
Senior Member - OP
Thanks Meter 337
Posts: 516
Join Date: Nov 2010
Default Bionic and more on size_t

Hi there!

Happy new year for those already in TZ.

I have a question for you, yesterday I was compiling AOSP when I got this weird error:

Code:
$ prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-g++ -I bionic/libc/include -I bionic/libstdc++/include -I hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc -I hardware/qcom/media/mm-video-v4l2/vidc/common/inc -I hardware/qcom/media/mm-core/inc -I hardware/qcom/media/mm-video-v4l2/DivxDrmDecrypt/inc -I hardware/qcom/display/msm8974/libgralloc -I frameworks/native/include/media/openmax -I frameworks/native/include/media/hardware -I hardware/qcom/display/msm8974/libqdutils -I hardware/qcom/media/libc2dcolorconvert -I hardware/qcom/display/msm8974/libcopybit -I frameworks/av/include/media/stagefright -I /usr/local/include -I hardware/qcom/media/mm-video-v4l2/vidc/vdec -I out/target/product/honami/obj/SHARED_LIBRARIES/libOmxVdec_intermediates -I libnativehelper/include/nativehelper  -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem external/skia/include -isystem out/target/product/honami/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/arch-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -isystem bionic/libthread_db/include -c  -fno-exceptions -Wno-multichar -msoft-float -fpic -fPIE -ffunction-sections -fdata-sections -funwind-tables -fstack-protector -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -march=armv7-a -mfloat-abi=softfp -mfpu=neon -include build/core/combo/include/arch/linux-arm/AndroidConfig.h -I build/core/combo/include/arch/linux-arm/ -Wno-unused-but-set-variable -fno-builtin-sin -fno-strict-volatile-bitfields -Wno-psabi -mthumb-interwork -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DDISABLE_HW_ID_MATCH_CHECK -D__ARM_USE_PLD -D__ARM_CACHE_LINE_SIZE=64 -DNEEDS_VECTORIMPL_SYMBOLS -DNEEDS_VECTORIMPL_SYMBOLS -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -g -Wstrict-aliasing=2 -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -mfpu=neon-vfpv4 -mfloat-abi=softfp -fvisibility-inlines-hidden -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wsign-promo -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -UDEBUG -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -D__alignx\(x\)=__attribute__\(\(__aligned__\(x\)\)\) -D__align=__alignx -Dinline=__inline -g -O3 -DIMAGE_APPS_PROC -D_ANDROID_ -DCDECL -DT_ARM -DNO_ARM_CLZ -UENABLE_DEBUG_LOW -DENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -DMAX_RES_1080P -DMAX_RES_1080P_EBI -DPROCESS_EXTRADATA_IN_OUTPUT_PORT -D_MSM8974_ -D_HEVC_USE_ADSP_HEAP_ -D_ANDROID_ICS_ -DUSE_ION -I/Volumes/Android/external/stlport/stlport/ -MD -MF out/target/product/honami/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/frameparser.d -o out/target/product/honami/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/frameparser.o hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/frameparser.cpp
In file included from hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/frameparser.cpp:28:0:
bionic/libc/include/stdio.h:212:1: error: 'size_t' does not name a type
bionic/libc/include/stdio.h:219:1: error: 'size_t' does not name a type
bionic/libc/include/stdio.h:222:39: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:224:38: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:243:57: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:272:34: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:278:35: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:336:33: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:459:27: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:476:26: error: 'size_t' has not been declared
bionic/libc/include/stdio.h:500:47: error: 'size_t' has not been declared
Any know what's going on?

Thanks!
 
DAddYE
Old
#2  
Senior Member - OP
Thanks Meter 337
Posts: 516
Join Date: Nov 2010
If u are still drunk from the new eve is not a problem, so bump!!!!!

Sent from my C6903 using XDA Premium 4 mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes