Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error trying to compile kernel!

325 views
Skip to first unread message

43i3 Adam

unread,
Feb 19, 2023, 5:30:06 PM2/19/23
to
hi, please a need help i never had this kind of error compile my own kernel. please you can find there the version of kernel and the command line a use for that. thanks ...

kernel version: linux-6.1.12
os type: 64-bit
processors: intel i5 .2.7
gcc version 10.2.1 20210110 (Debian 10.2.1-6)

the command line : make bindeb-pkg -j"$(nproc)" LOCALVERSION=-"$(dpkg --print-architecture)" KDEB_PKGVERSION="$(make k
ernelversion)-1"

The error :
ake[5]: *** [scripts/Makefile.build:500: drivers/media] Error 2
make[5]: *** Waiting for unfinished jobs....
  CC [M]  drivers/staging/qlge/qlge_ethtool.o
  CC [M]  drivers/staging/qlge/qlge_devlink.o
  LD [M]  drivers/staging/qlge/qlge.o
make[4]: *** [scripts/Makefile.build:500: drivers] Error 2
make[3]: *** [Makefile:1992: .] Error 2
make[2]: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:86: bindeb-pkg] Error 2
make: *** [Makefile:1636: bindeb-pkg] Error 2

Thanks ... long live linux. thanks to Sir Linus Torvalds

to...@tuxteam.de

unread,
Feb 20, 2023, 12:40:06 AM2/20/23
to
There is very little info there to go by. Try running the compile in
a more verbose mode (e.g. add option -V=1 to your make or something).

Cheers
--
t
signature.asc

Greg Wooledge

unread,
Feb 20, 2023, 7:20:06 AM2/20/23
to
Or simply scrolling up farther. That's clearly not the entire error
message (they even snipped off the leading "m" from the first line they
copied). I bet there are some lines above that which show the initial
problem that caused make to abort.

tv.debian

unread,
Feb 21, 2023, 2:00:06 AM2/21/23
to
Hi, do you actually use the Qlogic module qlge.ko? Did you try compiling
without it?
Here the latest vanilla kernel compiles fine with it, so you are
probably missing some development packages. If the compilation fails too
with this module not selected you are probably missing some generic
dependencies.
0 new messages