[FreeVMS] Re: Network Protocol Implementation


Subject: [FreeVMS] Re: Network Protocol Implementation
From: Patrick Caulfield (patrick@tykepenguin.com)
Date: Mon Jul 15 2002 - 09:36:49 CEST


On Sun, Jul 14, 2002 at 12:10:52PM -0700, Daniel O'Neill wrote:
>
> Is there currently any interest in network protocol implementation, or am I
> being a bit premature?
>
> The reason for this question, is I would consider now a crucial stage to
> start deploying IPv6 in both kernel and userspace areas of freevms. I can
> construct a small development team for this task, but I cannot do it alone.

I would imagine that doing the various IP flavours would be quite
straightforward as they are mostly provided as a BSD socket layer already, even
on VMS.

DECnet is more interesting, but probably not too hard (I have looked into it
briefly). I reckon a NETDRIVER wrapper around the socket interface of the
existing Linux DECnet code would do the job.

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
In file included from /tmp/t/linux/include/linux/sched.h:24,
                 from /tmp/t/linux/include/linux/mm.h:4,
                 from /tmp/t/linux/include/linux/slab.h:14,
                 from /tmp/t/linux/include/linux/proc_fs.h:5,
                 from init/main.c:17:
/tmp/t/linux/include/linux/tty.h:162: warning: `TTY_PARITY' redefined
init/../../freevms/sys/src/../../lib/src/../../sys/src/sysgen.h:229: warning: this is the location of the previous definition
In file included from init/../../freevms/sys/src/system_data_cells.h:8,
                 from init/main.c:14:
init/../../freevms/sys/src/../../lib/src/tqedef.h:29: warning: unnamed struct/union that defines no instances
init/../../freevms/sys/src/../../lib/src/tqedef.h:34: warning: unnamed struct/union that defines no instances

... lots of similar warnings .....

/tmp/t/linux/include/linux/mm.h: In function `is_page_cache_freeable':
/tmp/t/linux/include/linux/mm.h:462: structure has no member named `count'
/tmp/t/linux/include/linux/mm.h:463: warning: control reaches end of non-void function
init/main.c: In function `start_kernel':
init/main.c:570: warning: implicit declaration of function `puts'
init/main.c:635: warning: implicit declaration of function `lnm_init'
init/main.c: In function `prepare_namespace':
init/main.c:831: `SOFTINT_RESCHED_VECTOR' undeclared (first use in this function)
init/main.c:831: (Each undeclared identifier is reported only once
init/main.c:831: for each function it appears in.)
init/main.c: In function `init':
init/main.c:865: warning: unsigned int format, pointer arg (arg 2)
init/main.c:865: warning: unsigned int format, pointer arg (arg 4)
init/main.c:865: warning: unsigned int format, pointer arg (arg 5)
init/main.c:865: warning: unsigned int format, pointer arg (arg 6)
init/main.c:865: warning: unsigned int format, pointer arg (arg 8)
init/main.c:865: warning: unsigned int format, pointer arg (arg 9)
init/main.c: At top level:
init/main.c:906: warning: type mismatch with previous implicit declaration
init/main.c:570: warning: previous implicit declaration of `puts'
init/main.c:906: warning: `puts' was previously implicitly declared to return `int'
make: *** [init/main.o] Error 1

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

-- 

patrick

-- 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 - 09:36:59 CEST