AOKP kitkat - Nexus 4 Q&A, Help & Troubleshooting

Ran into some errors while compiling from AOKP for mako. I'm on linux mint 16 just in case needed
is it regarding the proprietary files ?? i did not extract any of those and will those files be included in my source tree while syncing ??
Fetching projects is 100% success and Sync tree is 100% done. No errors while sync process.
One more question-- Will the compilation process resumes ?? I have a slow system and i was compiling since 2 hours and got these errors.
Can anyone help me plz :crying::crying:
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:122: error: undefined reference to 'GATTS_AddHandleRange'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:129: error: undefined reference to 'GATTS_NVRegister'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:157: error: undefined reference to 'GATT_Deregister'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:225: error: undefined reference to 'GATT_Register'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:271: error: undefined reference to 'GATT_StartIf'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:350: error: undefined reference to 'GATTS_CreateService'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:404: error: undefined reference to 'GATTS_AddIncludeService'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:438: error: undefined reference to 'GATTS_AddCharacteristic'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:476: error: undefined reference to 'GATTS_AddCharDescriptor'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:517: error: undefined reference to 'GATTS_DeleteService'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:550: error: undefined reference to 'GATTS_StartService'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:580: error: undefined reference to 'GATTS_StopService'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:602: error: undefined reference to 'GATTS_SendRsp'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:640: error: undefined reference to 'GATTS_HandleValueIndication'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:645: error: undefined reference to 'GATTS_HandleValueNotification'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:694: error: undefined reference to 'GATT_Connect'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:724: error: undefined reference to 'GATT_CancelConnect'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:759: error: undefined reference to 'GATT_Disconnect'
external/bluetooth/bluedroid/bta/./gatt/bta_gatts_act.c:806: error: undefined reference to 'GATT_Listen'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:230: error: undefined reference to 'BTM_AllocateSCN'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:287: error: undefined reference to 'BTM_FreeSCN'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:288: error: undefined reference to 'BTM_SecClrService'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:350: error: undefined reference to 'SDP_FindProtocolListElemInRec'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:361: error: undefined reference to 'SDP_FindProfileVersionInRec'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:366: error: undefined reference to 'SDP_FindAttributeInRec'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:462: error: undefined reference to 'SDP_InitDiscoveryDb'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sdp.c:469: error: undefined reference to 'SDP_ServiceSearchAttributeRequest'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:296: error: undefined reference to 'BTM_RemoveSco'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:486: error: undefined reference to 'BTM_SetEScoMode'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:514: error: undefined reference to 'BTM_SetEScoMode'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:576: error: undefined reference to 'BTM_CreateSco'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:583: error: undefined reference to 'BTM_RegForEScoEvts'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:147: error: undefined reference to 'BTM_ReadScoBdAddr'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:167: error: undefined reference to 'BTM_RemoveSco'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:1568: error: undefined reference to 'BTM_EScoConnRsp'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:337: error: undefined reference to 'BTM_ReadScoBdAddr'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:373: error: undefined reference to 'BTM_EScoConnRsp'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:1471: error: undefined reference to 'bta_sys_sco_close'
external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c:1409: error: undefined reference to 'bta_sys_sco_open'
collect2: error: ld returned 1 exit status
make: *** [/home/aviz/aokp/out/target/product/mako/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/LINKED/bluetooth.default.so] Error 1
Click to expand...
Click to collapse

No you need to get the propritary files from the google development site or pull them from your device. Each time you will have to start the build over again.

zelendel said:
No you need to get the propritary files from the google development site or pull them from your device. Each time you will have to start the build over again.
Click to expand...
Click to collapse
Where should I put those files downloaded from Google site?? I mean path.
Sent from my Nexus 4 using Tapatalk

Follow the directions on the dev site. It will help you understand what your doing.
Wayne Tech Nexus

There is a proprietary folder in /vendor/lge/mako/ and 4 other files "BoardConfigPartial.mk, BoardConfigVendor.mk, device-partial.mk, mako-vendor.mk" and in /vendor/lge/mako/proprietary there are almost 180 files. Are these proprietary binaries for mako 4.4 ?? Or do i need to extract anything from my device ??

Follow what I said and go to the development page and read up. Compiling a ROM is not a simple matter
Wayne Tech Nexus
Not to mention that AOKP source is not complete yet so even if it builds it will not boot.

zelendel said:
Follow what I said and go to the development page and read up. Compiling a ROM is not a simple matter
Wayne Tech Nexus
Not to mention that AOKP source is not complete yet so even if it builds it will not boot.
Click to expand...
Click to collapse
Thanks mate. Sorry for bothering you , I'll follow the instructions.... have a kitkat
Sent from my Nexus 4 using Tapatalk

Related

Compile busybox from source

Hey, I am trying to compile busybox form source on 2.2.1, using Cyanogen's sources, but am getting linker errors.
I'm guessing that these sources may be for Gingerbread, is this true?
Also, will Android.mk realized that I have a .config in the directory?
Errors:
Code:
target Executable: busybox (out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/coreutils/date.o: In function `date_main':
/home/shawn/.android-sources/external/android_external_busybox/coreutils/date.c:192: undefined reference to `stime'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/networking/ntpd.o: In function `update_local_clock':
/home/shawn/.android-sources/external/android_external_busybox/networking/ntpd.c:1458: undefined reference to `adjtimex'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/procps/free.o: In function `free_main':
/home/shawn/.android-sources/external/android_external_busybox/procps/free.c:18: undefined reference to `sysinfo'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/procps/kill.o: In function `kill_main':
/home/shawn/.android-sources/external/android_external_busybox/procps/kill.c:128: undefined reference to `getsid'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/procps/pgrep.o: In function `pgrep_main':
/home/shawn/.android-sources/external/android_external_busybox/procps/pgrep.c:93: undefined reference to `getsid'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/procps/uptime.o: In function `uptime_main':
/home/shawn/.android-sources/external/android_external_busybox/procps/uptime.c:39: undefined reference to `sysinfo'
out/target/product/generic/obj/EXECUTABLES/busybox_intermediates/util-linux/swaponoff.o: In function `swap_enable_disable':
/home/shawn/.android-sources/external/android_external_busybox/util-linux/swaponoff.c:52: undefined reference to `swapon'
/home/shawn/.android-sources/external/android_external_busybox/util-linux/swaponoff.c:54: undefined reference to `swapoff'

problem with librpc.so while compile AOSP 2.2

Hello, I was compiling the sources of Android platform 2.2 for the HTC Desire.
After extract the files (./extract-files.sh) I follow the steps:
Code:
source build/envsetup.h
lunch full_bravo-eng
make otapackage
But after 20 minutes I got the following error:
Code:
# make otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=htc_bravo
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
No private recovery resources for TARGET_DEVICE bravo
Install: out/target/product/bravo/system/app/Mms.apk
target Executable: app_process (out/target/product/bravo/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process)
/root/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: librpc.so, needed by out/target/product/bravo/obj/lib/libgps.so, not found (try using -rpath or -rpath-link)
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xprt_register'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_create'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_quad_t'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_char'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_opaque'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_long'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_long'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_bool'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_int'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_systemerr'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_short'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_call'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_enum'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_free'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_char'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_freeargs'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_short'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_getargs'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_string'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_pointer'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_bytes'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_vector'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_noproc'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_sendreply'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_decode'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_array'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcrtr_create'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_void'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_destroy'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_quad_t'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_int'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_register'
collect2: ld returned 1 exit status
make: *** [out/target/product/bravo/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process] Error 1
As far I know the problem is with the librpc.so and the libgps.so, there are some steps previous to compile that I have to do?
Some workaround?
Thanks in advance,

Error when compile Froyo

Well, when i compile the Froyo I seen many errors (fixed now) but I don't know what to do at this error:
Code:
/home/pcfighter/repo2/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: libcommondefs.so, needed by out/target/product/swift/obj/lib/libloc-rpc.so, not found (try using -rpath or -rpath-link)
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_uint32'
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_int32'
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_uint8'
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_uint64'
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_boolean'
out/target/product/swift/obj/lib/libloc-rpc.so: undefined reference to `xdr_rpc_uint16'
collect2: ld returned 1 exit status
make: *** [out/target/product/swift/obj/EXECUTABLES/CameraServiceTest_intermediates/LINKED/CameraServiceTest] Error 1
Plese help
I fixed the problem by placing libcommondefs.so to /out/target/swift/obj/lib

[HELP] Compile Jelly Bean

Hi all
i just want compile Jelly Bean for my Galaxy Tab 7.7 P6800
and i stuck on this error
Code:
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function init_rfkill:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:58: error: undefined reference to 'LOGW'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function set_bluetooth_power:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:122: error: undefined reference to 'LOGE'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function set_bluetooth_power:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:128: error: undefined reference to 'LOGE'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function create_hci_sock:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:142: error: undefined reference to 'LOGE'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:149: error: undefined reference to 'LOGV'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:157: error: undefined reference to 'LOGI'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:163: error: undefined reference to 'LOGI'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:167: error: undefined reference to 'LOGI'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:169: error: undefined reference to 'LOGE'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:185: error: undefined reference to 'LOGW'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_enable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:202: error: undefined reference to 'LOGI'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_disable:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:217: error: undefined reference to 'LOGV'
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/../../../device/samsung/smdk4210-tab/bluetooth.o: in function bt_is_enabled:system/bluetooth/bluedroid/../../../device/samsung/smdk4210-tab/bluetooth.c:250: error: undefined reference to 'LOGV'
collect2: ld returned 1 exit status
make: *** [out/target/product/p6800/obj/SHARED_LIBRARIES/libbluedroid_intermediates/LINKED/libbluedroid.so] Error 1
Anyone can help me?I'll be very grateful
/home/neimovirne/cmcompiler/build/prebuilts/gcc/linux-x86
Click to expand...
Click to collapse
Are you using a 64bit Linux distro ?
See below.
You can hash out the bluetooth section in BoardConfigCommon.mk to see if it will build then.
Bluetooth will not work though, obviously.
https://github.com/alanorth/android_device_samsung_smdk4210-tab/blob/ics/BoardConfigCommon.mk#L83
XeKToReX
Androguide.fr said:
Are you using a 64bit Linux distro ?
Click to expand...
Click to collapse
ofcource, i use Ubuntu 10.4.4 x64
XeKToReX said:
See below.
You can hash out the bluetooth section in BoardConfigCommon.mk to see if it will build then.
Bluetooth will not work though, obviously.
https://github.com/alanorth/android_device_samsung_smdk4210-tab/blob/ics/BoardConfigCommon.mk#L83
XeKToReX
Click to expand...
Click to collapse
thx, I'll try your advice
so i stuck on new error
Code:
make: *** No rule to make target `out/target/product/p6800/obj/lib/libbluedroid.so', required for`out/target/product/p6800/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so'. Stop.

[REQ] Firefox OS on Xperia U

Hello guys
Can anyone help this devoloper for Firefox OS on Xperia U ? http://forum.xda-developers.com/showthread.php?t=2296751
Thanks
feherneoh said:
Please anyone who see this post and want to help in development or just want to get FirefoxOS running on STE devices (Xperia P, U, Sola, Go), join us in the thread linked by @gigitux
Click to expand...
Click to collapse
What is your problem for Xperia U ?
feherneoh said:
1: I don't have U
2: my PC is way too weak
3: I'm not an experienced dev
Last problem I can remember was a build error in libpng
Error was zlib related
Click to expand...
Click to collapse
Is there possibility that i compile Firefox OS, it's work ?
feherneoh said:
you can help if you have a strong PC
You will need Ubuntu running on it
Please head over to ROM thread
Click to expand...
Click to collapse
Yeah... i try with BBQLinux http://www.bbqlinux.org/
feherneoh said:
seems to be okay
Click to expand...
Click to collapse
I will compile firefox OS today. Just ends, i will try it and i will update this thread
UPDATE: I download source, but at repo sync i have this error:
Code:
fatal: unable to write new index file
Traceback (most recent call last):
File "/home/gigitux/B2G/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/gigitux/B2G/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/gigitux/B2G/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/gigitux/B2G/.repo/repo/subcmds/sync.py", line 630, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/gigitux/B2G/.repo/repo/project.py", line 1060, in Sync_LocalHalf
self._InitWorkTree()
File "/home/gigitux/B2G/.repo/repo/project.py", line 1991, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
Repo sync failed
I will try to compile the same
UPDATE 2: I resolve a this problem. I will continue to compile
Don't work
This is a output:
Code:
ERGEDIR=out/target/product/kumquat/obj/objdir-gecko/b2g/locales/merge-$LOCALE ; \
done && \
make -C out/target/product/kumquat/obj/objdir-gecko package && \
mkdir -p out/target/product/kumquat/obj/DATA/gecko_intermediates && cp out/target/product/kumquat/obj/objdir-gecko/dist/b2g-*.tar.gz out/target/product/kumquat/obj/DATA/gecko_intermediates/gecko
make -C gecko -f client.mk -s
Adding client.mk options from /home/gigitux/B2G/gonk-misc/default-gecko-config:
AUTOCLOBBER=1
MOZ_OBJDIR=/home/gigitux/B2G/out/target/product/kumquat/obj/objdir-gecko
MOZ_MAKE_FLAGS=-s -j16
/home/gigitux/B2G/gecko/client.mk:281: *** Could not find autoconf 2.13. Stop.
make[1]: *** [build] Error 2
make: *** [out/target/product/kumquat/obj/DATA/gecko_intermediates/gecko] Error 2
[[email protected] B2G]$
gigitux said:
Don't work
This is a output:
Code:
ERGEDIR=out/target/product/kumquat/obj/objdir-gecko/b2g/locales/merge-$LOCALE ; \
done && \
make -C out/target/product/kumquat/obj/objdir-gecko package && \
mkdir -p out/target/product/kumquat/obj/DATA/gecko_intermediates && cp out/target/product/kumquat/obj/objdir-gecko/dist/b2g-*.tar.gz out/target/product/kumquat/obj/DATA/gecko_intermediates/gecko
make -C gecko -f client.mk -s
Adding client.mk options from /home/gigitux/B2G/gonk-misc/default-gecko-config:
AUTOCLOBBER=1
MOZ_OBJDIR=/home/gigitux/B2G/out/target/product/kumquat/obj/objdir-gecko
MOZ_MAKE_FLAGS=-s -j16
/home/gigitux/B2G/gecko/client.mk:281: *** Could not find autoconf 2.13. Stop.
make[1]: *** [build] Error 2
make: *** [out/target/product/kumquat/obj/DATA/gecko_intermediates/gecko] Error 2
[[email protected] B2G]$
Click to expand...
Click to collapse
add the autoconf file
check the client.mk at line 218
Sent from my S500 using xda app-developers app
How do i add it?
Excuse me but I'm a noobie on compilation of Android
Sent from my ST25i using xda app-developers app
gigitux said:
How do i add it?
Excuse me but I'm a noobie on compilation of Android
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
can you upload client.mk?
i dont have firefox os synched at the moment
Sent from my S500 using xda app-developers app
It looks to me like you don't have all of the required toolchain installed. Take a look at the link below down the page where it says "Requirements for Linux" and lists all of the packages you need to have. I don't know how BBQLinux works so you'll have to translate what it does for Ubuntu-Fedora-Arch into whatever package manager you're using.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites
SpaceCaker said:
can you upload client.mk?
i dont have firefox os synched at the moment
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
This is client.mk http://www.mediafire.com/download/fy9r6urjw8mhpgo/client.mk
trwrt said:
It looks to me like you don't have all of the required toolchain installed. Take a look at the link below down the page where it says "Requirements for Linux" and lists all of the packages you need to have. I don't know how BBQLinux works so you'll have to translate what it does for Ubuntu-Fedora-Arch into whatever package manager you're using.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites
Click to expand...
Click to collapse
BBQLinux is Arch based
gigitux said:
This is client.mk http://www.mediafire.com/download/fy9r6urjw8mhpgo/client.mk
BBQLinux is Arch based
Click to expand...
Click to collapse
try a repo sync or launch ur device again
as it should be generated
trwrt said:
It looks to me like you don't have all of the required toolchain installed. Take a look at the link below down the page where it says "Requirements for Linux" and lists all of the packages you need to have. I don't know how BBQLinux works so you'll have to translate what it does for Ubuntu-Fedora-Arch into whatever package manager you're using.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites
Click to expand...
Click to collapse
SpaceCaker said:
can you upload client.mk?
i dont have firefox os synched at the moment
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Guys, I have a BIG problem:
An installed 64 bit GNU/Linux distribution (we recommend Ubuntu 12.04).
I'm on VirtualBox, becouse my distro is Fedora.
I transfer directory B2G form virtualbox to Fedora. Afer i will work on Fedora
feherneoh said:
then you can try their build-environment setup script. It will install required packages
Click to expand...
Click to collapse
Now i have transfered direcotry B2G from VirtualBox to Fedora. After i follow this instruction https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites and i try to compile Firefox OS
feherneoh said:
Use this to setup build environment
Click to expand...
Click to collapse
I don't understand. I follow this https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions/Linux_Prerequisites or this https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites
feherneoh said:
Seems to be the same, sorry. I sent the URL I saved when I started working on this ROM
Click to expand...
Click to collapse
Actually i'm transfering B2G from VB to Fedora. I will update this post :laugh:
I'm compiling it. I hope *_*
I have got this problem:
Code:
sh: gperf: command not found
calling gperf failed: 32512 at ./makeprop.pl line 140.
make: *** [out/target/product/kumquat/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h] Errore 25
I'm installing gperf
Stay tuned !
EDIT: Another problem :/
Code:
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(png.o): in function png_calculate_crc:external/libpng/png.c:239: error: undefined reference to 'crc32'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(png.o): in function png_reset_crc:external/libpng/png.c:213: error: undefined reference to 'crc32'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_process_IDAT_data:external/libpng/pngpread.c:874: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1405: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1408: error: undefined reference to 'inflateReset'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1466: error: undefined reference to 'inflateReset'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_destroy:external/libpng/pngread.c:1485: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_destroy_read_struct:external/libpng/pngread.c:1355: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_configure_decoder:external/libpng/pngread.c:963: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_configure_decoder:external/libpng/pngread.c:964: error: undefined reference to 'inflateCopy'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_row:external/libpng/pngread.c:769: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_build_index:external/libpng/pngread.c:1039: error: undefined reference to 'inflateCopy'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_init_3:external/libpng/pngread.c:333: error: undefined reference to 'inflateInit_'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_create_read_struct_2:external/libpng/pngread.c:164: error: undefined reference to 'inflateInit_'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngrutil.o): in function png_inflate:external/libpng/pngrutil.c:262: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngrutil.o): in function png_inflate:external/libpng/pngrutil.c:286: error: undefined reference to 'inflateReset'
collect2: ld returned 1 exit status
make: *** [out/target/product/kumquat/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Errore 1
Any fix ?
EDIT: i try with linaro now.
EDIT2: It's same.
You have got my problem, right @feherneoh ?
EDIT 3: It's work, I'm compiling...
Stay tuned!
I have same error. How do I fix libpng?
Sent from my Xperia U using xda app-developers app
feherneoh said:
Could you post the error message?
Click to expand...
Click to collapse
Code:
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(png.o): in function png_calculate_crc:external/libpng/png.c:239: error: undefined reference to 'crc32'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(png.o): in function png_reset_crc:external/libpng/png.c:213: error: undefined reference to 'crc32'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_process_IDAT_data:external/libpng/pngpread.c:874: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1405: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1408: error: undefined reference to 'inflateReset'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngpread.o): in function png_push_read_zTXt:external/libpng/pngpread.c:1466: error: undefined reference to 'inflateReset'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_destroy:external/libpng/pngread.c:1485: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_destroy_read_struct:external/libpng/pngread.c:1355: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_configure_decoder:external/libpng/pngread.c:963: error: undefined reference to 'inflateEnd'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_configure_decoder:external/libpng/pngread.c:964: error: undefined reference to 'inflateCopy'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_row:external/libpng/pngread.c:769: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_build_index:external/libpng/pngread.c:1039: error: undefined reference to 'inflateCopy'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_read_init_3:external/libpng/pngread.c:333: error: undefined reference to 'inflateInit_'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngread.o): in function png_create_read_struct_2:external/libpng/pngread.c:164: error: undefined reference to 'inflateInit_'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngrutil.o): in function png_inflate:external/libpng/pngrutil.c:262: error: undefined reference to 'inflate'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a(pngrutil.o): in function png_inflate:external/libpng/pngrutil.c:286: error: undefined reference to 'inflateReset'
collect2: ld returned 1 exit status
make: *** [out/target/product/kumquat/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Errore 1
Do you have zlib and zlib-devel packages installed? That's what it looks like to me.

Categories

Resources