I am currently working on Linux From Scratch part 5.5: http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html Although i have followed everything exactly correctly to this point, I am receiving the following make errors after about 20 minutes of compiling GCC 8.2.0:
make[3]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build/gcc'
make[2]: *** [Makefile:4567: all-stage1-gcc] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make[1]: *** [Makefile:21435: stage1-bubble] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make: *** [Makefile:897: all] Error 2
Any help would be appreciated, I have been trying for hours.
Related
I'm following the steps from here at 3.1 Task 1.A: Implement a Simple Kernel Module:
https://seedsecuritylabs.org/Labs_20.04/Files/Firewall/Firewall.pdf
Everything was fine until I ran the make command. the hello.ko file wasn't generated and I don't know what's wrong.
make -C /lib/modules/5.11.0-38-generic/build M=/home/seed/Downloads/Labsetup/Files/kernel_module modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-38-generic'
CC [M] /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
MODPOST /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
make[2]: *** [scripts/Makefile.modpost:124: /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers] Error 1
make[2]: *** Deleting file '/home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers'
make[1]: *** [Makefile:1753: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-38-generic'
make: *** [Makefile:4: all] Error 2
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
You must add the license in hello.c.
e.g.
MODULE_LICENSE("GPL");
I was trying to install OS 161 KALI LINUX version 2020.3 64bit. The first step was to build and install binutils.
The procedure I followed is shown in this .
I configured the binutils and got this output https://pastebin.com/iXjFq3Zu but upon running i got the make command i got the following errors https://pastebin.com/DYSBdUqq .
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2551: as-new] Error 1
make[4]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[3]: *** [Makefile:2596: all-recursive] Error 1
make[3]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[2]: *** [Makefile:2482: all] Error 2
make[2]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[1]: *** [Makefile:4860: all-gas] Error 2
make[1]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1'
make: *** [Makefile:627: all] Error 2
root#kali:/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1#
I'm trying to build mpeg4ip library for Ubuntu 14.04 LTS. The command make && make install throws error as below. I referred to Install mpeg4ip using apt on Ubuntu 14.04TLS but it shows 404 while updating.
make[4]: *** [rtphint.lo] Error 1
make[4]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib/mp4v2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1'
make: *** [all] Error 2
How can I install this library in my linux machine.
I try to compile glib from source code. But an I/O error stops me.
make[2]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs'
Making all in reference
make[3]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
Making all in glib
make[4]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
GEN glib-gettextize.1
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[4]: *** [glib-gettextize.1] Error 4
make[4]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk3/glib-2.36.0'
make: *** [all] Error 2
The documentation cannot be built because the external transform stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl cannot be loaded.
Try connecting this machine to the Internet and running the build again.
While glibc-2.16 make following error occurred:
glibc-build/math/s_modff.os.dt -MT
/media/vaibhav/sources/glibc-build/math/s_modff.os
../sysdeps/ieee754/flt-32/s_isnanf.c:37:1: error: 'EI_isnanf'
aliased to external symbol 'GI_isnanf' make[2]: *
[/media/vaibhav/sources/glibc-build/math/s_isnanf.os] Error 1 make[2]:
* Waiting for unfinished jobs.... make[2]: Leaving directory
`/media/vaibhav/sources/glibc-2.16.0/math' make[1]: *
[math/subdir_lib] Error 2 make[1]: Leaving directory
`/media/vaibhav/sources/glibc-2.16.0' make: * [all] Error 2
Please help me.