Kernel Compiling Error "make: secgetspf: No such file or directory" - Android Builders Collective

Hello, im trying to compile SM-T970 kernel but it returns error i searched through internet but i cant find any solution. Everything starts with "make: secgetspf: No such file or directory" error.
I think there is missing package. I found this https://github.com/b1ad3runn3r/drag-kernel-t975/issues/1#issuecomment-952635840 on github and I installed the packages that mentioned in issue.
but the error contiunes.
this is the output when i run "make clean"
make: secgetspf: No such file or directory
kperfmon_DUMMY="CONFIG_KPERFMON is off."
kperfmon_DUMMY="perflog.h file is missing."
cp: cannot stat './../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
drivers/net/wireless/broadcom/Makefile:13: CONFIG_BCM4389 =
drivers/net/wireless/broadcom/Makefile:14: CONFIG_BCM4375 =
make[4]: secgetspf: No such file or directory
drivers/sensors/vl53l5/Makefile:100: LOG_ENABLE=TRUE
drivers/sensors/vl53l5/Makefile:132: BUILD_TYPE=RELEASE
drivers/sensors/vl53l5/Makefile:183: LOG_ENABLE=TRUE
security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
CLEAN security/samsung/defex_lsm
Target not found

Related

[Q] Aptoide and aapt

Hello,
I try to install an aptoide server on archlinux. When I execute the generate.ph, i get the following error: "sh: ./aapt: No such file or directory".
The aapt file can be executed and is in the same directory as the generate.ph script. I follow the instructions of the aptoide's website and download the aapt file from there.
How can I solve this problem ?
try to copy
this aapt file in the same directory of .generate.ph

[Q] Dualbooting p-3110

I would need help with this http://forum.xda-developers.com/showthread.php?t=1866675
When i am trying to run dualboot-rom-convert script there comes this error
[email protected]:~$ /home/juho/Lataukset/dualboot-rom-convert/convert.sh cm.zip
Dualboot Rom Converter
Converts GT-P31xx Roms
to run from external
SD card and dualboot.
mkdir: cannot create directory `tmp/': File exists
cp: cannot stat `cm.zip': No such file or directory
Extracting boot image...
unzip: cannot find or open tmp/cm.zip-dualboot.zip, tmp/cm.zip-dualboot.zip.zip or tmp/cm.zip-dualboot.zip.ZIP.
mkdir: cannot create directory `tmp/unpack': File exists
Unpacking boot image...
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 13: ./unpackbootimg: No such file or directory
mkdir: cannot create directory `tmp/unpack/ramdisk': File exists
cpio: premature end of archive
Modifiying boot image...
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 18: init.espresso.rc: No such file or directory
mv: cannot stat `init.espresso.rc.t': No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 19: init.espresso.rc: No such file or directory
mv: cannot stat `init.espresso.rc.t': No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 20: init.espresso.rc: No such file or directory
mv: cannot stat `init.espresso.rc.t': No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 21: init.espresso.rc: No such file or directory
mv: cannot stat `init.espresso.rc.t': No such file or directory
Repacking boot image...
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 24: ./mkbootfs: No such file or directory
cat: tmp/unpack/boot.img-base: No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 25: ./mkbootimg: No such file or directory
cp: cannot stat `tmp/boot.img': No such file or directory
cp: cannot stat `patches/system/': No such file or directory
zip warning: name not matched: tmp/boot.img
zip error: Nothing to do! (tmp/cm.zip-dualboot.zip)
zip warning: name not matched: system/
zip error: Nothing to do! (try: zip -r cm.zip-dualboot.zip . -i system/)
Modifiying updater-script
unzip: cannot find or open tmp/cm.zip-dualboot.zip, tmp/cm.zip-dualboot.zip.zip or tmp/cm.zip-dualboot.zip.ZIP.
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 35: tmp/updater-script: No such file or directory
mv: cannot stat `tmp/updater-script.t': No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 36: tmp/updater-script: No such file or directory
mv: cannot stat `tmp/updater-script.t': No such file or directory
/home/juho/Lataukset/dualboot-rom-convert/convert.sh: line 37: tmp/updater-script: No such file or directory
mv: cannot stat `tmp/updater-script.t': No such file or directory
Repacking updater-script...
mkdir: cannot create directory `tmp/META-INF': File exists
mkdir: cannot create directory `tmp/META-INF/com': File exists
mkdir: cannot create directory `tmp/META-INF/com/google': File exists
mkdir: cannot create directory `tmp/META-INF/com/google/android': File exists
mv: cannot stat `tmp/updater-script': No such file or directory
zip warning: name not matched: META-INF/com/google/android/updater-script
zip error: Nothing to do! (cm.zip-dualboot.zip)
cp: cannot stat `tmp/cm.zip-dualboot.zip': No such file or directory
Complete!
I have given executable permissions to: unpackbootimg,, mkbootfs, and whatever the last one is (I forgot the last file name).
Did you try running the script ad root?
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
Did you try running the script ad root?
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Yes, I tried
It looks like the script can't find the file. Try putting a "./' before "cm.zip".
Posted from my Galaxy Tab 2 with CM10.1

[Q] cannot supercid and lost mmcblk0p4 file

i did super cid using supercid.sh file in mac to my HTC one XL/at&t
and i got this error
please help me..
mkdir: tmp: File exists
./supercid.sh: line 43: ./adb: cannot execute binary file
./supercid.sh: line 44: ./adb: cannot execute binary file
Copying your misc partition to your sdcard partition...
./supercid.sh: line 47: ./adb: cannot execute binary file
Making a backup copy of the file, just in case...
./supercid.sh: line 50: ./adb: cannot execute binary file
Copying the file to your computer so we can work with it...
./supercid.sh: line 53: ./adb: cannot execute binary file
Making a backup copy here too...
cp: tmp/mmcblk0p4: No such file or directory
Converting the image file to text...
xxd: tmp/mmcblk0p4: No such file or directory
Checking to see what your CID is now...
grep: tmp/mmcblk0p4.txt: No such file or directory
grep: tmp/mmcblk0p4.txt: No such file or directory
grep: tmp/mmcblk0p4.txt: No such file or directory
We don't recognize your current CID.
You need to provide more information. What are your bootloader details? Are you perm rooted? What tutorial were you following? What commands came before the text you have posted here? What do you mean by you've lost the file?
PS. You've posted this in the General Section, I'll ask for it to be moved to the Q&A Section for you.
Sent from my Evita

Compilation help

here's my error, any help would be greatly appreciated.
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/jukie/android/system/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
system: ubuntu 14.10 building lollipop cm
I'm having the same issue.
Any progress?!
qumaciel said:
Any progress?!
Click to expand...
Click to collapse
Give this a go. sudo apt-get install clang-3.5
EDIT: NVM
jukiewalsh said:
here's my error, any help would be greatly appreciated.
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/jukie/android/system/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
system: ubuntu 14.10 building lollipop cm
Click to expand...
Click to collapse
did u find a solution to it? I managed to find one. the error most probably lies in the folder <SOURCEDIR>/out/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native
there, you might file a file named register_android_system_OsConstants.d which was supposed to be register_android_system_OsConstants.P
somehow the file was named with wrong extension.
changing the extension to .P again worked for me.

Simg2img not successfully compiled Help !

Hi err i have a Problem after setting up a working folder in the end it shows this error
Compiling simg2img ...
simg2img.c:30:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
Error: simg2img.exe not successfully compiled!
Can anyone help me?

Categories

Resources