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

Linux 6.11.5: undefined reference to `nf_reinject' #98

Open
k0ste opened this issue Oct 30, 2024 · 2 comments
Open

Linux 6.11.5: undefined reference to `nf_reinject' #98

k0ste opened this issue Oct 30, 2024 · 2 comments

Comments

@k0ste
Copy link
Collaborator

k0ste commented Oct 30, 2024

  LD [M]  drivers/iio/pressure/st_pressure.o
  LD [M]  drivers/iio/industrialio.o
  CC [M]  drivers/iio/temperature/mlx90635.o
  CC [M]  drivers/iio/temperature/tmp006.o
  CC [M]  drivers/iio/temperature/tmp007.o
  CC [M]  drivers/iio/temperature/tmp117.o
  CC [M]  drivers/iio/temperature/tsys01.o
  CC [M]  drivers/iio/temperature/tsys02d.o
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  MODPOST Module.symvers
  CC      .vmlinux.export.o
  UPD     include/generated/utsversion.h
  CC      init/version-timestamp.o
  KSYMS   .tmp_vmlinux0.kallsyms.S
  AS      .tmp_vmlinux0.kallsyms.o
  LD      .tmp_vmlinux1
ld: vmlinux.o: in function `imq_dev_xmit':
/home/k0ste/build/src/linux-6.11.5/drivers/net/imq.c:359:(.text+0xa3479c): undefined reference to `nf_reinject'
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[1]: *** [/home/k0ste/build/src/linux-6.11.5/Makefile:1157: vmlinux] Error 2
make: *** [Makefile:224: __sub-make] Error 2
@imq
Copy link
Owner

imq commented Nov 5, 2024

[dev@imq linux-6.11.6]# make
  SYNC    include/config/auto.conf.cmd
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  CHK     kernel/kheaders_data.tar.xz
  CC [M]  drivers/net/imq.o
  MODPOST Module.symvers
  TEST    posttest
arch/x86/tools/insn_decoder_test: success: Decoded and checked 7483346 instructions
  TEST    posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x54e22b3f)
Kernel: arch/x86/boot/bzImage is ready  (#3)
  LD [M]  drivers/net/imq.ko
[dev@imq linux-6.11.6]#

@k0ste
Copy link
Collaborator Author

k0ste commented Nov 6, 2024

Without patch - kernel builds fine on this host. With IMQ patch - ld eats all memory

[Wed Nov  6 12:12:14 2024] Out of memory: Killed process 756269 (ld) total-vm:7164372kB, anon-rss:6102620kB, file-rss:0kB, shmem-rss:0kB, UID:1153 pgtables:12724kB oom_score_adj:0

Seems need to try host with more RAM

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

2 participants