I'm trying to compile 2.2 on the Samsung Moment. I get the following errors when it tries to compile libaudioflinger.so (as you can see), and I get the same error even if I try to copy in a precompiled one.
out/target/product/m900/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o: In function `android::AudioPolicyService::AudioPolicyService()':
AudioPolicyService.cpp.text._ZN7android18AudioPolicyServiceC1Ev+0x10a): undefined reference to `android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)'
out/target/product/m900/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o: In function `android::AudioPolicyService::AudioPolicyService()':
AudioPolicyService.cpp.text._ZN7android18AudioPolicyServiceC2Ev+0xfe): undefined reference to `android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)'
Same thing on Captivate
Checking API: checkapi-last
Checking API: checkapi-current
Install: out/host/linux-x86/bin/dx-tests
target SharedLib: libaudioflinger (out/target/product/captivate/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/LINKED/libaudioflinger.so)
out/target/product/captivate/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o: In function `android::AudioPolicyService::AudioPolicyService()':
AudioPolicyService.cpp.text._ZN7android18AudioPolicyServiceC1Ev+0x130): undefined reference to `android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)'
out/target/product/captivate/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o: In function `android::AudioPolicyService::AudioPolicyService()':
AudioPolicyService.cpp.text._ZN7android18AudioPolicyServiceC2Ev+0x124): undefined reference to `android::AudioPolicyManagerBase::AudioPolicyManagerBase(android::AudioPolicyClientInterface*)'
collect2: ld returned 1 exit status
make: *** [out/target/product/captivate/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/LINKED/libaudioflinger.so] Error 1
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'
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
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.
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