Skip to content

Instantly share code, notes, and snippets.

@vmlemon
Created May 24, 2012 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmlemon/2782255 to your computer and use it in GitHub Desktop.
Save vmlemon/2782255 to your computer and use it in GitHub Desktop.
Config files successfully generated by ./configure
Install prefix /usr/local/most4linux
Install path for driver modules /usr/local/most4linux/modules
Linux kernel source tree /lib/modules/2.6.38-8-generic/build
Build driver with real-time support disabled
Compile MOST NetServices library disabled
Compile with ALSA example enabled
Print debug messages disabled
Print trace messages disabled
Print debug messages on all register accesses disabled
Print debug messages for ioctl syscall disabled
Print debug messages for OS-8104 register access disabled
Print debug messages in non real-time ISRs disabled
Print debug messages in real-time ISRs disabled
Print debug messages for receive buffer disabled
Print debug messages for transmit buffer disabled
Print debug messages in sync module disabled
Print debug messages in NetServices module disabled
Print debug messages in alsa driver disabled
Debugging over serial port in realtime disabled
Now type 'make' to compile and afterwards 'make install' to install the driver
root@ubuntu:~/most4linux-1.0.0# make
Making all in most-kernel
make[1]: Entering directory `/home/tysonkey/most4linux-1.0.0/most-kernel'
make -f ./Makefile.kbuild KERNELDIR=/lib/modules/2.6.38-8-generic/build \
KMOD_CFLAGS=" \
-DHAVE_CONFIG_H \
-I/home/tysonkey/most4linux-1.0.0" \
RT=disabled
make[2]: Entering directory `/home/tysonkey/most4linux-1.0.0/most-kernel'
make -C /lib/modules/2.6.38-8-generic/build M=/home/tysonkey/most4linux-1.0.0/most-kernel
make[3]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
LD /home/tysonkey/most4linux-1.0.0/most-kernel/built-in.o
CC [M] /home/tysonkey/most4linux-1.0.0/most-kernel/most-alsa.o
/home/tysonkey/most4linux-1.0.0/most-kernel/most-alsa.c:27:26: fatal error: sound/driver.h: No such file or directory
compilation terminated.
make[4]: *** [/home/tysonkey/most4linux-1.0.0/most-kernel/most-alsa.o] Error 1
make[3]: *** [_module_/home/tysonkey/most4linux-1.0.0/most-kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/tysonkey/most4linux-1.0.0/most-kernel'
make[1]: *** [all-local] Error 2
make[1]: Leaving directory `/home/tysonkey/most4linux-1.0.0/most-kernel'
make: *** [all-recursive] Error 1
root@ubuntu:~/most4linux-1.0.0#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment