Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel with VLAN_8021Q [=m] does not compile #9

Open
boskar opened this issue Oct 9, 2016 · 1 comment
Open

Kernel with VLAN_8021Q [=m] does not compile #9

boskar opened this issue Oct 9, 2016 · 1 comment

Comments

@boskar
Copy link

boskar commented Oct 9, 2016

  CC      drivers/net/mii.o
  CC      drivers/net/Space.o
  CC      drivers/net/loopback.o
  CC      drivers/net/ethernet/nexell/nxpmac/nxpmac_main.o
drivers/net/ethernet/nexell/nxpmac/nxpmac_main.c: In function ‘stmmac_dvr_probe’:
drivers/net/ethernet/nexell/nxpmac/nxpmac_main.c:3174:20: error: ‘NETIF_F_HW_VLAN_CTAG_RX’ undeclared (first use in this function)
  ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
                    ^
drivers/net/ethernet/nexell/nxpmac/nxpmac_main.c:3174:20: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/ethernet/nexell/nxpmac/nxpmac_main.c: At top level:
drivers/net/ethernet/nexell/nxpmac/nxpmac_main.c:967:13: warning: ‘stmmac_display_descriptors’ defined but not used [-Wunused-function]
 static void stmmac_display_descriptors(struct stmmac_priv *priv)
             ^
scripts/Makefile.build:307: polecenia dla obiektu 'drivers/net/ethernet/nexell/nxpmac/nxpmac_main.o' nie powiodły się
make[5]: *** [drivers/net/ethernet/nexell/nxpmac/nxpmac_main.o] Błąd 1
scripts/Makefile.build:443: polecenia dla obiektu 'drivers/net/ethernet/nexell/nxpmac' nie powiodły się
make[4]: *** [drivers/net/ethernet/nexell/nxpmac] Błąd 2
scripts/Makefile.build:443: polecenia dla obiektu 'drivers/net/ethernet/nexell' nie powiodły się
make[3]: *** [drivers/net/ethernet/nexell] Błąd 2
scripts/Makefile.build:443: polecenia dla obiektu 'drivers/net/ethernet' nie powiodły się
make[2]: *** [drivers/net/ethernet] Błąd 2
scripts/Makefile.build:443: polecenia dla obiektu 'drivers/net' nie powiodły się
make[1]: *** [drivers/net] Błąd 2
Makefile:946: polecenia dla obiektu 'drivers' nie powiodły się
make: *** [drivers] Błąd 2

I will post more details if I find out wht is that happening. Looks like some conditional compiling is broken.

@boskar
Copy link
Author

boskar commented Oct 14, 2016

Gotchya.

Fixed with https://github.com/offensive-security/kali-arm-build-scripts/blob/master/patches/0001-Remove-define.patch

Now the kernel builds but I've got problem with proper manual installation of modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant