Re: Linux 2.4.21-pre5

From: Ben Lau (benlau@linux.org.hk)
Date: Thu Feb 27 2003 - 04:39:51 EST


Hi,

   I have tried to compile the -pre5 with IEEE1394
support and i got the following error:

 gcc -D__KERNEL__ -I/usr/src/2.4.21pre5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386
-DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=raw1394 -c
-o raw1394.o raw1394.c
 In file included from raw1394.c:50:
 raw1394.h:167: field `tq' has incomplete type
 raw1394.c: In function `__alloc_pending_request':
 raw1394.c:110: warning: implicit declaration of function `HPSB_INIT_WORK'
 raw1394.c:118: confused by earlier errors, bailing out
 make[2]: *** [raw1394.o] Error 1
 make[2]: Leaving directory `/usr/src/2.4.21pre5/drivers/ieee1394'
 make[1]: *** [_modsubdir_ieee1394] Error 2
 make[1]: Leaving directory `/usr/src/2.4.21pre5/drivers'
 make: *** [_mod_drivers] Error 2

The definition of hpsb_queue_struct was missing
in the -pre5. I found that it did exist on -pre4

/usr/src/2.4.21pre4/drivers/ieee1394/ieee1394_types.h:45:#define
hpsb_queue_struct tq_struct

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:41 EST