Compile error: Ubuntu 22.04 gcc -m unrecognized command-line option -m and other missing #1055
rohrbachger
started this conversation in
General
Replies: 3 comments
-
Is this with current git master of iPXE? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, with git master. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well, I think I fixed with a reboot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On my new Ubuntu 22.04 the compiling for ipxe does not work anymore
It`s out of the box installed.
Do I`m missing some packages? Google did not delivered simple answers, but I can´t believe that this is really complicate.
Any hints?
root@Desktop:/GRPROG/ipxe/src# gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
root@Desktop:/GRPROG/ipxe/src# make bin/undionly kpxe EMBED=MyHome.ipxe
gcc -m elf_i386 -N --no-check-sections --gc-sections -static -z separate-code -z max-page-size=4096 bin/undionly.o -o bin/undionly
gcc: error: unrecognized command-line option ‘-m’
gcc: error: unrecognized command-line option ‘--no-check-sections’; did you mean ‘--no-data-sections’?
gcc: error: unrecognized command-line option ‘--gc-sections’; did you mean ‘--data-sections’?
Beta Was this translation helpful? Give feedback.
All reactions