[FreeVMS] Re: Compile errors


Subject: [FreeVMS] Re: Compile errors
roart@nvg.ntnu.no
Date: Mon Jul 15 2002 - 11:56:46 CEST


On Mon, Jul 15, 2002 at 08:36:49AM +0100, Patrick Caulfield wrote:
>
> On Sun, Jul 14, 2002 at 12:10:52PM -0700, Daniel O'Neill wrote:
>
> Incidentally, what's the magic for getting a freeVMS kernel to compile?
>
> I have done all the bits in the HOWTO file but all it ever does (and I've tried
> this with most releases now) is error:
>
> gcc -D__KERNEL__ -I/tmp/t/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
> init/../../freevms/sys/src/../../lib/src/tqedef.h:34: warning: unnamed struct/union that defines no instances
>
> ... lots of similar warnings .....

But basically harmless ones.

> /tmp/t/linux/include/linux/mm.h:462: structure has no member named `count'
> init/main.c:831: `SOFTINT_RESCHED_VECTOR' undeclared (first use in this function)

Signs of header problems.

> Nobody else seems to have complained about this so it must be me - am I using
> the wrong Linux kernel (2.4.18) ?

Just tried following the same HOWTO myself, but with different result.
(Different, unrelated errors, corrected in reply to announcement mail)

What output does prescript give?

What kind of files are include/linux/mm.h and include/asm-i386/hw_irq.h?

Regards,
Roar Thronæs

-- 
Liste de diffusion FreeVMS
Pour se désinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe



This archive was generated by hypermail 2b25 : Mon Jul 15 2002 - 11:57:05 CEST