xxorde / librekinect

Depth data from a kinect sensor! Small and fast kernel driver. Also for embedded devices like the raspberry pi!
408 stars 66 forks source link

make Error 2 #49

Open ghost opened 4 years ago

ghost commented 4 years ago

I've tried deleting and redownloading everything but same outcome

root@raspberrypi:/usr/src/linux# make HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c /bin/sh: 1: bison: not found make[2]: [scripts/Makefile.lib:196: scripts/kconfig/zconf.tab.c] Error 127 make[1]: [Makefile:534: syncconfig] Error 2 Makefile:621: include/config/auto.conf.cmd: No such file or directory make: *** [Makefile:633: include/config/auto.conf.cmd] Error 2

Where's the missing file? I can't find it anywhere

kitetale commented 1 year ago

In case anyone else faces the same issue in the future, this is how I went around this issue:

Run sudo apt update sudo apt install -y build-essential flex bison libssl-dev libelf-dev

Then try running to make config again