Porting error - Android Q&A, Help & Troubleshooting

Okey well here is what is causing my error
Code:
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1292:26: error: aggregate 'venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)::pmem_allocation allocation' has incomplete type and cannot be defined
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1307:22: error: 'PMEM_ALLOCATE_ALIGNED' was not declared in this scope
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1362:215: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
and this is the error
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1

Related

[HELP][DEV][JB] build error while compiling Jelly Bean

I have been having issues building Jelly Bean, and I can't find the answers anyway
I know people have had similar issues, but the topic has always just suddenly been dropped
Here are the errors, please help me fix them
http://pastebin.com/LXmRxUPm
Code:
target thumb C++: libSR_AudioIn <= external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioSetVolume(int, int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:155:61: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:58:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::setStreamVolume(audio_stream_type_t, float, audio_io_handle_t)' [-fpermissive]
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioGetVolume(int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:165:50: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:60:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::getStreamVolume(audio_stream_type_t, float*, audio_io_handle_t)' [-fpermissive]
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/audioinwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
true
and this one
http://pastebin.com/jf7G1iR2
Code:
target thumb C++: audio.primary.goldfish <= device/generic/goldfish/audio/AudioHardwareGeneric.cpp
device/generic/goldfish/audio/AudioHardwareGeneric.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':
device/generic/goldfish/audio/AudioHardwareGeneric.cpp:411:37: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardwareGeneric'
device/generic/goldfish/audio/AudioHardwareGeneric.h:105:7: note: because the following virtual functions are pure within 'android_audio_legacy::AudioHardwareGeneric':
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:342:29: note: virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/audio.primary.goldfish_intermediates/AudioHardwareGeneric.o] Error 1
make: *** Waiting for unfinished jobs....
Is there anyone that can help, or does anyone know about anyone that can help?
edit:
forgot to give links to device folders
https://github.com/Team-Pecan/cm_device_lge_p350/tree/jellybean
https://github.com/lgics/cm_device_lge_msm7x27-common
I had this too,use srec from CM.
Bytecode said:
I had this too,use srec from CM.
Click to expand...
Click to collapse
Can you explain to me please? This is my first build that I have set up myself

[SOLVED][Help Request] AudioSystem.h compile errors

I've fixed about 5 errors so far but this following error seems to be confusing for me.
PHP:
target thumb C++: libandroid <= frameworks/base/native/android/looper.cpp
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioSetVolume(int, int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:155:61: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:58:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::setStreamVolume(audio_stream_type_t, float, audio_io_handle_t)' [-fpermissive]
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioGetVolume(int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:165:50: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:60:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::getStreamVolume(audio_stream_type_t, float*, audio_io_handle_t)' [-fpermissive]
make: *** [out/target/product/chacha/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/audioinwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
Fix:
Use audio srec from cyanogenmod git.
I'm just going to bump this for a final time. Much appreciated if anyone has any suggestions or comments.

[DEV] Ubuntu Touch WIP!!!!!!

Hey all. There wont be any builds yet till i finish getting this building. I am not too good with AOSP builds but can fumble through fixing C code for stuff. I just wanted to share with the community as i feel its more fun that way
I am posting to have other developers / users / experienced compilers chime in and help getting a fully working build out there
For those of you intereseted here are my links to source parts:
https://github.com/zarboz/android_kernel_htc_dlx
https://github.com/zarboz/android_device_htc_dlx
https://github.com/zarboz/android_vendor_htc_dlx
Ubuntu touch parts:
https://wiki.ubuntu.com/Touch/Porting
http://phablet.ubuntu.com/gitweb
and ofc you will need to follow directions for cloning into the ubuntu touch repo and placing the folders into the appropriate spots
right now github is being stupid and is capping my upload to 54kbs cuz ive done alot of pusing/pulling the past couple days
i just made the suggested edits from the ubuntu touch porting page to defconfig and to /fs/proc/array.c and the other .c file it wants edited
after placing the vendor / device / kernel folders in their respective locations
just brunch dlx
mka bacon
right now the status of the build:
03/20/2012 @ 12:01pm MST:
Code:
device/htc/msm8960-common/include/linux/ion.h:115:8: error: previous definition of 'struct ion_flag_data'
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:205:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:209:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_seq_hdr(void*, unsigned int, unsigned int*)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:494:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:629:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:629:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:985:10: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:959:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:971:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:991:3: warning: case value '2130706464' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1065:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::venc_allocate_recon_buffers()':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1221:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1221:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1328:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1328:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1352:3: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'void venc_dev::venc_config_print()':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1402:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1405:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1409:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1412:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1412:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1415:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1419:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1422:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1426:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1426:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_use_buf(void*, unsigned int, unsigned int)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1465:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1466:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1564:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_slice_delivery_mode(OMX_BOOL)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1765:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_inband_video_header(OMX_BOOL)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1775:26: error: 'VEN_IOCTL_SET_SPS_PPS_FOR_IDR' was not declared in this scope
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_extradata(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:1786:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_profile_level(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2036:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_period(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2129:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2129:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_entropy_config(OMX_BOOL, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2160:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_refresh(OMX_VIDEO_INTRAREFRESHTYPE, OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2245:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_validate_profile_level(OMX_U32*, OMX_U32*)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2858:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2860:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2862:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_max_allowed_bitrate_check(OMX_U32)':
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2910:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2931:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2943:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video/vidc/venc/src/video_encoder_device.cpp:2953:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/media/70ce51f9-9d03-4113-a8a2-b61d7593749e/home/zarboz/ubuntu_touch_monarudo/out/target/product/dlx/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
Need to overcome some ion usage issues and set it up for the bigger screen i assume
HUGE Thanks to:
Drewx2 (for his device/vendor files), Ubuntu ofc, CM10 guys for stuffs.... more to come
mine
Awesome work zarboz. Can't wait for 2.04 exploit :thumbup:
Sent from my HTC Droid DNA
Aren't you already busy enough Nice to see something different man!
Nice..... More and more development for the DNA in making me rethink about getting the HTC one. Keep up the good work
Sent from my HTC6435LVW using xda premium
Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!
123421342 said:
Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!
Click to expand...
Click to collapse
Yes, that's exactly what it is. :good:
Sent from my HTC6435LVW using xda app-developers app
123421342 said:
Sorry, what exactly is this? Please don't tell me this is a build of ubuntu phone edition because my face will melt. Either way awesome job!
Click to expand...
Click to collapse
http://www.ubuntu.com/devices/android - I believe..... :good:
paulhoop said:
http://www.ubuntu.com/devices/android - I believe..... :good:
Click to expand...
Click to collapse
Thanks for this link. Now I'm really wanting it, so Zarboz no goofing off lol
this is what it is
CharliesTheMan said:
Thanks for this link. Now I'm really wanting it, so Zarboz no goofing off lol
Click to expand...
Click to collapse
Nice!!! How much modification do you need to make to make it work?
Anything new or is this still the same very broken (thanks Ubuntu) base that was running on galaxy nexus? Doesn't seem worth the effort to get everything working just yet as most of the launcher icons were just weblinks there are just a bunch of placeholders
I really wish I could help! Especially since your son just started walking (that must be so exciting!!). I need to learn this stuff so I can contribute haha. And to take some of the load off of you guys
djh816 said:
Anything new or is this still the same very broken (thanks Ubuntu) base that was running on galaxy nexus? Doesn't seem worth the effort to get everything working just yet as most of the launcher icons were just weblinks there are just a bunch of placeholders
Click to expand...
Click to collapse
Exactly what I was thinking, although if you could get the whole Ubunutu feel while also keeping the capability of using all of androids apps and what not, that would be exciting.
UrGuardian999 said:
Exactly what I was thinking, although if you could get the whole Ubunutu feel while also keeping the capability of using all of androids apps and what not, that would be exciting.
Click to expand...
Click to collapse
Android apps don't work with Ubuntu touch, not sure if you were just saying it or thought since it uses a cm10.1 base it would run android apps.
Sent from my Nexus 7 - JBSourcery 5
pio_masaki said:
Android apps don't work with Ubuntu touch, not sure if you were just saying it or thought since it uses a cm10.1 base it would run android apps.
Sent from my Nexus 7 - JBSourcery 5
Click to expand...
Click to collapse
Naw, I know it doesn't run android apps. What I'm saying is that it would be nice if it would be a ROM that used android apps instead. It's a pretty nice interface and I'm becoming more and more a fan of Ubuntu, but making it so that android apps don't run, or having a VM of their own to use android apps is a bad move imo
UrGuardian999 said:
Naw, I know it doesn't run android apps. What I'm saying is that it would be nice if it would be a ROM that used android apps instead. It's a pretty nice interface and I'm becoming more and more a fan of Ubuntu, but making it so that android apps don't run, or having a VM of their own to use android apps is a bad move imo
Click to expand...
Click to collapse
So you want an ubuntu flavored build like MIUI did? (e.g. keep the look/feel of the os but make it's core android) China probably already has something in the works
yutsoku said:
So you want an ubuntu flavored build like MIUI did? (e.g. keep the look/feel of the os but make it's core android) China probably already has something in the works
Click to expand...
Click to collapse
Good! Then I'll be here twiddling my thumbs a'waitin :silly:
djh816 said:
Anything new or is this still the same very broken (thanks Ubuntu) base that was running on galaxy nexus? Doesn't seem worth the effort to get everything working just yet as most of the launcher icons were just weblinks there are just a bunch of placeholders
Click to expand...
Click to collapse
actually i dont see why you cant get working apps if you create a few now im not saying you can jump and make phone calls or text but if you wrote a app for something i sure it could be made to work
Hmmmm I might dig into this but not quite right away.
Sent from my ADR6425LVW using Xparent ICS Tapatalk 2

Compiling hardware/samsung/libalsa-intf/amix.c for i9505 on 10.1

On compiling hardware/samsung/libalsa-intf/amix.c for my i9505 (UT based on cm 10.1) i got this
Code:
target thumb C: alsaucm_test <= hardware/samsung/libalsa-intf/alsaucm_test.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_ucm.c
target thumb C: amix <= hardware/samsung/libalsa-intf/amix.c
target thumb C: aplay <= hardware/samsung/libalsa-intf/aplay.c
target Symbolic: applypatch (/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/symbols/system/bin/applypatch)
target thumb C: arec <= hardware/samsung/libalsa-intf/arec.c
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/samsung/libalsa-intf/alsa_mixer.c:403:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:409:5: error: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/samsung/libalsa-intf/alsa_mixer.c:546:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:546:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/samsung/libalsa-intf/alsa_mixer.c:601:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/samsung/libalsa-intf/alsa_mixer.c:721:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:721:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/samsung/libalsa-intf/alsa_mixer.c:771:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/samsung/libalsa-intf/alsa_pcm.c:540:22: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/samsung/libalsa-intf/alsa_pcm.c:599:26: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
cc1: all warnings being treated as errors
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/samsung/libalsa-intf/alsa_pcm.c:659:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/samsung/libalsa-intf/alsa_pcm.c:798:8: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_pcm.c:827:11: error: return makes integer from pointer without a cast [-Werror]
target thumb C++: audiod <= hardware/samsung/audiod/audiod_main.cpp
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Ошибка 1
make: *** Ожидание завершения заданий...
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/samsung/libalsa-intf/alsa_pcm.c:910:9: error: return makes pointer from integer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:131:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:155:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:179:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/samsung/libalsa-intf/alsa_ucm.c:942:65: error: comparison between pointer and integer [-Werror]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] Ошибка 1
hardware/samsung/libalsa-intf/aplay.c:58:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c:59:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c: In function 'play_file':
hardware/samsung/libalsa-intf/aplay.c:255:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/aplay.c:34:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/aplay.c:256:13: error: ordered comparison of pointer with integer zero [-Werror=extra]
hardware/samsung/libalsa-intf/aplay.c:257:9: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/aplay.c:378:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:390:18: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:405:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:410:14: error: format '%d' expects argument of type 'int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:524:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:541:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c: In function 'main':
hardware/samsung/libalsa-intf/aplay.c:750:37: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:752:15: error: comparison is always false due to limited range of data type [-Werror=type-limits]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:3886:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_ucm.c:3904:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/aplay_intermediates/aplay.o] Ошибка 1
hardware/samsung/libalsa-intf/arec.c:55:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:56:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:57:8: error: type defaults to 'int' in declaration of 'duration' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c: In function 'record_file':
hardware/samsung/libalsa-intf/arec.c:212:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/arec.c:37:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/arec.c:351:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:355:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:381:52: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:405:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:423:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:435:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_ucm.o] Ошибка 1
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/arec_intermediates/arec.o] Ошибка 1
Downloading ubuntu-touch-generic-initrd version 0.56
8395 блок
make: *** wait: Нет дочерних процессов. Останов.
what is error reason? and how to solve this??
My .repo/local_manifests/roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_qcom_audio-caf" path="hardware/samsung" remote="github" revision="cm-10.1" />
</manifest>
Could you post compilation line comand?

help building kernel for nexus 4...

ok i have decided to make my own kernel.....but i dont know what is wrong everything is just good but at the end i dont get anything...
The guides i am using :-
http://forum.xda-developers.com/showthread.php?t=1748297
http://forum.xda-developers.com/showthread.php?t=2021202
I am using a prebuild ubuntu build it contains all the packages....
Using matrix kernel source :-https://github.com/mathkid95/linux_lg_kitkat
And google toolchain.
This is what i get:-
[email protected]:~/android/kernel/kitkat$ export ARCH=arm
[email protected]:~/android/kernel/kitkat$ export CROSS_COMPILE=/home/android/android/toolchain/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-
[email protected]:~/android/kernel/kitkat$ make mako_defconfig
init/Kconfig:1265:warning: defaults for choice values not supported
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
#
# configuration written to .config
#
[email protected]:~/android/kernel/kitkat$ make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
init/Kconfig:1265:warning: defaults for choice values not supported
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-msm/cpufreq.o
arch/arm/mach-msm/cpufreq.c: In function 'msm_cpufreq_target':
arch/arm/mach-msm/cpufreq.c:103:2: error: implicit declaration of function 'cpufreq_frequency_get_table' [-Werror=implicit-function-declaration]
table = cpufreq_frequency_get_table(policy->cpu);
^
arch/arm/mach-msm/cpufreq.c:103:8: warning: assignment makes pointer from integer without a cast [enabled by default]
table = cpufreq_frequency_get_table(policy->cpu);
^
arch/arm/mach-msm/cpufreq.c:104:2: error: implicit declaration of function 'cpufreq_frequency_table_target' [-Werror=implicit-function-declaration]
if (cpufreq_frequency_table_target(policy, table, target_freq, relation,
^
arch/arm/mach-msm/cpufreq.c:111:2: error: invalid use of undefined type 'struct cpufreq_frequency_table'
pr_debug("CPU[%d] target %d relation %d (%d-%d) selected %d\n",
^
In file included from include/linux/kernel.h:22:0,
from include/linux/cache.h:4,
from include/linux/time.h:7,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from arch/arm/mach-msm/cpufreq.c:22:
arch/arm/mach-msm/cpufreq.c:113:34: error: dereferencing pointer to incomplete type
policy->min, policy->max, table[index].frequency);
^
include/linux/printk.h:202:38: note: in definition of macro 'pr_debug'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^
arch/arm/mach-msm/cpufreq.c:115:2: error: invalid use of undefined type 'struct cpufreq_frequency_table'
ret = set_cpu_freq(policy, table[index].frequency);
^
arch/arm/mach-msm/cpufreq.c:115:34: error: dereferencing pointer to incomplete type
ret = set_cpu_freq(policy, table[index].frequency);
^
arch/arm/mach-msm/cpufreq.c: In function 'msm_cpufreq_limits_init':
arch/arm/mach-msm/cpufreq.c:145:9: warning: assignment makes pointer from integer without a cast [enabled by default]
table = cpufreq_frequency_get_table(cpu);
^
arch/arm/mach-msm/cpufreq.c:151:3: error: invalid use of undefined type 'struct cpufreq_frequency_table'
for (i = 0; (table.frequency != CPUFREQ_TABLE_END); i++) {
^
arch/arm/mach-msm/cpufreq.c:151:21: error: dereferencing pointer to incomplete type
for (i = 0; (table.frequency != CPUFREQ_TABLE_END); i++) {
^
arch/arm/mach-msm/cpufreq.c:151:38: error: 'CPUFREQ_TABLE_END' undeclared (first use in this function)
for (i = 0; (table.frequency != CPUFREQ_TABLE_END); i++) {
^
arch/arm/mach-msm/cpufreq.c:151:38: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/cpufreq.c:152:4: error: invalid use of undefined type 'struct cpufreq_frequency_table'
if (table.frequency > max)
^
arch/arm/mach-msm/cpufreq.c:152:13: error: dereferencing pointer to incomplete type
if (table.frequency > max)
^
arch/arm/mach-msm/cpufreq.c:153:5: error: invalid use of undefined type 'struct cpufreq_frequency_table'
max = table.frequency;
^
arch/arm/mach-msm/cpufreq.c:153:16: error: dereferencing pointer to incomplete type
max = table.frequency;
^
arch/arm/mach-msm/cpufreq.c:154:4: error: invalid use of undefined type 'struct cpufreq_frequency_table'
if (table.frequency < min)
^
arch/arm/mach-msm/cpufreq.c:154:13: error: dereferencing pointer to incomplete type
if (table.frequency < min)
^
arch/arm/mach-msm/cpufreq.c:155:5: error: invalid use of undefined type 'struct cpufreq_frequency_table'
min = table.frequency;
^
arch/arm/mach-msm/cpufreq.c:155:16: error: dereferencing pointer to incomplete type
min = table.frequency;
^
arch/arm/mach-msm/cpufreq.c: In function 'msm_cpufreq_init':
arch/arm/mach-msm/cpufreq.c:201:8: warning: assignment makes pointer from integer without a cast [enabled by default]
table = cpufreq_frequency_get_table(policy->cpu);
^
arch/arm/mach-msm/cpufreq.c:212:2: error: implicit declaration of function 'cpufreq_frequency_table_cpuinfo' [-Werror=implicit-function-declaration]
if (cpufreq_frequency_table_cpuinfo(policy, table)) {
^
arch/arm/mach-msm/cpufreq.c:233:2: error: invalid use of undefined type 'struct cpufreq_frequency_table'
if (cur_freq != table[index].frequency) {
^
arch/arm/mach-msm/cpufreq.c:233:23: error: dereferencing pointer to incomplete type
if (cur_freq != table[index].frequency) {
^
arch/arm/mach-msm/cpufreq.c:235:3: error: invalid use of undefined type 'struct cpufreq_frequency_table'
ret = acpuclk_set_rate(policy->cpu, table[index].frequency,
^
arch/arm/mach-msm/cpufreq.c:235:44: error: dereferencing pointer to incomplete type
ret = acpuclk_set_rate(policy->cpu, table[index].frequency,
^
arch/arm/mach-msm/cpufreq.c:239:3: error: invalid use of undefined type 'struct cpufreq_frequency_table'
pr_info("cpufreq: cpu%d init at %d switching to %d\n",
^
In file included from include/linux/kernel.h:22:0,
from include/linux/cache.h:4,
from include/linux/time.h:7,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from arch/arm/mach-msm/cpufreq.c:22:
arch/arm/mach-msm/cpufreq.c:240:33: error: dereferencing pointer to incomplete type
policy->cpu, cur_freq, table[index].frequency);
^
include/linux/printk.h:179:34: note: in definition of macro 'pr_info'
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
^
arch/arm/mach-msm/cpufreq.c:241:3: error: invalid use of undefined type 'struct cpufreq_frequency_table'
cur_freq = table[index].frequency;
^
arch/arm/mach-msm/cpufreq.c:241:19: error: dereferencing pointer to incomplete type
cur_freq = table[index].frequency;
^
arch/arm/mach-msm/cpufreq.c: At top level:
arch/arm/mach-msm/cpufreq.c:310:3: error: 'cpufreq_freq_attr_scaling_available_freqs' undeclared here (not in a function)
&cpufreq_freq_attr_scaling_available_freqs,
^
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-msm/cpufreq.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
GZIP kernel/config_data.gz
CHK kernel/config_data.h
[email protected]:~/android/kernel/kitkat$
Click to expand...
Click to collapse
help me guys...im doing this for the first time.......
What should i do...
Also tell me how can i add other kernel features like faux sound...thank you..
can someone plzz help......and now i downloaded google sources the folder is empty 1 gb:silly:

Categories

Resources