Hi guys, I'm building Boot2Gecko (which uses the ICS kernel) and I'm running into an error with wpa_supplicant.
Here is my error
Code:
target thumb C: wpa_supplicant <= external/wpa_supplicant_8/wpa_supplicant/src/drivers/rfkill.c
target thumb C: wpa_supplicant <= external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_wext.c
target thumb C: wpa_supplicant <= external/wpa_supplicant_8/wpa_supplicant/src/drivers/drivers.c
target thumb C: wpa_supplicant <= external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/l2_packet_linux.c
[color=red]make: *** No rule to make target `out/target/product/vivow/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `out/target/product/vivow/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.
[/color]
Do you guys know what may fix this? I have searched a lot, and there are no answers for this so far..
Thanks
quick bump, I'm still getting this error
Solution
ens1 said:
quick bump, I'm still getting this error
Click to expand...
Click to collapse
find solution here -
http://forum.xda-developers.com/showthread.php?p=32707158#post32707158
Hi,
My apologies if this is in completely the wrong place.
I'm trying to setup OS X 10.10 to build Cyanogenmod 12 on my mac. I've read a number of tutorials on this and none seem to work fully.
They either say to use Macports or Homebrew of which I've tried both. Some say to use X-Code 5 but the latest version of Yosemite I'm using says that it can't us those command line tools because they are outdated and says to use v6 which I have also tried.
I'm quite used to building it in Ubuntu but OS X I'm falling flat on my face every time!
The only error I see overtime is about Darwen being unrecognised HOST OS, so I don't know if thats the reason or not.
Another one that is coming up is make:
*** No rule to make target `/Volumes/Builds/cm12/out/host/darwin-x86/bin/make_f2fs', needed by `/Volumes/Builds/cm12/out/target/product/otter2/obj/PACKAGING/systemimage_intermediates/system.img'. Stop.
Is this something I can fix easily?
Can anybody help me get it setup to build on Mac please?
Thanks in advance!
CelticWebSolutions said:
Hi,
My apologies if this is in completely the wrong place.
I'm trying to setup OS X 10.10 to build Cyanogenmod 12 on my mac. I've read a number of tutorials on this and none seem to work fully.
They either say to use Macports or Homebrew of which I've tried both. Some say to use X-Code 5 but the latest version of Yosemite I'm using says that it can't us those command line tools because they are outdated and says to use v6 which I have also tried.
I'm quite used to building it in Ubuntu but OS X I'm falling flat on my face every time!
The only error I see overtime is about Darwen being unrecognised HOST OS, so I don't know if thats the reason or not.
Another one that is coming up is make:
*** No rule to make target `/Volumes/Builds/cm12/out/host/darwin-x86/bin/make_f2fs', needed by `/Volumes/Builds/cm12/out/target/product/otter2/obj/PACKAGING/systemimage_intermediates/system.img'. Stop.
Is this something I can fix easily?
Can anybody help me get it setup to build on Mac please?
Thanks in advance!
Click to expand...
Click to collapse
Figuring you already got a fix for this.
Nope, I never got it to complete a build so gave up in the end. I must have been missing something but couldn't work out what unfortunately
CelticWebSolutions said:
Nope, I never got it to complete a build so gave up in the end. I must have been missing something but couldn't work out what unfortunately
Click to expand...
Click to collapse
Here is the guide
https://github.com/PAC-man/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildMac.md
Thanks. I tried that (changing the repo to cm12) and still had the errors above. Seems it thought something was missing. My Ubuntu builds perfectly for cm12 but not on my Mac.
K lemme help. Got it to compile after sleepless nights and days. Is it cm your trying to build. For some reason I wasn't notified that you replied. Sorry for the delay. And for what device.
Thank you
I was attempting to build for tate (amazon HD7) at the time I think.
CelticWebSolutions said:
Thank you
I was attempting to build for tate (amazon HD7) at the time I think.
Click to expand...
Click to collapse
I see there are a few linux commits on the device trees for that device but first make clean and remove this pesky commit
TARGET_USERIMAGES_USE_F2FS := true
or add these around it.
ifeq ($(HOST_OS),linux)
TARGET_USERIMAGES_USE_F2FS := true
else
TARGET_USERIMAGES_USE_F2FS := false
endif
remove it from https://github.com/CyanogenMod/android_device_amazon_omap4-common/blob/cm-12.1/BoardConfigCommon.mk line 54.
Took me a while to figure that after removing it from every thing else trying to figure out why this thing trying to build for f2fs still.
also remove them from cm vendor repo here on line 173, 174, 175.
mkfs.f2fs \
fsck.f2fs \
fibmap.f2fs \
or add this
ifeq ($(HOST_OS),linux)
mkfs.f2fs \
fsck.f2fs \
fibmap.f2fs \
endif
https://github.com/CyanogenMod/android_vendor_cm/blob/cm-12.1/config/common.mk
Thanks. I'll have a go and see how I get on
CelticWebSolutions said:
Thanks. I'll have a go and see how I get on
Click to expand...
Click to collapse
Did you get Mac build working?
I'm having similar issue with CM12.1 I can get the build to image creation phase by removing make_f2fs as instructed in this thread, but I get this fail:
creating userdata.img...
Running: mkf2fsuserimg.sh /var/folders/pm/2vml83q901336s1mvbg5cp280000gn/T/tmpk5_WwO 5912772608
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 366, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 360, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 329, in AddImagesToTargetFiles
AddUserdata(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 184, in AddUserdata
succ = build_image.BuildImage(user_dir, image_props, img.name)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 289, in BuildImage
exit_code = RunCommand(build_command)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 42, in RunCommand
p = subprocess.Popen(cmd)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip] Error 1
make: *** Deleting file `/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip'
kokkonenfi said:
Did you get Mac build working?
I'm having similar issue with CM12.1 I can get the build to image creation phase by removing make_f2fs as instructed in this thread, but I get this fail:
creating userdata.img...
Running: mkf2fsuserimg.sh /var/folders/pm/2vml83q901336s1mvbg5cp280000gn/T/tmpk5_WwO 5912772608
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 366, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 360, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 329, in AddImagesToTargetFiles
AddUserdata(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 184, in AddUserdata
succ = build_image.BuildImage(user_dir, image_props, img.name)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 289, in BuildImage
exit_code = RunCommand(build_command)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 42, in RunCommand
p = subprocess.Popen(cmd)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip] Error 1
make: *** Deleting file `/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip'
Click to expand...
Click to collapse
can you send the links to your build, kernel and device tree please. I know how to work around this.
alvin14 said:
can you send the links to your build, kernel and device tree please. I know how to work around this.
Click to expand...
Click to collapse
I'm using this guide to setup mac:
droidforums -> guide-how-to-build-cyanogenmod-on-osx-yosemite.275799/
JDK 1.7 instead of 1.6 (as in comments)
then building titan following this guide:
wiki.cyanogenmod.org -> Build_for_titan
(sorry, cannot post links yet)
I commented mkfs.f2fs \ fsck.f2fs \ fibmap.f2fs \ out from vendor/cm/config/common.mk
and commented out TARGET_USERIMAGES_USE_F2FS := true in Common.mk
I also had to
export CC=/Applications/Xcode-2.app/Contents/Developer/usr/bin/gcc
kokkonenfi said:
I'm using this guide to setup mac:
droidforums -> guide-how-to-build-cyanogenmod-on-osx-yosemite.275799/
JDK 1.7 instead of 1.6 (as in comments)
then building titan following this guide:
wiki.cyanogenmod.org -> Build_for_titan
(sorry, cannot post links yet)
I commented mkfs.f2fs \ fsck.f2fs \ fibmap.f2fs \ out from vendor/cm/config/common.mk
and commented out TARGET_USERIMAGES_USE_F2FS := true in Common.mk
I also had to
export CC=/Applications/Xcode-2.app/Contents/Developer/usr/bin/gcc
Click to expand...
Click to collapse
Disable these F2FS lines on your kernel config for the correct fix
# CONFIG_F2FS_FS is not set
# CONFIG_F2FS_STAT_FS is not set
# CONFIG_F2FS_FS_XATTR is not set
# CONFIG_F2FS_FS_POSIX_ACL is not set
# CONFIG_F2FS_FS_SECURITY is not set
# CONFIG_F2FS_CHECK_FS is not set
you should have a successful build now, since i am unable to see the repos, a f2fs method completely would be to remove this from build/core/Makefile
$(HOST_OUT_EXECUTABLES)/mkf2fsuserimg.sh \
$(HOST_OUT_EXECUTABLES)/make_f2fs \
CM added the correct patch for this a few days ago.
Thanks, I'll try this.
kokkonenfi said:
Thanks, I'll try this.
Click to expand...
Click to collapse
I got latest CM12.1 sources, build is otherwise ok, but fails on image creation.
make: *** No rule to make target `/Volumes/CM/out/host/darwin-x86/bin/make_f2fs', needed by `/Volumes/CM/out/target/product/titan/obj/PACKAGING/systemimage_intermediates/system.img'. Stop.
Seems that for Moto G (titan) make_f2fs is needed, I might be out of luck here. I guess I must compile on linux until make_f2fs compiles on Mac.
I don't think so. There is something else requesting f2fs. Scroll up and copy the log at least 50 lines before this let me have a look please. Sometimes may be more lines.
alvin14 said:
I don't think so. There is something else requesting f2fs. Scroll up and copy the log at least 50 lines before this let me have a look please. Sometimes may be more lines.
Click to expand...
Click to collapse
Thanks, I will post them tomorrow. Now I must go and grab a beer.
host C: libfdlibm <= external/fdlibm/s_nextafter.c
host C: libfdlibm <= external/fdlibm/s_rint.c
host C: libfdlibm <= external/fdlibm/s_scalbn.c
host C: libfdlibm <= external/fdlibm/s_signgam.c
host C: libfdlibm <= external/fdlibm/s_significand.c
external/fdlibm/s_scalbn.c: In function 'ieee_scalbn':
external/fdlibm/s_scalbn.c:56: warning: suggest explicit braces to avoid ambiguous 'else'
host C: libfdlibm <= external/fdlibm/s_sin.c
host C: libfdlibm <= external/fdlibm/s_tan.c
host C: libfdlibm <= external/fdlibm/s_tanh.c
Import includes file: /Volumes/CM/out/target/product/titan/obj/EXECUTABLES/backtrace_test_intermediates/import_includes
target thumb C++: libgtest <= external/gtest/src/gtest-all.cc
target thumb C++: libgtest_main <= external/gtest/src/gtest_main.cc
Import includes file: /Volumes/CM/out/host/darwin-x86/obj32/EXECUTABLES/e2fsck_host_intermediates/import_includes
Import includes file: /Volumes/CM/out/host/darwin-x86/obj32/SHARED_LIBRARIES/libext2_blkid_host_intermediates/import_includes
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/clear.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/compare.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/copy.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/gen_uuid.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/isnull.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/pack.c
external/e2fsprogs/lib/uuid/gen_uuid.c: In function 'get_node_id':
external/e2fsprogs/lib/uuid/gen_uuid.c:224: warning: unused parameter 'node_id'
external/e2fsprogs/lib/uuid/gen_uuid.c: In function 'get_uuid_via_daemon':
external/e2fsprogs/lib/uuid/gen_uuid.c:480: warning: unused parameter 'op'
external/e2fsprogs/lib/uuid/gen_uuid.c:480: warning: unused parameter 'out'
external/e2fsprogs/lib/uuid/gen_uuid.c:480: warning: unused parameter 'num'
external/e2fsprogs/lib/uuid/gen_uuid.c: At top level:
external/e2fsprogs/lib/uuid/gen_uuid.c:424: warning: 'read_all' defined but not used
external/e2fsprogs/lib/uuid/gen_uuid.c:451: warning: 'close_all_fds' defined but not used
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/parse.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/unpack.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/unparse.c
host C: libext2_uuid_host_32 <= external/e2fsprogs/lib/uuid/uuid_time.c
host C: libext2_com_err_host_32 <= external/e2fsprogs/lib/et/error_message.c
host C: libext2_com_err_host_32 <= external/e2fsprogs/lib/et/et_name.c
host C: libext2_com_err_host_32 <= external/e2fsprogs/lib/et/init_et.c
host C: libext2_com_err_host_32 <= external/e2fsprogs/lib/et/com_err.c
host C: libext2_com_err_host_32 <= external/e2fsprogs/lib/et/com_right.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/feature.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/fgetflags.c
external/e2fsprogs/lib/e2p/fgetflags.c:19:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/fsetflags.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/fgetversion.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/fsetversion.c
external/e2fsprogs/lib/e2p/fsetflags.c:19:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/getflags.c
external/e2fsprogs/lib/e2p/fgetversion.c:19:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
external/e2fsprogs/lib/e2p/fsetversion.c:19:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/getversion.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/hashstr.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/iod.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/ls.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/mntopts.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/parse_num.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/pe.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/pf.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/ps.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/setflags.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/setversion.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/uuid.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/ostype.c
host C: libext2_e2p_host_32 <= external/e2fsprogs/lib/e2p/percent.c
host C: libext2_profile_host_32 <= external/e2fsprogs/e2fsck/prof_err.c
host C: libext2_profile_host_32 <= external/e2fsprogs/e2fsck/profile.c
Import includes file: /Volumes/CM/out/host/darwin-x86/obj32/SHARED_LIBRARIES/libext2_quota_host_intermediates/import_includes
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/ext2_err.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/alloc.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/alloc_sb.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/alloc_stats.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/alloc_tables.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/badblocks.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/bb_inode.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/bitmaps.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/bitops.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/blkmap64_ba.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/blkmap64_rb.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/blknum.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/block.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/bmap.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/check_desc.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/crc16.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/csum.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/closefs.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dblist.c
external/e2fsprogs/lib/ext2fs/csum.c: In function 'ext2fs_group_desc_csum':
external/e2fsprogs/lib/ext2fs/csum.c:37: warning: unused variable 'offset'
external/e2fsprogs/lib/ext2fs/csum.c:38: warning: 'crc' may be used uninitialized in this function
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dblist_dir.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dirblock.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dirhash.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dir_iterate.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/dupfs.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/expanddir.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/ext_attr.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/extent.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/fileio.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/finddev.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/flushb.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/freefs.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/gen_bitmap.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/gen_bitmap64.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/get_pathname.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/getsize.c
external/e2fsprogs/lib/ext2fs/getsize.c:15:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/getsectsize.c
external/e2fsprogs/lib/ext2fs/getsectsize.c:13:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/i_block.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/icount.c
external/e2fsprogs/lib/ext2fs/getsectsize.c: In function 'ext2fs_get_dio_alignment':
external/e2fsprogs/lib/ext2fs/getsectsize.c:66: warning: unused parameter 'fd'
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/ind_block.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/initialize.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/inline.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/inode.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/io_manager.c
external/e2fsprogs/lib/ext2fs/inline.c: In function 'ext2fs_get_memalign':
external/e2fsprogs/lib/ext2fs/inline.c:47: warning: unused variable 'retval'
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/ismounted.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/link.c
external/e2fsprogs/lib/ext2fs/ismounted.c: In function 'check_loop_mounted':
external/e2fsprogs/lib/ext2fs/ismounted.c:49: warning: unused parameter 'mnt_fsname'
external/e2fsprogs/lib/ext2fs/ismounted.c:49: warning: unused parameter 'mnt_rdev'
external/e2fsprogs/lib/ext2fs/ismounted.c:50: warning: unused parameter 'file_dev'
external/e2fsprogs/lib/ext2fs/ismounted.c:50: warning: unused parameter 'file_ino'
external/e2fsprogs/lib/ext2fs/ismounted.c:365:3: warning: #warning "Can't use getmntent or getmntinfo to check for mounted filesystems!"
external/e2fsprogs/lib/ext2fs/ismounted.c: At top level:
external/e2fsprogs/lib/ext2fs/ismounted.c:51: warning: 'check_loop_mounted' defined but not used
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/llseek.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/lookup.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/mmp.c
external/e2fsprogs/lib/ext2fs/llseek.c:12:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/mkdir.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/mkjournal.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/native.c
external/e2fsprogs/lib/ext2fs/mmp.c: In function 'ext2fs_mmp_read':
external/e2fsprogs/lib/ext2fs/mmp.c:71: warning: comparison between signed and unsigned
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/newdir.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/openfs.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/progress.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/punch.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/rbtree.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/read_bb.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/read_bb_file.c
external/e2fsprogs/lib/ext2fs/punch.c: In function 'punch_extent_blocks':
external/e2fsprogs/lib/ext2fs/punch.c:222: warning: comparison between signed and unsigned
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/res_gdt.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/rw_bitmaps.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/swapfs.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/tdb.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/undo_io.c
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/unix_io.c
external/e2fsprogs/lib/ext2fs/undo_io.c:14:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/unlink.c
external/e2fsprogs/lib/ext2fs/tdb.c: In function '_tdb_lock':
external/e2fsprogs/lib/ext2fs/tdb.c:411: warning: comparison between signed and unsigned
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'tdb_unlock':
external/e2fsprogs/lib/ext2fs/tdb.c:506: warning: comparison between signed and unsigned
external/e2fsprogs/lib/ext2fs/tdb.c: In function '_tdb_lockall':
external/e2fsprogs/lib/ext2fs/tdb.c:627: warning: comparison between signed and unsigned
external/e2fsprogs/lib/ext2fs/tdb.c: In function '_tdb_unlockall':
external/e2fsprogs/lib/ext2fs/tdb.c:671: warning: comparison between signed and unsigned
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/valid_blk.c
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'transaction_oob':
external/e2fsprogs/lib/ext2fs/tdb.c:1535: warning: unused parameter 'probe'
external/e2fsprogs/lib/ext2fs/unix_io.c:18:1: warning: "_LARGEFILE_SOURCE" redefined
In file included from <command-line>:0:
./build/core/combo/include/arch/darwin-x86/AndroidConfig.h:146:1: warning: this is the location of the previous definition
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'transaction_brlock':
external/e2fsprogs/lib/ext2fs/tdb.c:1561: warning: unused parameter 'tdb'
external/e2fsprogs/lib/ext2fs/tdb.c:1561: warning: unused parameter 'offset'
external/e2fsprogs/lib/ext2fs/tdb.c:1562: warning: unused parameter 'rw_type'
external/e2fsprogs/lib/ext2fs/tdb.c:1562: warning: unused parameter 'lck_type'
external/e2fsprogs/lib/ext2fs/tdb.c:1562: warning: unused parameter 'probe'
external/e2fsprogs/lib/ext2fs/tdb.c:1562: warning: unused parameter 'len'
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'transaction_sync':
external/e2fsprogs/lib/ext2fs/tdb.c:1743: warning: unused parameter 'offset'
external/e2fsprogs/lib/ext2fs/tdb.c:1743: warning: unused parameter 'length'
external/e2fsprogs/lib/ext2fs/undo_io.c:105: warning: missing initializer
external/e2fsprogs/lib/ext2fs/undo_io.c:105: warning: (near initialization for 'struct_undo_manager.discard')
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'ext2fs_tdb_dump_all':
external/e2fsprogs/lib/ext2fs/tdb.c:3004: warning: comparison between signed and unsigned
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'tdb_key_compare':
external/e2fsprogs/lib/ext2fs/tdb.c:3097: warning: unused parameter 'private_data'
external/e2fsprogs/lib/ext2fs/tdb.c: In function 'null_log_fn':
external/e2fsprogs/lib/ext2fs/tdb.c:3801: warning: unused parameter 'tdb'
external/e2fsprogs/lib/ext2fs/tdb.c:3801: warning: unused parameter 'level'
external/e2fsprogs/lib/ext2fs/tdb.c:3801: warning: unused parameter 'fmt'
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/version.c
external/e2fsprogs/lib/ext2fs/unix_io.c:137: warning: missing initializer
external/e2fsprogs/lib/ext2fs/unix_io.c:137: warning: (near initialization for 'struct_unix_manager.reserved')
external/e2fsprogs/lib/ext2fs/unix_io.c: In function 'unix_discard':
external/e2fsprogs/lib/ext2fs/unix_io.c:921: warning: unused parameter 'block'
external/e2fsprogs/lib/ext2fs/unix_io.c:922: warning: unused parameter 'count'
make: *** No rule to make target `/Volumes/CM/out/host/darwin-x86/bin/make_f2fs', needed by `/Volumes/CM/out/target/product/titan/obj/PACKAGING/systemimage_intermediates/system.img'. Stop.
make: *** Waiting for unfinished jobs....
host C: libext2fs_host_32 <= external/e2fsprogs/lib/ext2fs/test_io.c
external/e2fsprogs/lib/ext2fs/test_io.c:100: warning: missing initializer
external/e2fsprogs/lib/ext2fs/test_io.c:100: warning: (near initialization for 'struct_test_manager.reserved')
#### make failed to build some targets (15:40 (mm:ss)) ####
kokkonenfi said:
Did you get Mac build working?
I'm having similar issue with CM12.1 I can get the build to image creation phase by removing make_f2fs as instructed in this thread, but I get this fail:
creating userdata.img...
Running: mkf2fsuserimg.sh /var/folders/pm/2vml83q901336s1mvbg5cp280000gn/T/tmpk5_WwO 5912772608
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 366, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 360, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 329, in AddImagesToTargetFiles
AddUserdata(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 184, in AddUserdata
succ = build_image.BuildImage(user_dir, image_props, img.name)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 289, in BuildImage
exit_code = RunCommand(build_command)
File "/Volumes/CM/build/tools/releasetools/build_image.py", line 42, in RunCommand
p = subprocess.Popen(cmd)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip] Error 1
make: *** Deleting file `/Volumes/CM/out/target/product/titan/obj/PACKAGING/target_files_intermediates/cm_titan-target_files-09273b06d0.zip'
Click to expand...
Click to collapse
Got the same error for moto g (falcon)
alvin14 said:
Disable these F2FS lines on your kernel config for the correct fix
# CONFIG_F2FS_FS is not set
# CONFIG_F2FS_STAT_FS is not set
# CONFIG_F2FS_FS_XATTR is not set
# CONFIG_F2FS_FS_POSIX_ACL is not set
# CONFIG_F2FS_FS_SECURITY is not set
# CONFIG_F2FS_CHECK_FS is not set
you should have a successful build now, since i am unable to see the repos, a f2fs method completely would be to remove this from build/core/Makefile
$(HOST_OUT_EXECUTABLES)/mkf2fsuserimg.sh \
$(HOST_OUT_EXECUTABLES)/make_f2fs \
CM added the correct patch for this a few days ago.
Click to expand...
Click to collapse
How can I change the kernel config without going through the whole "make config" process? It looks like "make menuconfig" doesn't work on os x because of missing ncurses