the configuration script. Is this a debian/gentoo thing? Or, a
mangled CPPFLAGS. I'll see if I can put a brief patch together for
you. (I haven't really tested Debian Sarge yet, but will eventually.)
Brian, sorry for the delay, but I'd like to continue the topic...
./configure && make
<snip>
make[2]: Entering directory `/usr/src/LiS-2.18.2'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include/sys/LiS -DLIS=1
-D__LIS_INTERNAL__ -imacros ./config.h -imacros
./include/sys/LiS/config.h -I./include -I./include -nostdinc
-iwithprefix include -DLINUX -D__KERNEL__
-I/lib/modules/2.6.15-gentoo-r1/build/include -Iinclude2
-I/lib/modules/2.6.15-gentoo-r1/build/include -include
include/linux/autoconf.h
-I/lib/modules/2.6.15-gentoo-r1/build/include/asm-i386/mach-default
-DKBUILD_BASENAME=streams -DMODULE -D__NO_VERSION__ -DEXPORT_SYMTAB
-DLIS_OBJNAME=`echo libLiShead_a-head | sed -e 's/^.*-//'` -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2 -g -fomit-frame-pointer -pipe
-msoft-float -mpreferred-stack-boundary=2 -march=i686 -mcpu=pentium4
-mregparm=3 -MT libLiShead_a-head.o -MD -MP -MF
".deps/libLiShead_a-head.Tpo" -c -o libLiShead_a-head.o `test -f
'head/head.c' || echo './'`head/head.c; \
then mv -f ".deps/libLiShead_a-head.Tpo" ".deps/libLiShead_a-head.Po";
else rm -f ".deps/libLiShead_a-head.Tpo"; exit 1; fi
<command line>:16:1: include/linux/autoconf.h: No such file or directory
make[2]: *** [libLiShead_a-head.o] Error 1
Hmm. It looks like it should be
'-include /linux/autoconf.h', since just before you do
-I/lib/modules/2.6.15-gentoo-r1/build/include.
If temporary fix Makefile, adjusting KERNEL_CPPFLAGS to actually hold
head/head.c
head/dki.c
head/mod.c
head/buffcall.c
head/event.c
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include/sys/LiS -DLIS=1
-D__LIS_INTERNAL__ -imacros ./config.h -imacros
./include/sys/LiS/config.h -I./include -I./include -nostdinc
-iwithprefix include -DLINUX -D__KERNEL__
-I/lib/modules/2.6.15-gentoo-r1/build/include -Iinclude2
-I/lib/modules/2.6.15-gentoo-r1/build/include -include
linux/autoconf.h
-I/lib/modules/2.6.15-gentoo-r1/build/include/asm-i386/mach-default
-DKBUILD_BASENAME=streams -DMODULE -D__NO_VERSION__ -DEXPORT_SYMTAB
-DLIS_OBJNAME=`echo libLiShead_a-linux-mdep | sed -e 's/^.*-//'`
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2 -g -fomit-frame-pointer -pipe
-msoft-float -mpreferred-stack-boundary=2 -march=i686 -mcpu=pentium4
-mregparm=3 -MT libLiShead_a-linux-mdep.o -MD -MP -MF
".deps/libLiShead_a-linux-mdep.Tpo" -c -o libLiShead_a-linux-mdep.o
`test -f 'head/linux-mdep.c' || echo './'`head/linux-mdep.c; \
then mv -f ".deps/libLiShead_a-linux-mdep.Tpo"
".deps/libLiShead_a-linux-mdep.Po"; else rm -f
".deps/libLiShead_a-linux-mdep.Tpo"; exit 1; fi
head/linux-mdep.c:1131: error: structure has no member named `refcount'
head/linux-mdep.c:3646: warning: implicit declaration of function `verify_area'
head/linux-mdep.c:4200: error: incompatible types in assignment
make[2]: *** [libLiShead_a-linux-mdep.o] Error 1
make[2]: Leaving directory `/usr/src/LiS-2.18.2'
make[1]: *** [all-recursive] Error 1
I've attached config.log.
Post by Brian F. G. BidulockHai,
Try 2.18.2 available here: http://www.openss7.org/streams_pkg.html
I haven't tried it on 2.6.15, but have on 2.6.14 (FC4).
Better still, use Linux Fast-STREAMS. I don't really want to maintain
LiS anymore as Linux Fast-STREAMS has proven superior in all aspects.
I probably would use Fast-STREAMS, If I were starting.new project.
LiS, and each time I upgrade the kernel - nightmare comes back - I
have to make them work with new LiS (and they were originally compiled
against LiS-2.16.x)
Post by Brian F. G. Bidulock--brian
Post by Hai ZaarDear list,
Did anyone try to compile LiS-2.18.1 under latest 2.6.15 kernel?
Tell me if I'm the first one and I'll start posting error messages :)
--
Zaar
_______________________________________________
Linux-streams mailing list
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
--
Zaar