does anyone know whats the solution of this?
im trying to deodexed SGY DXLE1 stock rom so that i can have my own themes,
i always get an error every time i choose step 3 in xUltimate 2.4
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of a
rguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.jav
a:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:7
9)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25cc
Press any key to continue . . .
Click to expand...
Click to collapse
Bump.. anyone encountered this kind of error when deodexing a stock rom?
i did!
iMaker said:
Bump.. anyone encountered this kind of error when deodexing a stock rom?
Click to expand...
Click to collapse
i did! and someguyfromhell also did see this thread http://forum.xda-developers.com/showthread.php?t=1711815 but no solution still ! maybe if they find a solution it'll help us too.....
Someone needs to answer this question. I have searched and searched and can find no definate answer - although lots of people having the same issue. I am trying to deodex the stock ICS 4.0.3 ROM on an SGSII i9100. I am using xUltimate have also tried with this link to the smae end - - -
http://forum.xda-developers.com/showthread.php?t=598026
I am able to fetch the APK and ODEX files from the phone. As soon as I try to deodex, the error below comes up. I have tried on multiple files.
*******************************************
Starting AccuWeatherDaemonService.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Lcom/android/internal/widget/multiwaveview/MultiWaveView$OnTriggerListene
r;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:867)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
692)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:282
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:111)
at org.jf.baksmali.main.main(main.java:297)
Error while loading class Lcom/android/internal/policy/impl/LockScreen$MultiWave
ViewMethods; from file .\origi_frame\android.policy.zip
Error while loading ClassPath class Lcom/android/internal/policy/impl/LockScreen
$MultiWaveViewMethods;
******************************************************************
My BOOTCLASSPATH in init.rc is
core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:framework2.jar:android.policy.jar:services.jar:apache-xml.jar:filterfw.jar
but i'm not sure what to do with this.
Any help is appreciated as lots of others struggling with the same issue.
I will report back if I find anything.
Peace - ArkozE
Please!
arkoze said:
Someone needs to answer this question. I have searched and searched and can find no definate answer - although lots of people having the same issue. I am trying to deodex the stock ICS 4.0.3 ROM on an SGSII i9100. I am using xUltimate have also tried with this link to the smae end - - -
http://forum.xda-developers.com/showthread.php?t=598026
I am able to fetch the APK and ODEX files from the phone. As soon as I try to deodex, the error below comes up. I have tried on multiple files.
*******************************************
Starting AccuWeatherDaemonService.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Lcom/android/internal/widget/multiwaveview/MultiWaveView$OnTriggerListene
r;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:867)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
692)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:282
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:111)
at org.jf.baksmali.main.main(main.java:297)
Error while loading class Lcom/android/internal/policy/impl/LockScreen$MultiWave
ViewMethods; from file .\origi_frame\android.policy.zip
Error while loading ClassPath class Lcom/android/internal/policy/impl/LockScreen
$MultiWaveViewMethods;
******************************************************************
My BOOTCLASSPATH in init.rc is
core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:framework2.jar:android.policy.jar:services.jar:apache-xml.jar:filterfw.jar
but i'm not sure what to do with this.
Any help is appreciated as lots of others struggling with the same issue.
I will report back if I find anything.
Peace - ArkozE
Click to expand...
Click to collapse
Having this identical issue with my SGH-I777 SGSII
Verbatim! i really need to get this fixed!
Check This Post
Check This Post .. http://forum.xda-developers.com/showpost.php?p=46368707&postcount=3
So I tried deodexing a stock XXMB1 firmware using xUltimate. I was able to pull both framework and app files (Options 1 and 2). But when I get to option 3 xUltimate shows an error. Can someone help me with this error?
Here is the error Log:
Code:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25e8
Press any key to continue . . .
WizardofAce said:
So I tried deodexing a stock XXMB1 firmware using xUltimate. I was able to pull both framework and app files (Options 1 and 2). But when I get to option 3 xUltimate shows an error. Can someone help me with this error?
Here is the error Log:
Code:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x25e8
Press any key to continue . . .
Click to expand...
Click to collapse
Don't know about these but I can help you in deodexing the stock ROM just go through these thread http://forum.xda-developers.com/showthread.php?t=2086771
try to deodex your rom by disxda kitchen by following the guide as hitesh mentioned...
xultimate gives error..but it seems that it gave u error just at the first app..
go to task manager and if you see two processes named 'adb.exe' then end one of them and try to deodex your apps again..if u still get error then end both adb.exe and try again..this always works fore
you may get error in email.odex...if you do, then delete the apk and odex if you are not gonna use it in rom..
Sent from my GT-S5830i using xda app-developers app
Actually, I was using the same guide that Hitesh suggested. I tried deleting each apk and .odex that showed an error. But almost every app showed an error. Btw, I never knew that dsixda had a deodex function. Will try.
same prob wid me help plsss
I finally made it:laugh: firefox can work on xperia neo v
There are quite jobs needs to done, but basic things works well
didn't test too much but for now
calls works
camera doesn't work
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
####final update
Here is alpha preview with firefox os v1.3pre
files for download:
boot.img
full_haida-ota-eng.root.zip
system.img.xz
firexperia-wifi-modules.SIGNED.zip
it has two way installer
fastboot or cwm choose as you like
installation
fastboot flash boot boot.img
fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
install wifi modules via cwm
do factory reset/wipe data
reboot and enjoy
####update5
I was upgrade my system to i7 haswell maybe I can build roms for whole 2011 xperia series at least I will try I am not promise anything but stay tuned
####update 4
Here is alpha preview with firefox os v1.1hd_pre
files for download:
boot.img
full_haida-ota-eng.root.zip
system.img.7z
firexperia-wifi-modules.SIGNED.zip
it has two way installer
fastboot or cwm choose as you like
installation
fastboot flash boot boot.img
fastboot flash system system.img or install from cwm with full_haida-ota-eng.root.zip
install wifi modules via cwm
do factory reset/wipe data
reboot and enjoy
####update 3
switch to v1.1.0hd branch
rebase with fxp-229-cm9 branch
HDPi build works and screen resolution is normal now
need a lot of time to provide a stable version but maybe a preview version
####update 2
no release for now
Sources of builds
and credits goes to
neuralassembly
sola
FXP
Cyanogenmod
AOSP
Mozilla.org
GNU/Linux
thanks to them
oh yeah ... well done, take help from other developers
Looks nice there, bud.
Edit: Darn it. Too bad I can't speak Japanese and those guide just canned me to Tokyo.
Greetings, from HTC One via Tap-A-Talk IV Beta
Good work bro ,
keep going for this project :good:
Best regards from Team Blur
What's this thread doing on general section? Should be in dev section. Great job bro. Hope some devs jump in this project.
Sent from my MT11i
What kernel you used?
n1kolaa said:
What kernel you used?
Click to expand...
Click to collapse
Cm9 kernel
Sent from my haida
can you help me i get some eror when i almost fully compile source for anzu
he tells some file that you want to fork dont exist
n1kolaa said:
can you help me i get some eror when i almost fully compile source for anzu
he tells some file that you want to fork dont exist
Click to expand...
Click to collapse
Show me to log of error
Or check my sources
edit : probably the problem with this
add on anzu.xml
origin code
Code:
<project path="prebuilt" name="platform/prebuilt" revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>
proper code
Code:
<project path="prebuilt" name="platform/prebuilt"[COLOR="Red"] remote="aosp" [/COLOR]revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>
Sent from my haida
yacloo said:
Show me to log of error
Or check my sources
edit : probably the problem with this
add on anzu.xml
origin code
Code:
<project path="prebuilt" name="platform/prebuilt" revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>
proper code
Code:
<project path="prebuilt" name="platform/prebuilt"[COLOR="Red"] remote="aosp" [/COLOR]revision="0e104261b6d33f87e9f86ff4249bcc0306ab278b"/>
Sent from my haida
Click to expand...
Click to collapse
no more errorrs now i will build it
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr
can you shere me that file from your pc?
n1kolaa said:
no more errorrs now i will build it
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr
can you shere me that file from your pc?
Click to expand...
Click to collapse
I run the patch like this it was okay
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch [COLOR="Red"]-p1[/COLOR] < b2g-webapp-zip.patch
yacloo said:
I run the patch like this it was okay
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch [COLOR="Red"]-p1[/COLOR] < b2g-webapp-zip.patch
Click to expand...
Click to collapse
Code:
[email protected]:~/b2g_work/B2G/gaia/build$ wget --no-check-certificate https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
--2013-07-09 11:05:10-- https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 50.19.230.97
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|50.19.230.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 780 [text/x-diff]
Saving to: `b2g-webapp-zip.patch.1'
100%[======================================>] 780 --.-K/s in 0s
2013-07-09 11:05:11 (107 MB/s) - `b2g-webapp-zip.patch.1' saved [780/780]
[email protected]:~/b2g_work/B2G/gaia/build$ patch -p1 < b2g-webapp-zip.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- webapp-zip.js.orig 2013-06-23 20:26:30.135978096 +0900
|+++ webapp-zip.js 2013-06-23 20:43:02.032010587 +0900
--------------------------
File to patch: webapp-zip.js
patching file webapp-zip.js
Hunk #1 FAILED at 335.
1 out of 1 hunk FAILED -- saving rejects to file webapp-zip.js.rej
[email protected]:~/b2g_work/B2G/gaia/build$ ^C
[email protected]:~/b2g_work/B2G/gaia/build$
look still geting error can you shere webapp-zip.js from your pc ?
n1kolaa said:
no more errorrs now i will build it
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr
can you shere me that file from your pc?
Click to expand...
Click to collapse
I was update my sources, patch will not work on my sources
but anyway you can build your b2g without patch or you need to patch manually
mozilla was create new branch for hdpi devices called "v1.1.0hd"
I will build with v1.1.0hd branch but now I am busy maybe next week
I am trying to port B2G to smultron and i have a question :
In kernel the only modification is to add init.b2g.rc file and edit init.rc right?
init.b2g.rc :
Code:
service fakeperm /system/bin/fakeperm
class main
user root
service b2g /system/bin/b2g.sh
class main
onrestart restart media
service rilproxy /system/bin/rilproxy
class main
socket rilproxy stream 660 root system
user root
group radio
on boot
exec /system/bin/rm -r /data/local/tmp
# set RLIMIT_NOFILE to increase soft limit from 1024(default) to 2048.
# Hard limit keeps default value(4096).
setrlimit 7 2048 4096
edit init.rc with this :
Code:
service fakeperm /system/bin/fakeperm
class main
user root
service rilproxy /system/bin/rilproxy
class main
socket rilproxy stream 660 root system
user root
group radio
service servicemanager-g /system/bin/servicemanager
class core
user system
group system
critical
service b2g /system/bin/b2g.sh
class main
onrestart restart media
or i need to edit more?
n1kolaa said:
no more errorrs now i will build it
Code:
$ cd $B2G_WORK/B2G/gaia/build
$ wget https://dl.dropboxusercontent.com/u/69652790/patch/b2g-webapp-zip.patch
$ patch < b2g-webapp-zip.patch
when i run line to pach it it give me erorr
can you shere me that file from your pc?
Click to expand...
Click to collapse
Today I checked the repository of gaia, and I found that the problem on webapp-zip.js has already been fixed 5 days ago.
So, if you downloaded the latest source codes, you do not have to apply the above patch any more.
I omitted the above commands from my blog.
Moreover, as for the manifest file, the download errors often take place depending on the network state.
When I downloaded the latest codes today without modifying manifest file,
I executed "./config.sh anzu" several times to obtain successful download.
Nice OS, I like it
neuralassembly said:
Today I checked the repository of gaia, and I found that the problem on webapp-zip.js has already been fixed 5 days ago.
So, if you downloaded the latest source codes, you do not have to apply the above patch any more.
I omitted the above commands from my blog.
Moreover, as for the manifest file, the download errors often take place depending on the network state.
When I downloaded the latest codes today without modifying manifest file,
I executed "./config.sh anzu" several times to obtain successful download.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=43408927#post43408927 i succes with building it but problem is resoution
and lot of things not sized well
n1kolaa said:
http://forum.xda-developers.com/showthread.php?p=43408927#post43408927 i succes with building it but problem is resoution
and lot of things not sized well
Click to expand...
Click to collapse
I have not tried your rom yet, but have you set the following environment variables before building?
The first one is for firefox icons, and second one is for high resolution device.
export MOZILLA_OFFICIAL=1
export GAIA_DEV_PIXELS_PER_PX=2
neuralassembly said:
I have not tried your rom yet, but have you set the following environment variables before building?
The first one is for firefox icons, and second one is for high resolution device.
export MOZILLA_OFFICIAL=1
export GAIA_DEV_PIXELS_PER_PX=2
Click to expand...
Click to collapse
thanks,also camera is fixed to photo only
im thinking to make 3.0.x kernel for b2g also i add you on my grup for b2g with i made
@yacloo i can add you too if you want to be part of it
n1kolaa said:
thanks,also camera is fixed to photo only
im thinking to make 3.0.x kernel for b2g also i add you on my grup for b2g with i made
@yacloo i can add you too if you want to be part of it
Click to expand...
Click to collapse
I cannot post to developer section because I am a new one, so I post here.
Please do not use the picture in my blog in your thread.
As for the update, I think you should not apply OTA system update
because my patch to gaia and gecko will be erased.
As a result, battery always shows 100%, the LED of home button is always ON,
and the effect of "GAIA_DEV_PIXELS_PER_PX=2" will also be erased.
Hello friends!
I am using Termux in order to run ruby.
I installed ruby successfully with "apt" command, and it functions fine.
Current ruby version:
Code:
$ ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [arm-linux-androideabi]
The problem is, I can't really install gems. I tried to install bettercap for the experiment, but it failed. This is what I get:
Code:
$ gem install bettercap
Fetching: colorize-0.8.1.gem (100%)
Successfully installed colorize-0.8.1
Fetching: network_interface-0.0.1.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing bettercap:
ERROR: Failed to build gem native extension.
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1/ext/network_interface_ext
/data/data/com.termux/files/usr/bin/ruby -r ./siteconf20161129-14856-1cclchu.rb extconf.rb
mkmf.rb can't find header files for ruby at /data/data/com.termux/files/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1 for inspection.
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/gem_make.out
I found some instructions if I ran "gem help install" but I couldn't really understand what to do in order to fix that.
Can anyone help me to solve this? BTW I have a rooted device so I can use "su" and "sudo" and all that stuff...
Thanks for people who answer~
FurySh0ck said:
Code:
mkmf.rb can't find header files for ruby at /data/data/com.termux/files/usr/lib/ruby/include/ruby.h
Click to expand...
Click to collapse
You can install ruby.h with:
Code:
apt install ruby-dev
.
fornwall said:
You can install ruby.h with: .
Click to expand...
Click to collapse
I installed ruby-dev but it still won't work. It tells me it saved a log file which contains the explanation to the failure. I'll post the whole code, but please pay attention to the last part of it:
Code:
apt install bettercap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bettercap
$ gem install bettercap
Building native extensions. This could take a while...
ERROR: Error installing bettercap:
ERROR: Failed to build gem native extension.
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1/ext/network_interface_ext
/data/data/com.termux/files/usr/bin/ruby -r ./siteconf20161206-31345-1xerjr9.rb extconf.rb
[*] Running checks for netifaces code...
[*] Warning : this platform as not been tested
checking for getifaddrs()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/data/data/com.termux/files/usr/bin/$(RUBY_BASE_NAME)
/data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:541:in `try_link0'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:765:in `try_func'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:1051:in `block in have_func'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:1050:in `have_func'
from extconf.rb:43:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1 for inspection.
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/gem_make.out
Any solutions in mind?
BTW Thanks for your time, I appreciate anyone who tries to help.