Hi there!
im trying to pot ics for my phone but im stock on this error
Code:
In file included from device/lge/p970/alsa/alsa_omap3.cpp:25:
device/lge/p970/alsa/audio_modem_interface.h: At global scope:
device/lge/p970/alsa/audio_modem_interface.h:38: error: 'DEVICE_OUT_EARPIECE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:39: error: 'DEVICE_OUT_SPEAKER' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:40: error: 'DEVICE_OUT_WIRED_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:41: error: 'DEVICE_OUT_WIRED_HEADPHONE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:42: error: 'DEVICE_OUT_AUX_DIGITAL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:43: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:44: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:45: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:158: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:173: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:188: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:198: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:203: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:218: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
virtual memory exhausted: Cannot allocate memory
make: *** [out/target/product/p970/obj/SHARED_LIBRARIES/alsa.p970_intermediates/alsa_omap3.o] Error 1
tried to increase the swap size but its not working... can somebody help me?
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 ?
Hey guys!
No, I still haven't gotten my CM10 to boot, because I am having a lot of build errors. Now, I need help with the following error while building:
Code:
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/copybit.msm7x30_intermediates/import_includes
Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes
target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp
target thumb C: gps.goldfish <= sdk/emulator/gps/gps_qemu.c
sdk/emulator/gps/gps_qemu.c:47:0: warning: "D" redefined [enabled by default]
hardware/libhardware/include/hardware/qemu_pipe.h:29:0: note: this is the location of the previous definition
sdk/emulator/gps/gps_qemu.c:903:5: warning: initialization from incompatible pointer type [enabled by default]
sdk/emulator/gps/gps_qemu.c:903:5: warning: (near initialization for 'qemuGpsInterface.set_position_mode') [enabled by default]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::perform' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master_base' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
hardware/qcom/display/libgenlock/genlock.cpp: In function 'int (anonymous namespace)::get_kernel_lock_type(genlock_lock_type)':
hardware/qcom/display/libgenlock/genlock.cpp:53:25: error: 'GENLOCK_WRLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:55:25: error: 'GENLOCK_RDLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t (anonymous namespace)::perform_lock_unlock_operation(native_handle_t*, int, int, int)':
hardware/qcom/display/libgenlock/genlock.cpp:83:13: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:83:26: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:84:13: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:101:43: error: 'GENLOCK_IOC_LOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_create_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:156:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:156:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:157:23: error: 'GENLOCK_IOC_NEW' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:160:45: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:27: error: 'GENLOCK_IOC_EXPORT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:166:48: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:176:30: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_attach_lock(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:243:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:243:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:244:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:245:23: error: 'GENLOCK_IOC_ATTACH' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_unlock_buffer(native_handle_t*)':
hardware/qcom/display/libgenlock/genlock.cpp:306:56: error: 'GENLOCK_UNLOCK' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_wait(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:335:9: error: 'genlock_lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:335:22: error: expected ';' before 'lock'
hardware/qcom/display/libgenlock/genlock.cpp:336:9: error: 'lock' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp:338:39: error: 'GENLOCK_IOC_WAIT' was not declared in this scope
hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_write_to_read(native_handle_t*, int)':
hardware/qcom/display/libgenlock/genlock.cpp:368:56: error: 'GENLOCK_RDLOCK' was not declared in this scope
make: *** [/home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/cm10$
Ok, so I can see that genlock (and probably gralloc), but I don't know what is wrong and how to fix it.
Please, I need someone to help me with this!
Thanks.
Which dece source are you using?
i seem to have hit a road block making jellybean rom for tcc8920st here the last part of compile log it saying about LOGE AND LOGV
host C++: wdsclient <= external/webkit/Source/WebKit/android/wds/client/main.cpp
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::connect()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:56:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:66:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::sendRequest(char const*, ...) const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:81:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:92:52: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:100:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:106:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In function 'void printFailureMessage(int)':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:118:70: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:130:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:133:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:139:46: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::checkOkayResponse() const':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:148:57: error: 'LOG_ASSERT' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:153:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:159:28: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:166:58: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'const DeviceList& AdbConnection::getDeviceList()':
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:181:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:187:50: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:195:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:210:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:213:74: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:227:52: error: 'LOGV' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/AdbConnection.o] Error 1
make: *** Waiting for unfinished jobs....
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int wds_open()':
external/webkit/Source/WebKit/android/wds/client/main.cpp:53:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:58:9: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int main(int, char**)':
external/webkit/Source/WebKit/android/wds/client/main.cpp:77:51: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:97:40: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:112:75: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:115:36: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:134:32: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:140:49: error: 'LOGE' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:144:50: error: 'LOGV' was not declared in this scope
external/webkit/Source/WebKit/android/wds/client/main.cpp:150:59: error: 'LOGE' was not declared in this scope
make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/main.o] Error 1
jez! im looking at main.cpp and adbconnection.cpp so anyone shed light on it i added telechips892x android source tree to it and edited to reflect the telechips
Hey everyone!
As the title says, but more exactly I kinda lost my mind trying to port custom firmware for Asus A500CG. And all of it end up with errors with "hardware/intel/img/psb_video/src/android/psb_android_glue.cpp".
I've used the master branch of the device tree here by quanganh2627. I'm trying to build Android M currently . I've disabled SELinux things. And to solve the psb_video error I removed the folder itself. I get a successful build but ends up with building the one for medfield. I'll post the error in the next post. And could someone guide me properly to build the ROM and for the right device.
Also I'm building it on Ubuntu 14.04.02.
I get the Medfield info because it literally gets stuck in the splash screen, so I used adb devices & I used adb logcat.
I see that most of the services fail to start & to be more precise a bootloop without boot animation.
I'd appreciate help from anyone with more experience working with custom firmware.
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:124:21: error: NULL used in arithmetic [-Werror=pointer-arith]
if (imds == NULL)
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:127:20: error: NULL used in arithmetic [-Werror=pointer-arith]
if (mds != NULL) {
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:130:13: error: converting to non-pointer type 'int' from NULL [-Werror=conversion-null]
mds = NULL;
^
cc1plus: all warnings being treated as errors
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
Next set of errors:
hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory
#include <ufo/gralloc.h>
^
compilation terminated.
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0:
hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid
sp<IMDService> mMds;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mListener;
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)':
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr'
sp<IMDService> imds = interface_cast<IMDService>(
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)'
sm->getService(String16(INTEL_MDS_SERVICE_NAME)));
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is:
In file included from frameworks/native/include/binder/IServiceManager.h:21:0,
from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33:
frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&)
inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj)
^
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed:
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer
sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider();
^
hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer
ret = mds->getVppState();
^
make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
#### make failed to build some targets (03:04 (mm:ss)) ####
Go to psb_video folder and delete all files here apart all folders and Android.mk file.
Open Android.mk file and comment all strings there using # symbol.
My CM12.1 is booted without this folder. You should compile Lollipop rom and only after that you should compile Marshmallow.
But mate it creates pvr_drv_video.so module. So would it be right to do so?
Just try.
I tried and it built it again for medfield mate....