Site Notice - We are currently investigating an issue with missing download links. Apologies for any inconvenience caused. PaulOBrien

  • Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Errors during CM10.1 build

119 posts in this topic

Posted · Report post

Hi!

I recently started to build CM10.1 as I can see nobody is working on custom ROMs for this device...I started to edit vache's device and vendor tree, but I'm still noob and I don't know where and what to start editing to work on android 4.2.2...So can anyone point me what to do or where to start editing I would be glad to hear your tips or advice as I want an working CM10.1 build for Acer...

I tried to build it with the minor changes I've made but it gave me many errors...I've managed to get over some of them but now I'm stuck at this:


/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:184:28: error: use of undeclared identifier 'RS_CMD_ID_ContextInitToClient'; did you mean 'RF_ContextInitToClient'?

	    const uint32_t cmdID = RS_CMD_ID_ContextInitToClient;

												   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

												   RF_ContextInitToClient

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:181:13: note: 'RF_ContextInitToClient' declared here

static void RF_ContextInitToClient (RsContext rsc)

					    ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:184:20: error: cannot initialize a variable of type 'const uint32_t' (aka 'const unsigned int') with an lvalue of type 'void (RsContext)'

	    const uint32_t cmdID = RS_CMD_ID_ContextInitToClient;

								   ^	   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#

# configuration written to .config

#

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:197:5: error: use of undeclared identifier 'rsi_ContextDeinitToClient'; did you mean 'rsContextDeinitToClient'?

	    rsi_ContextDeinitToClient((Context *)rsc);

	    ^~~~~~~~~~~~~~~~~~~~~~~~~

	    rsContextDeinitToClient

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiFuncDecl.h:21:6: note: 'rsContextDeinitToClient' declared here

void rsContextDeinitToClient (RsContext rsc);

		 ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:60:64: error: unknown type name 'RS_CMD_AllocationSetSurface'

	    const RS_CMD_AllocationSetSurface *cmd = static_cast<const RS_CMD_AllocationSetSurface *>(vp);

																														   ^

make[1]: Leaving directory `/home/alex/CM10.1/android/system/kernel/acer/swing'

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:203:28: error: use of undeclared identifier 'RS_CMD_ID_ContextDeinitToClient'; did you mean 'RF_ContextDeinitToClient'?

	    const uint32_t cmdID = RS_CMD_ID_ContextDeinitToClient;

												   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

												   RF_ContextDeinitToClient

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:200:13: note: 'RF_ContextDeinitToClient' declared here

static void RF_ContextDeinitToClient (RsContext rsc)

					    ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:203:20: error: cannot initialize a variable of type 'const uint32_t' (aka 'const unsigned int') with an lvalue of type 'void (RsContext)'

	    const uint32_t cmdID = RS_CMD_ID_ContextDeinitToClient;

								   ^	   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:216:12: error: use of undeclared identifier 'rsi_TypeCreate'; did you mean 'rsTypeCreate'?

	    return rsi_TypeCreate((Context *)rsc, e, dimX, dimY, dimZ, mips, faces);

				   ^~~~~~~~~~~~~~

				   rsTypeCreate

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiFuncDecl.h:22:8: note: 'rsTypeCreate' declared here

RsType rsTypeCreate (RsContext rsc, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces);

		   ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:68:11: error: unknown type name 'RS_CMD_AllocationIoSend'

	    const RS_CMD_AllocationIoSend *cmd = static_cast<const RS_CMD_AllocationIoSend *>(vp);

				  ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.cpp:222:28: error: use of undeclared identifier 'RS_CMD_ID_TypeCreate'

	    const uint32_t cmdID = RS_CMD_ID_TypeCreate;

												   ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:68:60: error: unknown type name 'RS_CMD_AllocationIoSend'

	    const RS_CMD_AllocationIoSend *cmd = static_cast<const RS_CMD_AllocationIoSend *>(vp);

																												   ^

fatal error: too many errors emitted, stopping now [-ferror-limit]

make: *** [/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsScriptC_Lib.o] Error 1

make: *** Waiting for unfinished jobs....

make: *** [/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsScriptC_LibGL.o] Error 1

make: *** [/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsThreadIO.o] Error 1

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:74:11: error: unknown type name 'RS_CMD_AllocationIoReceive'

	    const RS_CMD_AllocationIoReceive *cmd = static_cast<const RS_CMD_AllocationIoReceive *>(vp);

				  ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:74:63: error: unknown type name 'RS_CMD_AllocationIoReceive'

	    const RS_CMD_AllocationIoReceive *cmd = static_cast<const RS_CMD_AllocationIoReceive *>(vp);

																														  ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:80:11: error: unknown type name 'RS_CMD_ContextFinish'

	    const RS_CMD_ContextFinish *cmd = static_cast<const RS_CMD_ContextFinish *>(vp);

				  ^

20 errors generated.

make: *** [/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApi.o] Error 1

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:80:57: error: unknown type name 'RS_CMD_ContextFinish'

	    const RS_CMD_ContextFinish *cmd = static_cast<const RS_CMD_ContextFinish *>(vp);

																											    ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:81:5: error: use of undeclared identifier 'rsi_ContextFinish'; did you mean 'rsContextFinish'?

	    rsi_ContextFinish(con);

	    ^~~~~~~~~~~~~~~~~

	    rsContextFinish

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiFuncDecl.h:31:6: note: 'rsContextFinish' declared here

void rsContextFinish (RsContext rsc);

		 ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:86:11: error: unknown type name 'RS_CMD_ContextBindRootScript'

	    const RS_CMD_ContextBindRootScript *cmd = static_cast<const RS_CMD_ContextBindRootScript *>(vp);

				  ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:86:65: error: unknown type name 'RS_CMD_ContextBindRootScript'

	    const RS_CMD_ContextBindRootScript *cmd = static_cast<const RS_CMD_ContextBindRootScript *>(vp);

																															    ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:92:11: error: unknown type name 'RS_CMD_ContextBindProgramStore'

	    const RS_CMD_ContextBindProgramStore *cmd = static_cast<const RS_CMD_ContextBindProgramStore *>(vp);

				  ^

/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.cpp:92:67: error: unknown type name 'RS_CMD_ContextBindProgramStore'

	    const RS_CMD_ContextBindProgramStore *cmd = static_cast<const RS_CMD_ContextBindProgramStore *>(vp);

																																  ^

fatal error: too many errors emitted, stopping now [-ferror-limit]

20 errors generated.

make: *** [/home/alex/CM10.1/android/system/out/target/product/swing/obj/SHARED_LIBRARIES/libRS_intermediates/rsgApiReplay.o] Error 1

Can someone help me with this?

Thanks!

0

Share this post


Link to post
Share on other sites

Posted · Report post

I can't help you but Vache and davidevinavil both tried to build CM10.1. They have been unable to make it work so far and they are quite experienced with this, Vache probably being the most prolific dev on Acer devices :D

That's why they both focused on CM10 so far.

I guess their biggest issue was that although they could compile a ROM, it would boot but without display...

0

Share this post


Link to post
Share on other sites

Posted · Report post

display is because of kernel

kernel needs to have updated display drivers and moddifying/porting them is hard

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have a compiling 10.1....but unfortunately it is of no real help for now, as it bootloop with its native kernel, and hang on boot with the CM10 kernel compiled by davi. At this point, I am not exactly sure how to build a booting kernel for CM10 (using the one provided by davi works though) and that's the point I'd like to understand before going further with CM10.1. The change I had to make to get CM10.1 to compile were not too big, mostly I took the CM10 device tree, de-activated FM and change a few things mainly related to camera interface (so I did not expect camera to work), but hoped to have a booting CM10.1.

0

Share this post


Link to post
Share on other sites

Posted · Report post

can you take logcat of the non booting rom >?

maybe egl or hgl is confronting as for cm10;1 to boot we need to fix display drivers

0

Share this post


Link to post
Share on other sites

Posted · Report post

can you take logcat of the non booting rom >?

maybe egl or hgl is confronting as for cm10;1 to boot we need to fix display drivers

yeah I will try that this WE, first I will sync my 10.1 with the repos and recompile it (should be ok, I did it many times already and only once did it break the compilation - fixed in the next commits). Not sure if there will be time for a logcat though, seems to bootloop quite early so I expect ADB service is not launched yet. A dmesg would be nice, but I do not know how to extract it from the device without having ADB access...

0

Share this post


Link to post
Share on other sites

Posted · Report post

Be sure to enable ADB in the build.prop

And yes, hope your Kernel boot, ADB starts after the Kernel

Or you can try to add some shell script in init.d / init.rc to dump dmesg in /sdcard/ for example

0

Share this post


Link to post
Share on other sites

Posted · Report post

gkai can you upload your cm10.1 build ?

0

Share this post


Link to post
Share on other sites

Posted · Report post

gkai can you upload your cm10.1 build ?

Here it is:

https://docs.google.com/file/d/0BypB1uTnFV4PV24wMHBRbVBTM3c/edit?usp=sharing

https://docs.google.com/file/d/0BypB1uTnFV4PVk9HeXZZUURUOFE/edit?usp=sharing

md5sum and .zip...

repo synced just 20 minutes ago and recompiled, but not tested....I would be very surprised if it does not bootloop, but it compile without error ;-)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can you share your device tree?

0

Share this post


Link to post
Share on other sites

Posted · Report post

@gkai Bootloop on your cm10.1 build:)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

@gkai Bootloop on your cm10.1 build:)

Android system is boot up or just kernel?

Any logcat or dmesg?

Edited by davidevinavil
0

Share this post


Link to post
Share on other sites

Posted · Report post

I power on the device .. and i have acer Logo then..it shuts down ..and it power on after 2 3 sec..and again and again the same

0

Share this post


Link to post
Share on other sites

Posted · Report post

its kernel problem

use cm10 boot.img

i will try to boot tonight ;)

i think i know what to do as it seems like same prob as on myold device

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

soinfo_relocate(linker.cpp:1013): cannot locate symbol "__memmove_chk" referenced by "/system/bin/sh"...CANNOT LINK EXECUTABLE

this is what i could get from adb logcat...

only this

i used CM10 boot.img

and moddified updater.script

it stays at bootlogo

sh file indeed doesnt exist

also when i added sh in bin or xbin i tried both and also together

i get exact same error

Edited by Spacecaker
0

Share this post


Link to post
Share on other sites

Posted · Report post

about the linker.cpp on cm10 i could only find one

in external/mesa3d/src/glsl

maybe we need to modify line 1013 to be read properly from our device

will synch cm10.1 ;)

and try myself

can u give me link to ur device configs ? thank u

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Looks like because compiled libc.so is overwrited by the one in our vendor/device tree (Acer one). You may try to use libc.so from another cm10.1 ROM or don't use the Acer one.

Edited by vache
0

Share this post


Link to post
Share on other sites

Posted · Report post

Looks like because compiled libc.so is overwrited by the one in our vendor/device tree (Acer one). You may try to use libc.so from another cm10.1 ROM or don't use the Acer one.

Thanks Vache, I will (try to) try that ;)

How do you want I share my device tree? patch? share the whole directory on my gdrive?

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

It could be better using Github ;)

Edited by vache
0

Share this post


Link to post
Share on other sites

Posted · Report post

It could be better using Github ;)

Indeed...but, in addition to being a complete noob using git (I know just enough to clone repositories, I don't know how to commit anything, don't even know how to do a diff...), wouldn't comiting something that do not even boot be a little bit wrong? ;-) Anyway, if creating a new github or commiting my change into your device tree/ vendor tree is the way to go, is there a link where I can learn how to do it?

Thanks!

1

Share this post


Link to post
Share on other sites

Posted · Report post

Github website have a really good wiki. ;)

Of course, you can just upload your device tree somewhere then i'll make a new branch for CM10.1.

1

Share this post


Link to post
Share on other sites

Posted · Report post

I can help testing your builds in -1 CPU type! Just give me PM and i will test it!

Good luck with developing and let's hope you'll bring cm10.1 on our acer.

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Better after using default CM10.1 libc.so, but now still have same graphic bootloop issue.

Logcat : http://pastebin.com/cAQuVHXC

dmesg : http://pastebin.com/3Dc7nybL

i think that we might be able to boot it if we modify framebuffer in kernel

Edited by Spacecaker
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.