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

bcwc_pcie make fails (resolve_btfids) - debian 12.1 #287

Open
Lat31320 opened this issue Aug 27, 2023 · 0 comments
Open

bcwc_pcie make fails (resolve_btfids) - debian 12.1 #287

Lat31320 opened this issue Aug 27, 2023 · 0 comments

Comments

@Lat31320
Copy link

Hi,

I have used firmware and module install for years on debian buster with macbook pro 11.1

I recently updated to debian 12 and if the firmware install works fine I'm stuck at the make step for bcwc_pcie

I had a script containing the different commands described on your wiki which worked perfectly on buster (it had to be replayed after OS updates).
To spot any error on my side, I started from scratch by following the steps on your wiki again: the firmware installs fine (/usr/lib/firmware/facetimehd/firmware.bin) but without success for bcwc_pcie

make fails about missing resolve_btfids and I can't figure out how to fix that.

root@macbook:~/facetimecam/bcwc_pcie# make
make -C /lib/modules/6.1.0-10-amd64/build M=/root/facetimecam/bcwc_pcie modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-6.1.0-10-amd64 »
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_ddr.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_hw.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_drv.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_ringbuf.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_isp.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_v4l2.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_buffer.o
  CC [M]  /root/facetimecam/bcwc_pcie/fthd_debugfs.o
  LD [M]  /root/facetimecam/bcwc_pcie/facetimehd.o
  MODPOST /root/facetimecam/bcwc_pcie/Module.symvers
  CC [M]  /root/facetimecam/bcwc_pcie/facetimehd.mod.o
  LD [M]  /root/facetimecam/bcwc_pcie/facetimehd.ko
  BTF [M] /root/facetimecam/bcwc_pcie/facetimehd.ko
/bin/sh: 1: ./tools/bpf/resolve_btfids/resolve_btfids: not found
make[2]: *** [/usr/src/linux-headers-6.1.0-10-common/scripts/Makefile.modfinal:63 : /root/facetimecam/bcwc_pcie/facetimehd.ko] Erreur 127
make[2]: *** Suppression du fichier « /root/facetimecam/bcwc_pcie/facetimehd.ko »
make[1]: *** [/usr/src/linux-headers-6.1.0-10-common/Makefile:1954 : modules] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-6.1.0-10-amd64 »
make: *** [Makefile:12 : all] Erreur 2

uname -a
Linux macbook 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux

Regards,

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