Any ideas on how to mend this problem?
-Rob
On Tue, 29 Oct 1996, Keith Rohrer wrote:
> gcc -O6 -pipe -fomit-frame-pointer -Wall -c insmod.c -o insmod.o
> In file included from /usr/include/linux/elf.h:4,
> from insmod.h:23,
> from insmod.c:71:
> /usr/include/asm/elf.h:13: sizeof applied to an incomplete type
> make[1]: *** [insmod.o] Error 1
>
> The relevant parts of asm/elf.h:
>
> typedef unsigned long elf_greg_t;
>
> #define ELF_NGREG (sizeof (struct user_regs_struct) /
> sizeof(elf_greg_t))
> typedef elf_greg_t elf_gregset_t[ELF_NGREG];
>
> Line 13 is the last typedef (which uses the ELF_NGREG macro).
>
> You know what to do.[1]
>
> Keith
>
>
> [1]: Blame it on people without the imagination to make up REAL elf
> names, of course. I mean, whoever heard of an elf named "Greg"? If you
> can't rip off someone else's elf names (e.g. "Questor"), go for long
> ("Aglaranna"), woodsy ("Silverleaf"), and/or bug me for one
> ("Leitryonne").
>
> --
> "It moved faster. I swear, they are evolving right before my eyes. If
> you see something this big, with eight legs coming your way, let me
> know;
> I have to kill it before it develops language skills."
> --- Ambassador Londo Mollari, in 'Sic Transit Vir' (Babylon 5)
>
>