[HELP] compiling kernel - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

anyone care to share their knowledge on how to compile a kernel, having a hard time here, so my problem is
after executing bcm21553_totoro_05_defconfig this is what i get.
[email protected]:~/sgy/kernel/common$ make bcm21553_totoro_05_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/x86/configs/bcm21553_totoro_05_defconfig"!
***
make[1]: *** [bcm21553_totoro_05_defconfig] Error 1
make: *** [bcm21553_totoro_05_defconfig] Error 2
Click to expand...
Click to collapse
i can see that it says Can't find default configuration "arch/x86/configs/bcm21553_totoro_05_defconfig so of course its not there cause our device architecture is arm not x86. so how do i make it read from arch/arm instead of arch/x86???

Are i sure follow irfanbagus instruction??
Actually i never get that problem only clock screw.
Theres 917files in /arm/x86 folder with 6.2mb size.

savie said:
Are i sure follow irfanbagus instruction??
Actually i never get that problem only clock screw.
Theres 917files in /arm/x86 folder with 6.2mb size.
Click to expand...
Click to collapse
checked the files in x86 folder they are the same with what you mention, and you mean these instructions http://forum.xda-developers.com/showpost.php?p=24747881&postcount=4
the only thing i didnt follow was
6. open folder "common", there is file "Makefile". open with text editor and find line with content "/opt/toolchains/arm-eabi-4.4.3/bin/arm-eabi-". replace with "/home/<yourname>/sgy/arm-2009q3/bin/arm-none-eabi-", don't forget replace <yourname>.
Click to expand...
Click to collapse
i couldnt find that line so what i did to point the makefile to the compilation tools was by executing this command in terminal
export CROSS_COMPILE=/home/thirdzcee/sgy/arm-2009q3/arm-none-eabi
Click to expand...
Click to collapse
edit: i wanted it to point it to arch/arm cause when i checked the configs folder of x86 it only had 2 files while the configs folder on arm has bcm21553_totoro_05_defconfig in it
EDIT again: i now just copied bcm21553_totoro_05_defconfig to the arm/x86/configs now things seem to be looking good

can somebody help???
im am now stuck at executing the make command, it gives me this output
[email protected]:~/sgy/kernel/common$ make
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
cc1: error: unrecognized command line option "-m64"
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Click to expand...
Click to collapse

/common/Makefile
line 194
No need to copy bcmxxxdefconfig to x86..
Irfanbagus instruction is proven and no need to modified for 1st time trying..
Enjoy ur first time compile..

are you sure that you're using sgy's source code? the defconfig files is just one thing but you should also make sure that every files needed to compile the kernel is there too. i feel something is wrong when you said the bcmxxx defconfig isn't there.

@kuro
He didnt follow the step six from irfan and use another method but its seem not working..
i think he use samsung source..
@op
Goodluck..

I think i got it to work now and its compiling , all i had to do was change
ARCH ?=arm
CROSS_COMPILE ?=(my gcc directory)
and now it works like a charm, waiting fir the compiling to finish and hoping no more errors along the way
All i had to do was edit the expo
Sent from my GT-S5360 using xda premium

@savie: btw, this one is the part I modified from the power driver to fix the battery issue
Code:
/*Macros to control schedule frequency of charging monitor work queue - with
* and without charger present */
#define BATTERY_LVL_MON_INTERVAL_WHILE_CHARGING 10000
#define BATTERY_LVL_MON_INTERVAL 90000 /* 1,5 min */
//#define BATTERY_LVL_MON_INTERVAL_WHILE_CHARGING 10000 /* 10 sec */
//#define BATTERY_LVL_MON_INTERVAL 30000 /* 30 sec */
#define BAT_TEMP_EXCEED_LIMIT_COUNT_MAX 3
#define BATTERY_CHARGING_HYSTERESIS 10
#define SUCCESS 0 /* request is successfull */
#define USB_PREENUM_CURR 90
#if defined(CONFIG_BOARD_COOPERVE)
#define USB_PREENUM_CURR_REQ_VAL MAX8986_CHARGING_CURR_550MA
#else
#define USB_PREENUM_CURR_REQ_VAL MAX8986_CHARGING_CURR_450MA
#endif
#if defined(CONFIG_BOARD_COOPERVE)
#define BATT_RECHARGE_VOLT 4120 //4130
#else
#define BATT_RECHARGE_VOLT 4130
#endif
#define BATT_LOW_VOLT 3400
#define BAT_PERCENT_INIT_VALUE 1
#if 0
#define BATT_FULL_VOLT 4200
#define BATT_LEVEL5_VOLT 3950
#define BATT_LEVEL4_VOLT 3850
#define BATT_LEVEL3_VOLT 3750
#define BATT_LEVEL2_VOLT 3700
#define BATT_LEVEL1_VOLT 3650
#define BATT_LEVEL0_VOLT 3600
#define BATT_LEVEL0_1_VOLT 3550
#define BATT_LOW_VOLT 3400
#endif
#define HIGH_SUSPEND_TEMP 650
#define LOW_SUSPEND_TEMP -50
#define HIGH_RECOVER_TEMP 430
#define LOW_RECOVER_TEMP 0
sorry for OOT here. but OP can also use this to fix the battery issue in his kernel :9

kurotsugi said:
@savie: btw, this one is the part I modified from the power driver to fix the battery issue
Code:
/*Macros to control schedule frequency of charging monitor work queue - with
* and without charger present */
#define BATTERY_LVL_MON_INTERVAL_WHILE_CHARGING 10000
#define BATTERY_LVL_MON_INTERVAL 90000 /* 1,5 min */
//#define BATTERY_LVL_MON_INTERVAL_WHILE_CHARGING 10000 /* 10 sec */
//#define BATTERY_LVL_MON_INTERVAL 30000 /* 30 sec */
#define BAT_TEMP_EXCEED_LIMIT_COUNT_MAX 3
#define BATTERY_CHARGING_HYSTERESIS 10
#define SUCCESS 0 /* request is successfull */
#define USB_PREENUM_CURR 90
#if defined(CONFIG_BOARD_COOPERVE)
#define USB_PREENUM_CURR_REQ_VAL MAX8986_CHARGING_CURR_550MA
#else
#define USB_PREENUM_CURR_REQ_VAL MAX8986_CHARGING_CURR_450MA
#endif
#if defined(CONFIG_BOARD_COOPERVE)
#define BATT_RECHARGE_VOLT 4120 //4130
#else
#define BATT_RECHARGE_VOLT 4130
#endif
#define BATT_LOW_VOLT 3400
#define BAT_PERCENT_INIT_VALUE 1
#if 0
#define BATT_FULL_VOLT 4200
#define BATT_LEVEL5_VOLT 3950
#define BATT_LEVEL4_VOLT 3850
#define BATT_LEVEL3_VOLT 3750
#define BATT_LEVEL2_VOLT 3700
#define BATT_LEVEL1_VOLT 3650
#define BATT_LEVEL0_VOLT 3600
#define BATT_LEVEL0_1_VOLT 3550
#define BATT_LOW_VOLT 3400
#endif
#define HIGH_SUSPEND_TEMP 650
#define LOW_SUSPEND_TEMP -50
#define HIGH_RECOVER_TEMP 430
#define LOW_RECOVER_TEMP 0
sorry for OOT here. but OP can also use this to fix the battery issue in his kernel :9
Click to expand...
Click to collapse
no problem, the one im compiling is just stock so when i do my modifications my compiling will be smoother cause i now know how to compile but now im kinda stuck in procedure 11
11. extract ramdisk from your boot.img
but where is boot.img??? do i just rename the Zimage to boot.img cause executing
perl split_bootimg.pl boot.img
Could not open boot.img: No such file or directory
No such file or directory of course cause its was never there in sgy folder

take the boot.img from stock rom

thanks for your help guys. finally was able to compile kernel :victory::victory::victory:

looks like something went wrong, i dont have signal, gsm/3g dont work when i flashed my kernel... where could i have gone wrong???

thirdzcee said:
looks like something went wrong, i dont have signal, gsm/3g dont work when i flashed my kernel... where could i have gone wrong???
Click to expand...
Click to collapse
Maybe the sources were corrupt?

hell_lock said:
Maybe the sources were corrupt?
Click to expand...
Click to collapse
I dont know. Guess Ill just try downloading the sources again tommorow and compile again... Its already 10 in the evening in my country and i like slept at 4am in the morning last night cause i was studying how to compile kernel... Now i am off to bed
Sent from my GT-S5360 using xda premium

guys is it normal to have this output when runng make bcm_21553_totoro_05_defconfig???
[email protected]:~/sgy/kernel/common$ make bcm21553_totoro_05_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
[email protected]:~/sgy/kernel/common$
my concern here is the
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
Click to expand...
Click to collapse
ive been trying to find out why my compiled kernel do not have a working network,

those error doesn't affect the kernel since it only the configuration script. the kernel is build from different files.

kurotsugi said:
those error doesn't affect the kernel since it only the configuration script. the kernel is build from different files.
Click to expand...
Click to collapse
but during the build process there are errors that occur i think cause i see some really long lines while the rest are short like just
CC mm/page-writeback.o
arch/arm/plat-bcmap/chal/chal_cam.c:177: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:185: warning: format '%x' expects type 'unsigned int', but argument 7 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:193: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:193: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:193: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:205: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:205: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:205: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:215: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:215: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:215: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:222: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:222: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:222: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:222: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:222: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:227: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:227: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:227: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:237: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:237: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:237: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:244: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:244: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:244: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:244: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:244: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:249: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:249: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:249: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:261: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:261: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:261: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:261: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:267: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:267: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:267: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:267: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:278: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:278: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:278: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:278: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_deinit':
arch/arm/plat-bcmap/chal/chal_cam.c:378: warning: assignment makes integer from pointer without a cast
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_intf':
arch/arm/plat-bcmap/chal/chal_cam.c:402: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct chal_cam_t *'
arch/arm/plat-bcmap/chal/chal_cam.c:409: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:411: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:589: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:589: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_pipeline':
arch/arm/plat-bcmap/chal/chal_cam.c:965: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:965: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_buffer':
arch/arm/plat-bcmap/chal/chal_cam.c:1117: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1121: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1121: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1127: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1134: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1147: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_data':
arch/arm/plat-bcmap/chal/chal_cam.c:1188: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1188: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_get_buffer_cfg':
arch/arm/plat-bcmap/chal/chal_cam.c:1438: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1438: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_frame':
arch/arm/plat-bcmap/chal/chal_cam.c:1470: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1475: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1526: warning: format '%d' expects type 'int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1587: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1587: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_window':
arch/arm/plat-bcmap/chal/chal_cam.c:1710: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1710: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1710: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1742: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:1742: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_cfg_afe_cntrl':
arch/arm/plat-bcmap/chal/chal_cam.c:1769: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1783: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_set_analog_pwr':
arch/arm/plat-bcmap/chal/chal_cam.c:1826: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1833: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1863: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_set_bandgap_pwr':
arch/arm/plat-bcmap/chal/chal_cam.c:1925: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1932: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:1953: warning: format '%d' expects type 'int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_lane_enable':
arch/arm/plat-bcmap/chal/chal_cam.c:2007: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_set_lane_cntrl':
arch/arm/plat-bcmap/chal/chal_cam.c:2071: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_set_intf':
arch/arm/plat-bcmap/chal/chal_cam.c:2345: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2345: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_get_lane_status':
arch/arm/plat-bcmap/chal/chal_cam.c:2615: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_get_chan_status':
arch/arm/plat-bcmap/chal/chal_cam.c:2756: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2756: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2756: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2807: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2807: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2807: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_reset':
arch/arm/plat-bcmap/chal/chal_cam.c:2841: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:2859: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'cUInt32'
arch/arm/plat-bcmap/chal/chal_cam.c:2887: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2887: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:2887: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_rx_start':
arch/arm/plat-bcmap/chal/chal_cam.c:3001: warning: too many arguments for format
arch/arm/plat-bcmap/chal/chal_cam.c: In function 'chal_cam_rx_stop':
arch/arm/plat-bcmap/chal/chal_cam.c:3110: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3110: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3110: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3121: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3121: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3121: warning: statement with no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3140: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3140: warning: left-hand operand of comma expression has no effect
arch/arm/plat-bcmap/chal/chal_cam.c:3140: warning: statement with no effect
LD arch/arm/plat-bcmap/chal/built-in.o
CC arch/arm/plat-bcmap/csl/csl_dma.o
In file included from arch/arm/plat-bcmap/include/plat/osdal_os_driver.h:29,
from arch/arm/plat-bcmap/csl/csl_dma.c:30:
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Create':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:147: warning: assignment from incompatible pointer type
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Destroy':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:212: warning: initialization from incompatible pointer type
CC arch/arm/plat-bcmap/csl/csl_lcdc.o
In file included from arch/arm/plat-bcmap/csl/csl_lcdc.c:40:
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Create':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:147: warning: assignment from incompatible pointer type
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Destroy':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:212: warning: initialization from incompatible pointer type
CC arch/arm/mach-bcm215xx/lm.o
CC arch/arm/mach-bcm215xx/cpufreq_bcm21553.o
CC arch/arm/mach-bcm215xx/cpuidle_bcm21553.o
CC arch/arm/plat-bcmap/csl/csl_cam.o
In file included from arch/arm/plat-bcmap/include/plat/osdal_os_driver.h:29,
from arch/arm/plat-bcmap/csl/csl_cam.c:27:
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Create':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:147: warning: assignment from incompatible pointer type
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h: In function 'OSTASK_Destroy':
arch/arm/plat-bcmap/include/plat/osabstract/ostask.h:212: warning: initialization from incompatible pointer type
arch/arm/plat-bcmap/csl/csl_cam.c: At top level:
arch/arm/plat-bcmap/csl/csl_cam.c:170: warning: initialization makes integer from pointer without a cast
arch/arm/plat-bcmap/csl/csl_cam.c:172: warning: initialization makes integer from pointer without a cast
arch/arm/plat-bcmap/csl/csl_cam.c:174: warning: initialization makes integer from pointer without a cast
arch/arm/plat-bcmap/csl/csl_cam.c: In function 'cslCamFrameLisr':
arch/arm/plat-bcmap/csl/csl_cam.c:1050: warning: comparison between pointer and integer
arch/arm/plat-bcmap/csl/csl_cam.c:1080: warning: comparison between pointer and integer
arch/arm/plat-bcmap/csl/csl_cam.c:1032: warning: unused variable 'rdr3'
arch/arm/plat-bcmap/csl/csl_cam.c: In function 'cslCamFrameHisr':
arch/arm/plat-bcmap/csl/csl_cam.c:1136: warning: format '%d' expects type 'int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1142: warning: format '%d' expects type 'int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1148: warning: format '%d' expects type 'int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1166: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1166: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1166: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1166: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1166: warning: format '%d' expects type 'int', but argument 6 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1177: warning: comparison between pointer and integer
arch/arm/plat-bcmap/csl/csl_cam.c:1177: warning: comparison between pointer and integer
arch/arm/plat-bcmap/csl/csl_cam.c: In function 'cslCamFrameProcess':
arch/arm/plat-bcmap/csl/csl_cam.c:1274: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1274: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1275: warning: comparison between pointer and integer
arch/arm/plat-bcmap/csl/csl_cam.c:1293: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1293: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1293: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1323: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1323: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1323: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1328: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1328: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1328: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1336: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1336: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c:1336: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt8 *'
arch/arm/plat-bcmap/csl/csl_cam.c: In function 'csl_cam_open':
arch/arm/plat-bcmap/csl/csl_cam.c:1553: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:1583: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c: In function 'csl_cam_set_input_addr':
arch/arm/plat-bcmap/csl/csl_cam.c:2076: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2076: warning: format '%d' expects type 'int', but argument 3 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2076: warning: format '%d' expects type 'int', but argument 4 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2082: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2082: warning: format '%d' expects type 'int', but argument 3 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2082: warning: format '%d' expects type 'int', but argument 4 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2114: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2114: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'UInt32'
arch/arm/plat-bcmap/csl/csl_cam.c:2114: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'UInt32'
Click to expand...
Click to collapse

everybody got those errors but their kernel is working fine.

kurotsugi said:
everybody got those errors but their kernel is working fine.
Click to expand...
Click to collapse
darn it, whiy does mine not have signal, but something weird happened earlier today. i received a message on my phone even though it had the no signal icon, it was just 1 msg, i tried to reply to see if it could send but it could not and keep saying will send message when service becomes available
EDIT: its even weirder than i thought, i can recieve text messages and calls but i cant call from my phone or send text...

Related

Compiling jb code for defy

can anyone guide how to compile original JB source code for motorola defy ........... i.e. how to make working JB rom for defy ... dont want to use cyanogen mod rom ............. want to create my own
can anyone guide
thank u!
it really helps! thanks for all the tips! master!
Sent from my MB526 using xda premium
nogoodusername said:
thank u!
it really helps! thanks for all the tips! master!
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
i didnt get u!
what exactly you want to say?
Wrong section bro... this should go in Q&A or even in General, but definitely not here...
I think it is also a development part ........ building environment & development of custom rom from source ....
latadswapnil said:
I think it is also a development part ........ building environment & development of custom rom from source ....
Click to expand...
Click to collapse
Development section is meant for development not discussions, tutorials, How-Tos etc. This is where roms, mods and other cool stuff go. It is a place where something is being worked on and where devs and the community can contribute and work together. Questions are for the Q&A and General section whether or not they are development related has Hairo has said.
Kayant said:
Development section is meant for development not discussions, tutorials, How-Tos etc. This is where roms, mods and other cool stuff go. It is a place where something is being worked on and where devs and the community can contribute and work together. Questions are for the Q&A and General section whether or not they are development related has Hairo has said.
Click to expand...
Click to collapse
Ok but this can be moved to the respective section and answered there na?
I too want a lil novice guide on compiling roms
Sent from my MB525 using xda app-developers app
vedhasd said:
Ok but this can be moved to the respective section and answered there na?
I too want a lil novice guide on compiling roms
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
It will be soon
Then your best friend is search google, XDA and whatever else......however, if you know how to code then it should be easy if not look at my github and look at the commits I cherry-pick from our CM team those are what is need to get the defy to boot on an AOSP rom. Look at the android source code and see how it works you will know what to do from there look at other roms like AOKP, CM and CNA etc. When I ported AOKP and CNA and soon Slim i don't know how to code one bit however, I just know how to look at things and see how they work by searching, using my brain, comparing for hours and learning. Learning to use git is necessary for all this to happen it's quite easy once you get the hang of it just search the commands if you don't know what they mean or do.
Good luck and next time latadswapnil please post in the right section.
Moved to Q&A. Please do not posts questions in development sections.
TeeJay3800 said:
Moved to Q&A. Please do not posts questions in development sections.
Click to expand...
Click to collapse
Sorry
Sent from my MB525 using xda app-developers app
---------- Post added at 08:41 AM ---------- Previous post was at 08:37 AM ----------
@kayant yes dude, especially its very good of you, I have used ur aokp builds and luved it! And i just want from where to start...I have a lil knowledge of c,c++,java coding but don't know how to apply in compiling! I have done some apps...dunno if that knowledge is useful..!
Sent from my MB525 using xda app-developers app
sorry ...bro ...
i have sync the android source & build required environment .... please guide me to where to look & what are the important factors to look while learning . .
Kayant said:
It will be soon
Then your best friend is search google, XDA and whatever else......however, if you know how to code then it should be easy if not look at my github and look at the commits I cherry-pick from our CM team those are what is need to get the defy to boot on an AOSP rom. Look at the android source code and see how it works you will know what to do from there look at other roms like AOKP, CM and CNA etc. When I ported AOKP and CNA and soon Slim i don't know how to code one bit however, I just know how to look at things and see how they work by searching, using my brain, comparing for hours and learning. Learning to use git is necessary for all this to happen it's quite easy once you get the hang of it just search the commands if you don't know what they mean or do.
Good luck and next time latadswapnil please post in the right section.
Click to expand...
Click to collapse
Can you post some links!! to start from begin ....! it will be very helpful
latadswapnil said:
Can you post some links!! to start from begin ....! it will be very helpful
Click to expand...
Click to collapse
I won't post links as that will be spoon feeding and you can't do this if I do that
but search the general section i have a guide on compiling roms for the defy and also there's a thread where Quarx helped me when I was porting AOKP JB.
Good luck ^_^
It takes hours to compile the code ....... it will be helpful if you suggest ... some sort of changes for that we have to look..... before compiling
More or less....forum is made for helping each other......providing link will reduce the work......
Sent from my MB526 using xda app-developers app
latadswapnil said:
It takes hours to compile the code ....... it will be helpful if you suggest ... some sort of changes for that we have to look..... before compiling
More or less....forum is made for helping each other......providing link will reduce the work......
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Yes but you wouldn't be learning the point of a forum is to give a guiding hand and you do the rest = learning less problems and person remembering that skill..... Well I ported gummy rom for the first time(even though it didn't boot probably in the end) no one helped me because I read around, read a lot before doing what I did and I have given a lot of info already on where to find stuff i cba to search it it's already out there for you. You just need to find it like i did
---------- Post added at 08:43 PM ---------- Previous post was at 08:41 PM ----------
vedhasd said:
@kayant yes dude, especially its very good of you, I have used ur aokp builds and luved it! And i just want from where to start...I have a lil knowledge of c,c++,java coding but don't know how to apply in compiling! I have done some apps...dunno if that knowledge is useful..!
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Once you learn how AOSP works it should help you write in some new code if you want to add some new features and also to identify and fix errors when they come up when compiling.....
ERROR::!!!
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:98:39: error: invalid use of undefined type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:98:39: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:100:39: error: invalid use of undefined type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONN
MARK.c:100:39: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_init':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:133:6: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:133:6: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:134:6: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:134:6: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_parse':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:20: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:20: note: each undeclared identifier is reported only once for each function it appears in
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:144:18: warning: assignment makes integer from pointer without a cast [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:149:20: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:149:18: warning: assignment makes integer from pointer without a cast [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:152:20: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:152:18: warning: assignment makes integer from pointer without a cast [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_parse':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:167:18: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:168:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:168:7: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:169:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:169:7: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:172:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:172:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:173:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:173:7: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:174:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:174:7: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:177:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:177:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:178:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:178:7: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:179:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:179:7: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:182:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:182:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:183:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:183:7: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:184:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:184:7: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:187:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:187:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:188:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:188:7: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:189:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:189:7: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:192:16: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:7: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:195:16: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:7: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:7: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:22: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:198:22: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_print':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:229:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:234:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:238:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_print':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:254:14: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:254:14: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:255:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:256:11: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:256:11: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:40: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:40: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:258:35: error: wrong type argument to bit-complement
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:16: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:16: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:32: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:259:32: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:36: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:36: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:260:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:261:16: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:261:16: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:37: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:37: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:262:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:16: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:16: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:263:25: warning: comparison between pointer and integer [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:37: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:37: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:264:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:15: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:15: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:29: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:29: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:267:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:269:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:11: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:11: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:20: warning: comparison between pointer and integer [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:41: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:41: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:270:50: warning: comparison between pointer and integer [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:16: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:16: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:32: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:272:32: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:43: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:43: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:273:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:15: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:15: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:29: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:29: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:276:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:278:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:11: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:11: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:20: warning: comparison between pointer and integer [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:41: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:41: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:279:50: warning: comparison between pointer and integer [enabled by default]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:16: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:16: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:32: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:281:32: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:46: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:46: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:282:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:15: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:15: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:29: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:29: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:285:11: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'CONNMARK_save':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:300:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:305:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:309:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: In function 'connmark_tg_save':
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:332:14: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:332:14: error: request for member 'mode' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:333:7: error: 'XT_CONNMARK_SET' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:40: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:40: error: request for member 'ctmark' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:54: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:54: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:334:3: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:336:7: error: 'XT_CONNMARK_SAVE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:14: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:14: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:28: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:28: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:338:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:340:7: error: 'XT_CONNMARK_RESTORE' undeclared (first use in this function)
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:14: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:14: error: request for member 'nfmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:28: error: dereferencing pointer to incomplete type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:28: error: request for member 'ctmask' in something not a structure or union
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct xt_option_entry const *' [-Wformat]
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:342:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct xt_option_entry const *' [-Wformat]
ERROR::!!! Continue
target thumb C: libext <= out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_conntrack.c
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c: At top level:
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: cast specifies array type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid operands to binary + (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *')
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: cast specifies array type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: wrong type argument to bit-complement
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: invalid operands to binary & (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *')
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: initializer element is not constant
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:371:20: error: (near initialization for 'connmark_tg_reg[1].size')
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: cast specifies array type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid operands to binary + (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *')
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid application of 'sizeof' to incomplete type 'struct xt_connmark_tginfo1'
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: cast specifies array type
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: wrong type argument to bit-complement
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: invalid operands to binary & (have 'struct xt_option_entry const *' and 'struct xt_option_entry const *')
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: initializer element is not constant
out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.c:372:20: error: (near initialization for 'connmark_tg_reg[1].userspacesize')
make: *** [out/target/product/maguro/obj/STATIC_LIBRARIES/libext_intermediates/libxt_CONNMARK.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/defy_rom$ repo status platform/bionic
project bionic/ (*** NO BRANCH ***)
-- libc/kernel/common/linux/netfilter/.goutputstream-A166LW
-- libc/kernel/common/linux/netfilter/.goutputstream-C8EWLW
-- libc/kernel/common/linux/netfilter_ipv6/.goutputstream-I0Z6LW
got this while trying to build the source
first i have installed ubuntu 32bit as guest on virtual box & done all repo sync .........................& later i came to know i have to do it on the ubuntu 64 bit ...........so i have copied all source to host OS windows7 .........then i have installed ubuntu 64bit guest os & copied all source to it.....
then i have done all procedure again & also done repo sync again ........... only some updates downloaded & done successfuly
then tried to build the source & got the above error
You need to read around before trying. Have you done that yet??? You do know you're compiling for the galaxy nexus not the defy at the moment you need to add support for the defy through mk files and changing some things in some other places..... And try and condense the error log it's quite hard to following and am not going to know how to fix everything I have no programming skills it's must better to search first then if you can't find the answer then post..
Kayant said:
You need to read around before trying. Have you done that yet??? You do know you're compiling for the galaxy nexus not the defy at the moment you need to add support for the defy through mk files and changing some things in some other places..... And try and condense the error log it's quite hard to following and am not going to know how to fix everything I have no programming skills it's must better to search first then if you can't find the answer then post..
Click to expand...
Click to collapse
Yes i do know i am compiling for nexus .. but i am doing that for emulator purpose ...............
i read about that error ........ on google group ..but solution is not working & also ubuntu is having case sensitive file system
i am not getting what exactly to do because there is nothing more about it on google ..........
any developer can help me out here ?

[CM11][UNOFFICIAL][GIT BUILDS]Help and troubleshooting CM-11.0

I started this thread as a addition to this thread: [GUIDE CM11] How to build your own CyanogenMod 11.0 ROM from sources for the Nexus 4.
Since that thread should focus on build issues and not general help and troubleshooting with the ROM i thought we could take i here.
Discuss glitches, errors, solutions and general tips and tricks to get our CM11 powered mako into tiptop working condition.
First order of business:
The glitches that flicker all over the screen on builds made yesterday. Any one else experiencing this? Any one found out whats causing it?
I get the screen glitch too but that doesn't make it unusable.
I'm also running into an issue causing people not hearing me and me not hearing anything during calls. It happens every time so it's basically unusable as a phone (still not a big deal since I text a lot more than I call).
These happen on a self build from monday, but it started several days before with the same build.
Today I tried building again and I get this error :
Code:
target thumb C++: libOmxVenc <= hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp
In file included from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32:0,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:76:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:48,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
system/core/include/log/log.h:68:0: note: this is the location of the previous definition
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/debug.pb.cc <= external/webrtc/src/modules/audio_processing/debug.proto
target Prebuilt: CMUpdater (/home/danelkouby/android/system/out/target/common/obj/JAVA_LIBRARIES/dashclockapi_intermediates/classes.jar)
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:206:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:210:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc <= external/webrtc/src/modules/audio_processing/test/unittest.proto
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:630: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-legacy/vidc/venc/src/video_encoder_device.cpp:630:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:986: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-legacy/vidc/venc/src/video_encoder_device.cpp:960:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:972:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:992:3: warning: case value '2130706474' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1004:3: warning: case value '2130706475' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1078:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
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:1362: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-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:1775:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2058:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2175:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2195:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:11: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:40: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2267: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-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2880:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2882:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2884:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2932:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2953:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2965:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2975:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
build/core/binary.mk:432: recipe for target '/home/danelkouby/android/system/out/target/product/mako/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o' failed
Streetwalker said:
Today I tried building again and I get this error
Click to expand...
Click to collapse
Same here!
Likely not your error
Code:
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2175:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
The Screen flickering keeps me from using CM11 already, maybe it takes some time until it is fully usable.
Greetings,
I'm running the latest CM 10.2 nightly on my Nexus 4, everything works fine.
Can I simply flash the latest CM 11 over it?
Thanks.
diehard2013 said:
Greetings,
I'm running the latest CM 10.2 nightly on my Nexus 4, everything works fine.
Can I simply flash the latest CM 11 over it?
Thanks.
Click to expand...
Click to collapse
Yes, but be aware that not every CM specific function is implemented yet. And also there is serveral bugs, like the screen flicker and no audio during call.
The audio bug can be fixed as Raum1807 describes here:
http://forum.xda-developers.com/showpost.php?p=47871899&postcount=219
Streetwalker said:
I get the screen glitch too but that doesn't make it unusable.
I'm also running into an issue causing people not hearing me and me not hearing anything during calls. It happens every time so it's basically unusable as a phone (still not a big deal since I text a lot more than I call).
These happen on a self build from monday, but it started several days before with the same build.
Today I tried building again and I get this error :
Code:
target thumb C++: libOmxVenc <= hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp
In file included from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32:0,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:76:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:48,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
system/core/include/log/log.h:68:0: note: this is the location of the previous definition
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/debug.pb.cc <= external/webrtc/src/modules/audio_processing/debug.proto
target Prebuilt: CMUpdater (/home/danelkouby/android/system/out/target/common/obj/JAVA_LIBRARIES/dashclockapi_intermediates/classes.jar)
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:206:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:210:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc <= external/webrtc/src/modules/audio_processing/test/unittest.proto
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:630: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-legacy/vidc/venc/src/video_encoder_device.cpp:630:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:986: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-legacy/vidc/venc/src/video_encoder_device.cpp:960:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:972:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:992:3: warning: case value '2130706474' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1004:3: warning: case value '2130706475' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1078:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
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:1362: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-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:1775:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2058:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2175:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2195:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:11: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:40: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2267: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-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2880:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2882:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2884:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/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-legacy/vidc/venc/src/video_encoder_device.cpp:2932:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2953:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2965:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2975:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
build/core/binary.mk:432: recipe for target '/home/danelkouby/android/system/out/target/product/mako/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o' failed
Click to expand...
Click to collapse
Please post build errors in this thread: http://forum.xda-developers.com/showthread.php?t=2515305

[Q] Get kernel framebuffer console

Hello XDA users!
I'm so confused with this thing. I've been trying to do that nearly a month. After a billion google queries and phone reboots (if my N4 could throw up, it would) I got nothing.
First of all, I can't compile the kernel.
Sys info: I'm on Arch Linux 3.12.1-3-ARCH 64 bit.
I have all the three google toolchains (arm-linux-androideabi-4.{6,7,8}) and currently I'm trying with 4.8.
With default config (I stress that) I get this: http://showterm.io/1a41b9af919653f53a890
I use google's repo (https://android.googlesource.com/kernel/msm.git) on the android-msm-mako-3.4-kitkat-mr0 branch (I use occam-krt16o build on my N4).
I know this must be noobish problem, but I have no idea what's the problem...
Thanks in advance!
I've got some news!
First of all, you need to edit scripts/gcc-wrapper.py to use python2.7 and not 3.
However, 4.8 toolchain spits some errors and I'm not really into casting spells just to compile with 4.8 instead of 4.7. If there is a major difference between them (performance improvements etc.) I'll look into it.
Now it's time to implement the framebuffer changes to the .config
for more info:
http://forum.xda-developers.com/showpost.php?p=10075806&postcount=3
http://forum.xda-developers.com/showpost.php?p=18256605&postcount=1
UPDATE: Well, I applied this patch (https://github.com/Tasssadar/kernel...a9d#diff-94babbe85a910bf17f882465a760c431R608), I can only get blank screen. Any ideas?
Bump.
Hi does anyone know how to get this to work.
I have an Alcatel OT918D ANDROID 2.3.5.
I have managed to compile my own kernel and boot it. But for adding the frame buffer option in the makefile I get this error during compilation:
**************************************************************************************************************
drivers/video/console/fbcon.c:638: note: expected 'struct file *' but argument is of type 'struct fb_info *'
drivers/video/console/fbcon.c:638: error: too few arguments to function 'info->fbops->fb_open'
drivers/video/console/fbcon.c: In function 'con2fb_release_oldinfo':
drivers/video/console/fbcon.c:670: warning: passing argument 1 of 'oldinfo->fbops->fb_release' from incompatible pointer type
drivers/video/console/fbcon.c:670: note: expected 'struct file *' but argument is of type 'struct fb_info *'
drivers/video/console/fbcon.c:670: error: too few arguments to function 'oldinfo->fbops->fb_release'
drivers/video/console/fbcon.c:673: warning: passing argument 1 of 'newinfo->fbops->fb_release' from incompatible pointer type
drivers/video/console/fbcon.c:673: note: expected 'struct file *' but argument is of type 'struct fb_info *'
drivers/video/console/fbcon.c:673: error: too few arguments to function 'newinfo->fbops->fb_release'
drivers/video/console/fbcon.c: In function 'fbcon_startup':
drivers/video/console/fbcon.c:868: warning: passing argument 1 of 'info->fbops->fb_open' from incompatible pointer type
drivers/video/console/fbcon.c:868: note: expected 'struct file *' but argument is of type 'struct fb_info *'
drivers/video/console/fbcon.c:868: error: too few arguments to function 'info->fbops->fb_open'
drivers/video/console/fbcon.c: In function 'fbcon_exit':
drivers/video/console/fbcon.c:3388: warning: passing argument 1 of 'info->fbops->fb_release' from incompatible pointer type
drivers/video/console/fbcon.c:3388: note: expected 'struct file *' but argument is of type 'struct fb_info *'
drivers/video/console/fbcon.c:3388: error: too few arguments to function 'info->fbops->fb_release'
make[3]: *** [drivers/video/console/fbcon.o] Error 1
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC [M] ../mediatek/source/kernel/drivers/lttng/probes/net-extended-trace.o
CC [M] ../mediatek/source/kernel/drivers/lttng/probes/block-trace.o
CC ../mediatek/source/kernel/kernel/trace_mt65xx_mon.o
LD [M] ../mediatek/source/kernel/drivers/lttng/ltt-relay.o
CC ../mediatek/source/kernel/drivers/m4u/m4u_kernel.o
../mediatek/source/kernel/drivers/m4u/m4u_kernel.c: In function 'm4u_user_v2p':
../mediatek/source/kernel/drivers/m4u/m4u_kernel.c:66: warning: format '%d' expects type 'int', but argument 3 has type 'struct task_struct *'
************************************************************************************************************

Help regarding compiling Omnirom for CM source for htc msm8960.

I am trying to compile Omni for Ville but I am not able to over come the following hurdle. Can some one suggest me where I missed something. This is what I get.
target thumb C: mkexfatfs <= bootable/recovery/exfat/mkfs/uctc.c
target thumb C: mkexfatfs <= bootable/recovery/exfat/mkfs/vbr.c
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/system/lib/libcryptfslollipop.so', needed by '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin'. Stop.
make: *** Waiting for unfinished jobs....
target StaticLib: libfusetwrp (/home/ace/android/omni/out/target/product/ville/obj/STATIC_LIBRARIES/libfusetwrp_intermediates/libfusetwrp.a)
real 2m23.315s
user 2m48.614s
sys 2m2.250s
[email protected]:~/android/omni$
Click to expand...
Click to collapse
letsurock said:
I am trying to compile Omni for Ville but I am not able to over come the following hurdle. Can some one suggest me where I missed something. This is what I get.
Click to expand...
Click to collapse
Set TW_INCLUDE_CRYPTO := false for now, Dees-Troy added a commit to use that .so but did not include it in the prebuilts. I have not found the file anywhere on the net.
ktoonsez said:
Set TW_INCLUDE_CRYPTO := false for now, Dees-Troy added a commit to use that .so but did not include it in the prebuilts. I have not found the file anywhere on the net.
Click to expand...
Click to collapse
Thanks:good: it did the trick, but now I have this problem.
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
real 4m51.854s
user 4m14.897s
Click to expand...
Click to collapse
Tried to recompile and that error disappreared. Now, this problem.
target thumb C: amix <= hardware/qcom/audio/legacy/libalsa-intf/amix.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
build/core/binary.mk:698: recipe for target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o' failed
make: *** [/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
letsurock said:
Tried to recompile and that error disappreared. Now, this problem.
Click to expand...
Click to collapse
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
ktoonsez said:
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
Click to expand...
Click to collapse
Will look at it at this weekend. Thanks for your advices.
Ok, dug deeper on the crypto part and found that there is a config that needs changing:
Change this:
TW_INCLUDE_CRYPTO
To this:
TW_INCLUDE_L_CRYPTO
Something with Wifi?
Can some one guide me to overcome this error?
Import includes file: /home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/dumpstate_intermediates/import_includes
target thumb C: libdumpstate.default <= frameworks/native/cmds/dumpstate/libdumpstate_default.c
target thumb C++: dumpsys <= frameworks/native/cmds/dumpsys/dumpsys.cpp
target thumb C: mount.exfat <= external/exfat/main.c
target thumb C: gzip <= external/zlib/src/test/minigzip.c
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
real 25m14.641s
user 65m59.889s
sys 18m12.959s
Click to expand...
Click to collapse
Thank you.
letsurock said:
Thanks:good: it did the trick, but now I have this problem.
Click to expand...
Click to collapse
Quote:
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
got the same error , someone fix it ????
i build for lg msm8226 device.
Thx in advance..............
shoxxy said:
Quote:
Notice file: external/scrypt/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libscrypt_static.a.txt
make: *** No rule to make target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libqcci_legacy_intermediates/export_includes', needed by '/home/ace/android/omni/out/target/product/ville/obj/EXECUTABLES/wcnss_service_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/extras/f2fs_utils/NOTICE -- /home/ace/android/omni/out/target/product/ville/obj/NOTICE_FILES/src//system/lib/libf2fs_sparseblock.so.txt
got the same error , someone fix it ????
i build for lg msm8226 device.
Thx in advance..............
Click to expand...
Click to collapse
No, not yet fixed.
letsurock said:
No, not yet fixed.
Click to expand...
Click to collapse
Thx for reply.................
set
TARGET_USES_QCOM_WCNSS_QMI := true
to false or remove it , works for me but i dont know if its used by your device. saw this ijn a opo repo, and tryed it out
shoxxy said:
Thx for reply.................
set
TARGET_USES_QCOM_WCNSS_QMI := true
to false or remove it , works for me but i dont know if its used by your device. saw this ijn a opo repo, and tryed it out
Click to expand...
Click to collapse
Thanks it worked.
But now I have this problem
frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:206:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_InputChannel.cpp
build/core/binary.mk:618: recipe for target '/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o' failed
make: *** [/home/ace/android/omni/out/target/product/ville/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
It wants CAF code not yet implimented in OmniROM it seems, you're building for 5.0?
Edit: You're for sure using CM12 as a base, dirtyrect is a hallmark of 'MSM8960', Repo sync CM12 or just the surface.cpp file and diff it against Omni to add the needed support.
As someone who built for moto_MSM8960 which is basically the same thing; expect to have to change a LOT in Omni source in order to achieve that compatibility
Edit: You could also try to specify 'legacy' instead of 'caf' in your configurations too..
Thanks:good:
ktoonsez said:
You got some problems in your device tree, as the error says you missing a header file, nothing to do with recovery though
Click to expand...
Click to collapse
Hey @ktoonsez,
I'm currently working through the the same set of issues trying to build Lollipop Omni on the motorola mb886, which is also msm8960 based in this thread
and I'm kinda stuck.
I initially got the Surface.cpp errors outlined later in this thread. Just tweaked that one file to match the Cyanogenmod source (commit here) based on what @Tqr said.
Now I'm also dealing with the sound/tlv.h fatal error. I'm not really sure where exactly I could go in the device tree to start debugging this? My device source that I'm working with is here.
A tlv.h header file exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, which is the same place it did for cm12 which built fine.
ssuds said:
Hey @ktoonsez,
I'm currently working through the the same set of issues trying to build Lollipop Omni on the motorola mb886, which is also msm8960 based in this thread
and I'm kinda stuck.
I initially got the Surface.cpp errors outlined later in this thread. Just tweaked that one file to match the Cyanogenmod source (commit here) based on what @Tqr said.
Now I'm also dealing with the sound/tlv.h fatal error. I'm not really sure where exactly I could go in the device tree to start debugging this? My device source that I'm working with is here.
A tlv.h header file exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, which is the same place it did for cm12 which built fine.
Click to expand...
Click to collapse
Please give me your full error log, off-hand I want to say this is an issue in GCCprebuilts where two lines of code must be removed for some reason
Edit: You have a MSM8960 based device, It's most likely an error in prebuilts
Tqr said:
Please give me your full error log, off-hand I want to say this is an issue in GCCprebuilts where two lines of code must be removed for some reason
Edit: You have a MSM8960 based device, It's most likely an error in prebuilts
Click to expand...
Click to collapse
Gotcha, below is the error, hopefully this is what you wanted. Also, was I on the right track with that change in the android_view_Surface.cpp?
Thanks!
ssuds said:
Edit2: now it builds further but breaks on an audio blob
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:401:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:467:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:471:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:505:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:492:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:555:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:526:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:668:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:697:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio/legacy/libalsa-intf/alsa_pcm.c:780:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
real 25m34.029s
user 66m21.505s
sys 16m39.325s
[email protected]:~/omni2$
tlv.h exists in my ~/omni2/kernel/motorola/msm8960-common/include/sound directory, same place it did for cm12 which built fine.
Edit3: Think I'm getting closer... Now I'm getting this
Code:
target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_TextureView.cpp
frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:206:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_view_Surface.o] Error 1
make: *** Waiting for unfinished jobs....
real 4m8.158s
user 4m55.351s
sys 2m13.800s
[email protected]:~/omni2$
Edit4: Found some very relevant stuff in this thread: http://forum.xda-developers.com/omni/general/help-regarding-compiling-omnirom-cm-t2964759/page2
Edit5: Tweaked the surface.cpp as that thread recommended, see https://github.com/ssuds/android_frameworks_base/commit/84c26243dcfcba9aee824dfddd11b2a3405c006b
Now the tlv.h: No such file or directory error is back:
Code:
target thumb C: libalsa-intf <= hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c
target Prebuilt: am (/home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/am_intermediates/am)
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
Notice file: frameworks/base/cmds/am/NOTICE -- /home/shreyas/omni2/out/target/product/mb886/obj/NOTICE_FILES/src//system/bin/am.txt
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:77:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:89:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:132:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:156:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:180:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:792:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:1986:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3102:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_ucm_parse_section':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3303:13: warning: format '%d' expects a matching 'int' argument [-Wformat=]
ALOGV("Effects mixer ctl: %s: %d\n", list->effects_mixer_ctl);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3597:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3615:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_ucm.c:3583:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
real 12m37.998s
user 27m33.618s
sys 6m41.232s
[email protected]:~/omni2$
Click to expand...
Click to collapse
ssuds said:
Gotcha, below is the error, hopefully this is what you wanted. Also, was I on the right track with that change in the android_view_Surface.cpp?
Thanks!
Click to expand...
Click to collapse
sound/tlv.h may be specified in more than one location; you only need a single tlv.h make sure there is not another one causing conflict
Edit: Yes you were on the right track chanigng surface.cpp
It's exactly like smali editing in some regards, and you're really close to building it
Tqr said:
sound/tlv.h may be specified in more than one location; you only need a single tlv.h make sure there is not another one causing conflict
Edit: Yes you were on the right track chanigng surface.cpp
It's exactly like smali editing in some regards, and you're really close to building it
Click to expand...
Click to collapse
Awesome, thanks and that's great to hear that I'm getting close.
So if I'm understanding you correctly, I would be safe in just removing the 'include tlv.h' line in alsa_mixer.c? It's kinda curious that it didn't cause any conflicts while compiling CM12 vs Omni, but I guess the source might be different enough to cause conflicts?
EDIT: It initially looked like removing the 'include tlv.h' line let me get past that, I then ran into
Code:
DumpPublicKey: /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/shreyas/omni2/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys
device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te:2:ERROR 'unknown type userinit_exec' at token ';' on line 18238:
#line 1 "device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te"
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
target StaticLib: libc_nomalloc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
real 3m19.468s
user 1m34.553s
sys 1m0.526s
[email protected]:~/omni2$
The code in sysinit.te is:
Code:
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
allow sysinit property_socket:sock_file write;
allow sysinit system_data_file:file { open };
allow sysinit init:unix_stream_socket connectto;
allow sysinit sysfs:file write;
I just deleted out the first line referring to sysinit userinit_exec
Tried the build again, at which point seems like everything broke on the libalsa-intf stuff:
Code:
Install: /home/shreyas/omni2/out/target/product/mb886/system/bin/am
Import includes file: /home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/amix_intermediates/import_includes
target thumb C: aplay <= hardware/qcom/audio/legacy/libalsa-intf/aplay.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_dump':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:240:9: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
ALOGV("%4d %5s %3d %3d %3d %3d %c%c%c%c%c%c%c%c%c %-6s %8d %s",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_read_tlv':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: error: 'SNDRV_CTL_TLVT_DB_SCALE' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_SCALE: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:368:14: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:403:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:409:5: warning: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [enabled by default]
mixer_ctl_read_tlv(ctl, tlv, &min, &max, &tlv_type);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
int mixer_ctl_read_tlv(struct mixer_ctl *ctl,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:537:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:544:18: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR:
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
ALOGV("tlv db linear: %d %d %d\n", percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:645:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("val = %x", val);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:701:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("min = %x max = %x", min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=]
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:44:8: warning: type defaults to 'int' in declaration of 'pcm_flag' [-Wimplicit-int]
static pcm_flag = 1;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:45:8: warning: type defaults to 'int' in declaration of 'debug' [-Wimplicit-int]
static debug = 0;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c: In function 'play_file':
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:196:5: warning: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [enabled by default]
pcm = pcm_open(flags, device);
^
In file included from hardware/qcom/audio/legacy/libalsa-intf/aplay.c:30:0:
hardware/qcom/audio/legacy/libalsa-intf/alsa_audio.h:137:13: note: expected 'char *' but argument is of type 'const char *'
struct pcm *pcm_open(unsigned flags, char *device);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:197:13: warning: ordered comparison of pointer with integer zero [-Wextra]
if (pcm < 0)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:198:9: warning: return makes integer from pointer without a cast [enabled by default]
return pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:312:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (avail < pcm->sw_p->avail_min) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:324:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Wformat=]
fprintf(stderr, "dst_addr = 0x%08x\n", dst_addr);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:339:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:444:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:461:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
real 6m36.672s
user 15m25.977s
sys 2m42.391s
[email protected]:~/omni2$
I'm not really sure where to go from here... So far I've just deleted out those two lines (one in tlv.h and one in sysinit.te), but with so much stuff seemingly broken here I don't even know where to start
ssuds said:
Awesome, thanks and that's great to hear that I'm getting close.
So if I'm understanding you correctly, I would be safe in just removing the 'include tlv.h' line in alsa_mixer.c? It's kinda curious that it didn't cause any conflicts while compiling CM12 vs Omni, but I guess the source might be different enough to cause conflicts?
EDIT: It initially looked like removing the 'include tlv.h' line let me get past that, I then ran into
Code:
DumpPublicKey: /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/shreyas/omni2/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/shreyas/omni2/out/target/product/mb886/obj/PACKAGING/ota_keys_intermediates/keys
device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te:2:ERROR 'unknown type userinit_exec' at token ';' on line 18238:
#line 1 "device/motorola/msm8960_jbbl-common/sepolicy/sysinit.te"
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
target StaticLib: libc_nomalloc (/home/shreyas/omni2/out/target/product/mb886/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
real 3m19.468s
user 1m34.553s
sys 1m0.526s
[email protected]:~/omni2$
The code in sysinit.te is:
Code:
allow sysinit userinit_exec:file { getattr execute read open execute_no_trans };
allow sysinit property_socket:sock_file write;
allow sysinit system_data_file:file { open };
allow sysinit init:unix_stream_socket connectto;
allow sysinit sysfs:file write;
I just deleted out the first line referring to sysinit userinit_exec
Tried the build again, at which point seems like everything broke on the libalsa-intf stuff:
Code:
Install: /home/shreyas/omni2/out/target/product/mb886/system/bin/am
Import includes file: /home/shreyas/omni2/out/target/product/mb886/obj/EXECUTABLES/amix_intermediates/import_includes
target thumb C: aplay <= hardware/qcom/audio/legacy/libalsa-intf/aplay.c
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_dump':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:240:9: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
ALOGV("%4d %5s %3d %3d %3d %3d %c%c%c%c%c%c%c%c%c %-6s %8d %s",
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_read_tlv':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: error: 'SNDRV_CTL_TLVT_DB_SCALE' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_SCALE: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:345:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:368:14: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR: {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:403:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:409:5: warning: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [enabled by default]
mixer_ctl_read_tlv(ctl, tlv, &min, &max, &tlv_type);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
int mixer_ctl_read_tlv(struct mixer_ctl *ctl,
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:488:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:537:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:544:18: error: 'SNDRV_CTL_TLVT_DB_LINEAR' undeclared (first use in this function)
case SNDRV_CTL_TLVT_DB_LINEAR:
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:551:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
ALOGV("tlv db linear: %d %d %d\n", percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:552:17: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:53: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:51:31: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(((val < min) ? (min) : (val > max) ? (max) : (val)))
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:557:27: note: in expansion of macro 'check_range'
percent = check_range(percent, min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:645:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("val = %x", val);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:651:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (count < ctl->info->count || count > ctl->info->count)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:701:5: warning: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Wpointer-sign]
if (is_volume(ctl->info->id.name, &type)) {
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
static int is_volume(const char *name, enum ctl_type *type)
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=]
ALOGV("min = %x max = %x", min, max);
^
hardware/qcom/audio/legacy/libalsa-intf/alsa_mixer.c:707:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=]
make: *** [/home/shreyas/omni2/out/target/product/mb886/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:44:8: warning: type defaults to 'int' in declaration of 'pcm_flag' [-Wimplicit-int]
static pcm_flag = 1;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:45:8: warning: type defaults to 'int' in declaration of 'debug' [-Wimplicit-int]
static debug = 0;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c: In function 'play_file':
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:196:5: warning: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [enabled by default]
pcm = pcm_open(flags, device);
^
In file included from hardware/qcom/audio/legacy/libalsa-intf/aplay.c:30:0:
hardware/qcom/audio/legacy/libalsa-intf/alsa_audio.h:137:13: note: expected 'char *' but argument is of type 'const char *'
struct pcm *pcm_open(unsigned flags, char *device);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:197:13: warning: ordered comparison of pointer with integer zero [-Wextra]
if (pcm < 0)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:198:9: warning: return makes integer from pointer without a cast [enabled by default]
return pcm;
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:312:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (avail < pcm->sw_p->avail_min) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:324:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Wformat=]
fprintf(stderr, "dst_addr = 0x%08x\n", dst_addr);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames);
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:325:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:339:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize) {
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:444:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
hardware/qcom/audio/legacy/libalsa-intf/aplay.c:461:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (remainingData < bufsize)
^
real 6m36.672s
user 15m25.977s
sys 2m42.391s
[email protected]:~/omni2$
I'm not really sure where to go from here... So far I've just deleted out those two lines (one in tlv.h and one in sysinit.te), but with so much stuff seemingly broken here I don't even know where to start
Click to expand...
Click to collapse
Hey man, Do you remeber how do you get that problem solved? Iam currently trying to build SimpleAosp for the HTC One S (ville), also a msm8960 device
I got the exact same error after removing the 'include tlv.h' line in alsa_mixer.c..

Please help me to bulid CM12 it stop to build

I want to build cm12 on samsung jfltexx (S4) by Ubuntu 14.04,but it can not.
i follow this to build CM12 http://wiki.cyanogenmod.org/w/Build_for_jfltexx
That is my setp
1.repo sync cm12 codes (it takes me 3 days...):crying:
2.download samsung codes
https://github.com/CyanogenMod/android_device_samsung_jfltexx ---rename jfltexx and copy to device/samsung/
https://github.com/broodplank/samsung-kernel-jfltexx ---rename kernel and copy to out/target/product/jfltexx/
https://github.com/CyanogenMod/android_device_samsung_jf-common ---remane jf-common and copy to device/samsung/
https://github.com/CyanogenMod/android_device_samsung_qcom-common ---remane and copy to device/samsung/
3.
$ source build/envsetup.sh
$ breakfast jfltexx
$ cd device/samsung/jfltexx
--connect my phone to computer
$ ./extract-files.sh
--(but no files found)
--copy the system folder from "cm12-plus-5.0-Beta5.1-jfltexx.zip" to vendor/samsung/jfltexx/
--copy jf-common to vendor/samsung/jfltexx
$ croot
$ brunch jfltexx
--now build is start
but a few minutes later, it show that code and stop to build
i am new here and my english is bad sorry.
and i am new to build android source code,please help me to fix it,thank you!
--------------------------------------------------------------------------------------------------------------------------------------------------------
target arm C: libunz <= external/zlib/src/inftrees.c
target arm C: libunz <= external/zlib/src/inffast.c
target arm C: libunz <= external/zlib/src/trees.c
target arm C: libunz <= external/zlib/src/uncompr.c
target arm C: libunz <= external/zlib/src/zutil.c
Import includes file: /home/qwejay/android/cm/out/target/product/jfltexx/obj/EXECUTABLES/alsaucm_test_intermediates/import_includes
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] error 1
make: *** Waiting for the unfinished task....
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:139:31: error: 'SND_AUDIOCODEC_AC3_PASS_THROUGH' undeclared here (not in a function)
FORMAT_AC3_PASS_THROUGH = SND_AUDIOCODEC_AC3_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:141:31: error: 'SND_AUDIOCODEC_WMA_PRO' undeclared here (not in a function)
FORMAT_WMA_PRO = SND_AUDIOCODEC_WMA_PRO,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:142:31: error: 'SND_AUDIOCODEC_DTS' undeclared here (not in a function)
FORMAT_DTS = SND_AUDIOCODEC_DTS,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:143:31: error: 'SND_AUDIOCODEC_DTS_LBR' undeclared here (not in a function)
FORMAT_DTS_LBR = SND_AUDIOCODEC_DTS_LBR,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:144:31: error: 'SND_AUDIOCODEC_DTS_PASS_THROUGH' undeclared here (not in a function)
FORMAT_DTS_PASS_THROUGH = SND_AUDIOCODEC_DTS_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'appl_pt_forward':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:483:3: warning: too many arguments for format [-Wformat-extra-args]
ALOGE("appl_ptr %ld set to ld",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:561:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:565:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:620:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:596:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:682:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:643:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:825:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:854:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:939:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] error 1
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:78:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:133:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:157:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:181:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:936:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:2207:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3324:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3884:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3902:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3870:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
--------------------------------------------------------------------------------------------------------------------------------------------------------
who can hellp me x(
QweJay said:
who can hellp me x(
Click to expand...
Click to collapse
@AntaresOne @frapeti can only help you
thinks! wen i download msm8960-common it can finish my build,but,i can not phone to everyone! because i can not find the base band.....

Categories

Resources