Hi,

I had a LiS 2.16 running on Fedora 2.4.22-1.2199 but sometimes then kernel hang with the message
__alloc_pages: 0-order allocattion failed (gfp=0x20/0)
I searched at the mail list and found a message (03/05/2004) that it may occur on version 2.16 not on 2.17.
So I decided to migrate to 2.17.
I downloaded the Latest-Lis that is 2.17.2 and tried to install


I got the following message :

In file included from /lib/modules/2.4.22-1.2199.dig1/build/include/net/sock.h:95,
                from inet.c:76:
/lib/modules/2.4.22-1.2199.dig1/build/include/net/irda/irda.h:80:1: warning: "ASSERT" 
redefined
In file included from /usr/src/LiS/include/sys/LiS/module.h:32,
                from inet.c:66:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:287:1: warning: this is the location of the 
previous definition

But it is only a warning so I decided to compile my driver and I got the following 
error:

gcc -D__KERNEL__ -DLINUX -DCISCO -DMODULE -O3 -DINLINE=inline -DSTATIC=static -fomit-frame-pointer -DLIS_OBJNAME=streams-dmar -c ../dmfs4.c -I/usr/src/LiS/include -I/usr/src/linux/include -I../../lxnodes In file included from /usr/src/LiS/include/sys/strport.h:50,
from /usr/src/LiS/include/sys/stream.h:73,
from ../dmfs4.c:32:
/usr/src/LiS/include/sys/LiS/linux-mdep.h:179: error: conflicting types for `dev_t'
/usr/src/linux/include/linux/types.h:21: error: previous declaration of `dev_t'
make: *** [dmfs4.o] Error 1


My include files are :

#include <linux/version.h>
#if LINUX_VERSION_CODE < 0x020400
# ifdef MODULE
#  include <linux/module.h>
# endif
# include <linux/autoconf.h> /* recupere as macros CONFIG_* */
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#  define MODVERSIONS
# endif
# ifdef MODVERSIONS
#  include <linux/modversions.h>
# endif
#else
# include <linux/config.h>
# include <linux/module.h>
# include <linux/kernel.h>
#endif


#include <linux/types.h> #include <asm/io.h> #include <asm/system.h> #include <asm/delay.h> #include <linux/errno.h> #include <sys/stream.h> #include <sys/cmn_err.h> #include <sys/kmem.h>

The linux/types.h is before the sys/streams.h include so the undef dev_t from linux-mdep.h must work or not ?

Any help to solve it ?

Thanks & Regards

Celso Suzuki

Ps: on LiS 2.16 no message error occurs.



_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to