How to fix vmlinux.o error and cross-compiling errorHow do I fix android.os.NetworkOnMainThreadException?CROSS_COMPILE error :arm-android-eabi-gcc: Command not foundHow do I find all files containing specific text on Linux?libz.so.1: cannot open shared object fileAndroid NDK stand alone compilation getting erroropenssl android ndk-build change pathcompile expat 2.0.0 with arm-linux-androideabi android ndk toolchainbusybox compilation for arm : fatal error: byteswap.h: No such file or directoryliblto_plugin-0.dll: could not load plugin library: The parameter is incorrect
Can a US President have someone sent to prison?
Was it really unprofessional of me to leave without asking for a raise first?
What is the difference between handcrafted and learned features
Using aluminium busbar/cables in an aircraft instead of copper
(Higher) extensions of mixed Hodge structures
Why isn’t the tax system continuous rather than bracketed?
How can I check whether a fork is bent
Do I have to roll to maintain concentration if a target other than me who is affected by my concentration spell takes damage?
How to fix a dry solder pin in BGA package?
Can I travel from Germany to England alone as an unaccompanied minor?
Generate and graph the Recamán Sequence
How to formulate maximum function in a constraint?
In the context of a differentiator circuit, what is a “current-sensing resistor”?
Golf the smallest circle!
Java Optional working of orElse is not as if else
Avoid using C Strings on C++ code to trim leading whitespace
Why are 120 V general receptacle circuits limited to 20 A?
What's the safest way to inform a new user of their password on my web site?
Which centaur is more 'official'?
Why are there so many religions and gods?
Should I report a leak of confidential HR information?
What is the difference between x RadToDeg cos x div and COSC?
What are good ways to spray paint a QR code on a footpath?
Why does a brace command group need spaces after the opening brace in POSIX Shell Grammar?
How to fix vmlinux.o error and cross-compiling error
How do I fix android.os.NetworkOnMainThreadException?CROSS_COMPILE error :arm-android-eabi-gcc: Command not foundHow do I find all files containing specific text on Linux?libz.so.1: cannot open shared object fileAndroid NDK stand alone compilation getting erroropenssl android ndk-build change pathcompile expat 2.0.0 with arm-linux-androideabi android ndk toolchainbusybox compilation for arm : fatal error: byteswap.h: No such file or directoryliblto_plugin-0.dll: could not load plugin library: The parameter is incorrect
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am a kind of noob in kernel. First my question is about cross compiling. When i tried to export CROSS_COMPILE I got error:
export CROSS_COMPILE=/root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-
export ARCH=arm
make clean
/root/Desktop/kek/android_kernel_lge_g3-lineage-16.0/scripts/gcc-version.sh: line 25: /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc: No such file or directory
The second error is vmlinux error while compiling.
make -no-pie
then error
ld: cannot find arch/x86/kernel/head_64.o: No such file or directory
ld: cannot find arch/x86/kernel/head64.o: No such file or directory
ld: cannot find arch/x86/kernel/head.o: No such file or directory
ld: cannot find arch/x86/kernel/init_task.o
ld: cannot find init/built-in.o
make: *** [Makefile:938: vmlinux.o] Error 1 `
My kernel is https://github.com/LineageOS/android_kernel_lge_g3 and config is defconfig.
add a comment |
I am a kind of noob in kernel. First my question is about cross compiling. When i tried to export CROSS_COMPILE I got error:
export CROSS_COMPILE=/root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-
export ARCH=arm
make clean
/root/Desktop/kek/android_kernel_lge_g3-lineage-16.0/scripts/gcc-version.sh: line 25: /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc: No such file or directory
The second error is vmlinux error while compiling.
make -no-pie
then error
ld: cannot find arch/x86/kernel/head_64.o: No such file or directory
ld: cannot find arch/x86/kernel/head64.o: No such file or directory
ld: cannot find arch/x86/kernel/head.o: No such file or directory
ld: cannot find arch/x86/kernel/init_task.o
ld: cannot find init/built-in.o
make: *** [Makefile:938: vmlinux.o] Error 1 `
My kernel is https://github.com/LineageOS/android_kernel_lge_g3 and config is defconfig.
about your first error, what is the output ofls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and offile /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.
– user3848844
Mar 25 at 15:03
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37
add a comment |
I am a kind of noob in kernel. First my question is about cross compiling. When i tried to export CROSS_COMPILE I got error:
export CROSS_COMPILE=/root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-
export ARCH=arm
make clean
/root/Desktop/kek/android_kernel_lge_g3-lineage-16.0/scripts/gcc-version.sh: line 25: /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc: No such file or directory
The second error is vmlinux error while compiling.
make -no-pie
then error
ld: cannot find arch/x86/kernel/head_64.o: No such file or directory
ld: cannot find arch/x86/kernel/head64.o: No such file or directory
ld: cannot find arch/x86/kernel/head.o: No such file or directory
ld: cannot find arch/x86/kernel/init_task.o
ld: cannot find init/built-in.o
make: *** [Makefile:938: vmlinux.o] Error 1 `
My kernel is https://github.com/LineageOS/android_kernel_lge_g3 and config is defconfig.
I am a kind of noob in kernel. First my question is about cross compiling. When i tried to export CROSS_COMPILE I got error:
export CROSS_COMPILE=/root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-
export ARCH=arm
make clean
/root/Desktop/kek/android_kernel_lge_g3-lineage-16.0/scripts/gcc-version.sh: line 25: /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc: No such file or directory
The second error is vmlinux error while compiling.
make -no-pie
then error
ld: cannot find arch/x86/kernel/head_64.o: No such file or directory
ld: cannot find arch/x86/kernel/head64.o: No such file or directory
ld: cannot find arch/x86/kernel/head.o: No such file or directory
ld: cannot find arch/x86/kernel/init_task.o
ld: cannot find init/built-in.o
make: *** [Makefile:938: vmlinux.o] Error 1 `
My kernel is https://github.com/LineageOS/android_kernel_lge_g3 and config is defconfig.
edited Mar 25 at 14:51
Tsyvarev
29.9k4 gold badges36 silver badges68 bronze badges
29.9k4 gold badges36 silver badges68 bronze badges
asked Mar 25 at 12:29
RostRost
11 bronze badge
11 bronze badge
about your first error, what is the output ofls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and offile /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.
– user3848844
Mar 25 at 15:03
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37
add a comment |
about your first error, what is the output ofls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and offile /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.
– user3848844
Mar 25 at 15:03
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37
about your first error, what is the output of
ls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and of file /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.– user3848844
Mar 25 at 15:03
about your first error, what is the output of
ls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and of file /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.– user3848844
Mar 25 at 15:03
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337819%2fhow-to-fix-vmlinux-o-error-and-cross-compiling-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337819%2fhow-to-fix-vmlinux-o-error-and-cross-compiling-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
about your first error, what is the output of
ls -la /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/? and offile /root/Downloads/android-ndk-r20-beta1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-eabi-gcc? I think it is redundant to address the second problem before solving the first as it looks like there is problem in the compiler.– user3848844
Mar 25 at 15:03
Hi I am a kind of noob in building kernel. Maybe you will help me I just need to add my belkin wireless adaptor driver in kernel. I want to launch one app but I need this drives. Here is the link on guide forum.xda-developers.com/showthread.php?t=2338179 . Link to my kernel is higher. Model of my phone is LG g3 vs985. Model of my adaptor is BELKIN FD7 . And Ethernet card model of this adaptor is RTL8150 . Please help me build it for me. My email is lazorykrostyslav@gmail.com .
– Rost
Apr 1 at 9:37