Hi
I finally got modutils going. After a problem during kernel compile,
which I think was a result of clock-drift, I had to tackle depmod.
Finally, I found a problem which might be a egcs problem:
In depmod/conf_file.c:
--------------------------------------------
static struct mod_alias
{
struct mod_alias *next;
char *name;
char *alias;
}
alias_list[] =
{
#include "alias.h"
{
NULL, NULL, NULL
}
};
--------------------------------------------
This gets expanded to by cpp:
--------------------------------------------
static struct mod_alias
{
struct mod_alias *next;
char *name;
char *alias;
}
alias_list[] =
{
# 1 "alias.h" 1
#ident "$Id: alias.h,v 1.3 1998/01/07 08:26:25 rth Exp $"
{(void *) 0, "binfmt-2", "binfmt_aout"},
{(void *) 0, "binfmt-0107", "binfmt_aout"},
{(void *) 0, "binfmt-204", "binfmt_aout"},
{(void *) 0, "binfmt-263", "binfmt_aout"},
{(void *) 0, "binfmt-264", "binfmt_aout"},
...
{
NULL, NULL, NULL
}
};
--------------------------------------------
The '#ident' line makes the array initialisation incorrect. After removing
this line, depmod compiles and works correctly.
EGCS guru's, any hints?
I have placed a patched modutils-2.1.121-4D.mipsel.rpm on my website
on http://www.xs4all.nl/~vhouten/mipsel
Regards,
--
Karel van Houten
----------------------------------------------------------
The box said "Requires Windows 95 or better."
I can't understand why it won't work on my Linux computer.
----------------------------------------------------------
|