Hi all,
I have a RH8.0 installation into which I'm trying to build IEEE1394
(FireWire) support in order to use removable hard-drives for off-site backup
purposes. Thing is, when I try to build the appropriate module, the build
(make modules) fails with a spectacularly long list of error messages. Here
are the first few:
In file included from ieee1394_core.c:14:
/usr/src/linux-2.4.18-14/include/linux/kernel.h:60: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/linux/kernel.h:60: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/kernel.h:61: `panic_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/kernel.h:61: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/kernel.h:67: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/kernel.h:67:
`simple_strtoul_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/kernel.h:67: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/kernel.h:68: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/linux/kernel.h:68: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/kernel.h:68:
`simple_strtol_R_ver_str' declared as function returning a function
Now, among the odd things here is that I can't see anything remotely
resembling a questionable integer constant on or near line 60 of kernel.h.
Here's an excerpt:
57: struct completion;
58:
59: extern struct notifier_block *panic_notifier_list;
60: NORET_TYPE void panic(const char * fmt, ...)
61: __attribute__ ((NORET_AND format (printf, 1, 2)));
62: asmlinkage NORET_TYPE void do_exit(long error_code)
63: ATTRIB_NORET;
64: NORET_TYPE void complete_and_exit(struct completion *, long)
65: ATTRIB_NORET;
Now, to try and determine whether the problem was with the ieee1394 module
itself, or rather with the environment on that machine, I tried the build on
*another* 8.0 machine. Here, I discovered that the build problem did not
appear to be confined to that one module. Virtually ANY module I tried to
build resulted in similar messages. For instance, in compiling the "cipe"
module, I get similar error messages, but in a different place:
In file included from /usr/src/linux-2.4.18-14/include/linux/if.h:23,
from cipe.h:21,
from module.c:15:
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:249:
`memcpy_fromiovec_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/socket.h:258: invalid suffix on
integer constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:258: parse error before
numeric constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:258:
`memcpy_toiovec_R_ver_str' declared as function returning a function
And, if we look at socket.h, there is once again not much help (at least as
far as I can tell):
245: /* IPX options */
246: #define IPX_TYPE 1
247:
248: #ifdef __KERNEL__
249: extern int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov,
int len);
250: extern int memcpy_fromiovecend(unsigned char *kdata, struct iovec
*iov,
251: int offset, int len);
252: extern int csum_partial_copy_fromiovecend(unsigned char *kdata,
253: struct iovec *iov,
254: int offset,
255: unsigned int len, int
*csump);
So... I'm pretty stumped.
Anybody have any thoughts on this?
-Tony
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list