RE: 0.9.53 compilation error using 2.2.18pre21 headers


Subject: RE: 0.9.53 compilation error using 2.2.18pre21 headers
From: Clayton,Keith - Programmer (Clayton@ltcc.cc.ca.us)
Date: Tue Nov 14 2000 - 09:38:57 MST


I just commented out the typedef line . . my sheep_net module seems to be
functioning just fine. Can't say that is the proper solution but I didn't
have time to look closer.

Cheers,
Keith

Keith Clayton
Programmer/Analyst, Lake Tahoe Community College
clayton@ltcc.cc.ca.us

"If you don't trust me with your source code, why should I trust you with my
computer"

No electrons were harmed in the creation of this email

> -----Original Message-----
> From: R Shapiro [SMTP:reshapiro@mediaone.net]
> Sent: Tuesday, November 14, 2000 8:27 AM
> To: mol-general@lists.maconlinux.org
> Subject: 0.9.53 compilation error using 2.2.18pre21 headers
>
> I made the following change to sheep.c to get mol to compile with the
> 2.2.18pre21 headers:
>
> diff -ur mol-0.9.53.orig/netdriver/sheep.c mol-0.9.53/netdriver/sheep.c
> --- mol-0.9.53.orig/netdriver/sheep.c Mon Oct 30 15:35:32 2000
> +++ mol-0.9.53/netdriver/sheep.c Tue Nov 14 11:06:39 2000
> @@ -28,8 +28,10 @@
> #define LINUX_24
> #else
> #define net_device device
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)
> typedef struct wait_queue *wait_queue_head_t;
> #define init_waitqueue_head(x) *(x)=NULL
> +#endif
> #endif
>
> #define DEBUG 0
>
>
> This gets through the compile. The problem is that the typedef and
> the define are now already in /usr/src/linux/include/linux/wait.h.
>
>
> --
> reshapiro@mediaone.net



This archive was generated by hypermail 2a24 : Tue Nov 14 2000 - 09:44:52 MST