TPUART driver: /usr/src/linux/ directory not present
Hello All,
I am trying to install the TPUART driver (http://www.hto.fh-deggendorf.de/komm/anlage/readme.txt) on my notebook.
Debian GNU/Linux 2.4.24
The problem is that the Makefile assumes that I have a /usr/src/linux directory in my computer and it is not the case.
Instead, under /usr/src/ I have:
- Kernel-headers-2.4.24-1
- Kernel-headers-2.4.24-1-686
- Kernel-source-2.4.24
- Kernel-source-2.4.24.tar.bz2
Therefore, running 'make' results in:
"gcc -Wall -D__KERNEL__ -DMODVERSIONS -D__SMP__ -D__RTL__ -D_LOOSE_KERNEL_NAMES -DMODULE -include /usr/src/linux/include/modversions.h -O2 -fstrict-prototypes -fno-strict-aliasing -pipe -fomit-frame-pointer -DVERSION=\"0.03\" -I/usr/src/linux/include -I. -I/usr/src/rtlinux/include -I/usr/src/rtlinux/include/compat -I/usr/src/rtlinux/include/posix -c bmrecv.c
cc1: error: unrecognized option `-fstrict-prototypes'
make: *** [bmrecv.o] Error 1"
I have tried to edit the CFLAGS in the Makefile so that it matches with my installation. But it does not work. (I dont have an rtlinux directory neither).
My questions are:
Does anyone know why I dont have the /usr/src/linux directory?
Has anyone ever installed the TPUART driver before and found how to solve this problem?
Thanks in advance for any hint!
Alex