VirtualBox

Opened 2 years ago

Closed 2 years ago

#20930 closed defect (duplicate)

error: implicit declaration of function ‘netif_rx_ni’

Reported by: sander44 Owned by:
Component: installer Version: VirtualBox 6.1.34
Keywords: vboxconfig Cc:
Guest type: all Host type: Linux

Description

Hi VirtualBox Team,

I try today to install VirtualBox on my system.
But i notice one issue with my installation.

I use this version:
ii virtualbox-6.1 6.1.34-150636.1~Debian~bullseye amd64 Oracle VM VirtualBox

But i notice this: ...

SENAME='"VBoxNetFlt"' -DKBUILD_MODNAME='"vboxnetflt"' -D__KBUILD_MODNAME=kmod_vboxnetflt /tmp/vbox.0/VBoxNetFlt.c | scripts/genksyms/genksyms    -r /dev/null > /tmp/vbox.0/.tmp_VBoxNetFlt.ver; ld -m elf_x86_64 -r -o /tmp/vbox.0/.tmp_VBoxNetFlt.o /tmp/vbox.0/VBoxNetFlt.o -T /tmp/vbox.0/.tmp_VBoxNetFlt.ver; mv -f /tmp/vbox.0/.tmp_VBoxNetFlt.o /tmp/vbox.0/VBoxNetFlt.o; rm -f /tmp/vbox.0/.tmp_VBoxNetFlt.ver; fi
/tmp/vbox.0/linux/VBoxNetFlt-linux.c: In function ‘vboxNetFltPortOsXmit’:
/tmp/vbox.0/linux/VBoxNetFlt-linux.c:2314:23: error: implicit declaration of function ‘netif_rx_ni’; did you mean ‘netif_rx’? [-Werror=implicit-function-declaration]
 2314 |                 err = netif_rx_ni(pBuf);
      |                       ^~~~~~~~~~~
      |                       netif_rx
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:288: /tmp/vbox.0/linux/VBoxNetFlt-linux.o] Error 1
make[1]: *** [Makefile:1882: /tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxnetflt] Error 2

OS: Debian 11+/MX-21.1_KDE_x64 Wildflower+
Kernel: 5.18.0-rc5/5.18.0-viva5-lowlatency
Sourcelist: deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bullseye contrib

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Attachments (1)

vboxconfig.txt (25.1 KB ) - added by sander44 2 years ago.
vboxconfig log

Download all attachments as: .zip

Change History (5)

by sander44, 2 years ago

Attachment: vboxconfig.txt added

vboxconfig log

comment:1 by joeAverage, 2 years ago

the same here with kernel 5.18.0-rc6 on Fedora 36 (gcc version 12.1.1 20220507 (Red Hat 12.1.1-1)) and testbuild 150501 (Linux 64 Bit)

comment:2 by mAdDaWg, 2 years ago

Same issue on debian bullseye(11) kernel-5.18.0 (full release)

made a duplicate ticket by mistake https://www.virtualbox.org/ticket/20956#propertyform

comment:3 by hifi25nl, 2 years ago

Same issue here in Archlinux with kernel linux-amd 5.18.0

comment:4 by galitsyn, 2 years ago

Resolution: duplicate
Status: newclosed

Hi guys,

Lets keep tracking this issue in scope of https://www.virtualbox.org/ticket/20914.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use