I have very little experience troubleshooting problems with 'make'.

I'm trying to build a kernel module, LiS Streams, which I need to make
my telephony hardware drivers work (dialogic SR5.1).

I doubt anyone here has any experience with LiS Streams but I'm sure
there are some folks here that know more then I about tracking down
these kinds of problems.

This is on a RH 7.2 box with gcc 2.96
I believe I have all the correct kernel source & headers installed:
        [tomp at many tomp]$ rpm -qa|grep kernel (erased old kernel info)
        kernel-headers-2.4.9-34
        kernel-2.4.20-18.7
        kernel-source-2.4.20-18.7

"make" runs a configure script then starts the build. It errors out.
Here are the last 30 or so lines: 

make[2]: Entering directory `/usr/src/LiS-2.16/drivers/str/linux'
gcc -DLiS -DLINUX -D__KERNEL__ -DMODVERSIONS -Wall -Wstrict-prototypes 
-fno-strict-aliasing -Wno-sign-compare -fno-common -O2 -DINLINE=inline
-DSTATIC=static -fomit-frame-pointer -I/usr/src/LiS/include
-I///usr/src/linux-2.4.20-18.7/include
-I///usr/src/linux-2.4.20-18.7/arch/i386/mach-generic
-I/usr/src/linux/include
-DSIGMASKLOCK -M -DDEP /usr/src/LiS/drivers/str/relay.c
/usr/src/LiS/drivers/str/clone.c /usr/src/LiS/drivers/str/fifo.c
/usr/src/LiS/drivers/str/loop.c /usr/src/LiS/drivers/str/minimux.c
/usr/src/LiS/drivers/str/printk.c ip_strm_mod.c >.depend
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/relay.c:45:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/clone.c:45:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/fifo.c:62:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/loop.c:58:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/minimux.c:34:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from /usr/src/LiS/drivers/str/printk.c:37:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
In file included from /usr/src/LiS/include/sys/strport.h:50,
                 from /usr/src/LiS/include/sys/stream.h:73,
                 from ip_strm_mod.c:75:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:137:74: sys/LiS/genconf.h: No
such file or directory
make[2]: *** [common-dep] Error 1
make[2]: Leaving directory `/usr/src/LiS-2.16/drivers/str/linux'
make[1]: *** [/usr/src/LiS/include/sys/LiS/config.h] Error 2
make[1]: Leaving directory `/usr/src/LiS-2.16'
make: *** [/usr/src/LiS-2.16/config.in] Error 2
[root at many LiS-2.16]# make clean

I don't see genconf.h on my system at all. Is this something that should
be "gen"erated by the "conf"igure script? Is it part of the kernel
headers? 

Id greatly appreciate any info on how to get this to build. 


-- 
Tom Penney <blots at visi.com>


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list