root#debian:~/dr/compat-wireless-3.5.4-1# make
make -C /lib/modules/3.2.0-4-486/build M=/root/dr/compat-wireless-3.5.4-1 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-486'
CC [M] /root/dr/compat-wireless-3.5.4-1/compat/main.o
In file included from /root/dr/compat-wireless-3.5.4-1/include/linux/compat-2.6.h:64:0,
from <command-line>:0:
/root/dr/compat-wireless-3.5.4-1/include/linux/compat-3.4.h:58:20: error: redefinition of ‘eth_hw_addr_random’
/usr/src/linux-headers-3.2.0-4-common/include/linux/etherdevice.h:165:20: note: previous definition of ‘eth_hw_addr_random’ was here
make[5]: *** [/root/dr/compat-wireless-3.5.4-1/compat/main.o] Ошибка 1
make[4]: *** [/root/dr/compat-wireless-3.5.4-1/compat] Error 2
make[3]: *** [_module_/root/dr/compat-wireless-3.5.4-1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-486'
make: *** [modules] Error 2
I used these instructions.
I get this Error with a newer, now renamed, version of backports:
root#debian:~/dr/backports-3.12-1# make
make[5]: `conf'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
CC [M] /root/dr/backports-3.12-1/compat/main.o
CC [M] /root/dr/backports-3.12-1/compat/compat-3.3.o
In file included from /usr/src/linux-headers-3.2.0-4-common/arch/x86/include/asm/swiotlb.h:4:0,
from /usr/src/linux-headers-3.2.0-4-common/arch/x86/include/asm/dma-mapping.h:14,
from /root/dr/backports-3.12-1/backport-include/asm/dma-mapping.h:3,
from /usr/src/linux-headers-3.2.0-4-common/include/linux/dma-mapping.h:68,
from /root/dr/backports-3.12-1/backport-include/linux/dma-mapping.h:3,
from /usr/src/linux-headers-3.2.0-4-common/include/linux/skbuff.h:32,
from /root/dr/backports-3.12-1/backport-include/linux/skbuff.h:3,
from /root/dr/backports-3.12-1/compat/compat-3.3.c:13:
/root/dr/backports-3.12-1/backport-include/linux/swiotlb.h:12:29: error: static declaration of ‘swiotlb_nr_tbl’ follows non-static declaration
/usr/src/linux-headers-3.2.0-4-common/include/linux/swiotlb.h:27:22: note: previous declaration of ‘swiotlb_nr_tbl’ was here
make[8]: *** [/root/dr/backports-3.12-1/compat/compat-3.3.o] Error 1
make[7]: *** [/root/dr/backports-3.12-1/compat] Error 2
make[6]: *** [_module_/root/dr/backports-3.12-1] Error 2
make[5]: *** [sub-make] Error 2
make[4]: *** [all] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2
Related
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#
/usr/bin/ld: /usr/local/lib/libdnet: file not recognized: Is a
directory collect2: error: ld returned 1 exit status make[6]: *
[Makefile:486: libsf_sorules.la] Error 1 make[6]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine/examples'
make[5]: [Makefile:623: all-recursive] Error 1 make[5]: Leaving
directory '/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine'
make[4]: [Makefile:522: all] Error 2 make[4]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins/sf_engine' make[3]:
[Makefile:439: all-recursive] Error 1 make[3]: Leaving directory
'/usr/src/snort-2.9.15.1/src/dynamic-plugins' make[2]:
[Makefile:547: all-recursive] Error 1 make[2]: Leaving directory
'/usr/src/snort-2.9.15.1/src' make[1]: * [Makefile:505:
all-recursive] Error 1 make[1]: Leaving directory
'/usr/src/snort-2.9.15.1' make: *** [Makefile:370: all] Error 2
Heading
=======
.... installation of snort in Fedora 31
Enable the "cert-forensics-tools.repo" for Fedora 31 https://forensics.cert.org/
# rpm -Uvh https://forensics.cert.org/cert-forensics-tools-release-31.rpm
Install snort
# dnf install snort
Provides snort version 2.9.15.1-1.fc31
I am using EINSTEIN-TOOLKIT on windows via CYGWIN.
When i run any module with CARPET driver instead of PUGH. I found these type of errors.
ln -s "../../opal/asm/generated/atomic-local.s" atomic-asm.S
CPPAS atomic-asm.lo
CCLD libasm.la
../../libtool: line 1744: lib: command not found
make[6]: *** [Makefile:1659: libasm.la] Error 127
make[5]: *** [Makefile:2234: all-recursive] Error 1
make[4]: *** [Makefile:1777: all-recursive] Error 1
Died at /home/hp/cactus/arrangements/ExternalLibraries/MPI/src/build.pl line 90.
make[3]: *** [/home/hp/cactus/arrangements/ExternalLibraries/MPI/src/make.code.deps:9: /home/hp/cactus/configs/multipole/scratch/done/MPI] Error 17
make[2]: *** [/home/hp/cactus/lib/make/make.thornlib:113: make.checked] Error 2
make[1]: *** [/home/hp/cactus/lib/make/make.configuration:181: /home/hp/cactus/configs/multipole/lib/libthorn_MPI.a] Error 2
make: *** [Makefile:260: multipole] Error 2
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.