MOL-0.9.64 available
mol-general@lists.maconlinux.org
mol-general@lists.maconlinux.org
Mon, 8 Jul 2002 16:39:52 +0200
On Mon, Jul 08, 2002 at 04:11:53PM +0200, Anne et Bertrand wrote:
> > This seems to be a case of incompatible header files. Upgrading
> > the binutils package might help (/usr/include/bfd.h normally
> > belong to this package).
>
> 8 MB download for binutils sources on Mdk-cooker... binutils-2.12.90 is
> OK ?
Possibly.
> I encountered another error after :
>
> creating src/kmod/Linux/Makefile
> ===========================================================
> Kernel headers: /lib/modules/2.4.4-6.2mdk/build/include
> Module compiled for: 2.4.4-6.2mdk
> Running kernel: 2.4.4-6.2mdk
> ===========================================================
> Making all in netdriver
> creating src/netdriver/Makefile
> gcc -DHAVE_CONFIG_H -I. -I. -I../../src/shared -g -O2 -Wall -Wall
> -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I-
> -I/lib/modules/2.4.4-6.2mdk/build/include -DMODVERSIONS -include
> /lib/modules/2.4.4-6.2mdk/build/include/linux/modversions.h -c tun.c
> In file included from
> /lib/modules/2.4.4-6.2mdk/build/include/linux/sched.h:9,
> from tun.c:33:
> /lib/modules/2.4.4-6.2mdk/build/include/linux/binfmts.h:45: warning:
> `struct mm_struct' declared inside parameter list
> /lib/modules/2.4.4-6.2mdk/build/include/linux/binfmts.h:45: warning:
> its scope is only this definition or declaration, which is probably not
> what you want.
> tun.c: In function `tun_net_xmit':
> tun.c:81: structure has no member named `attached'
>
> What's this new problem ?
> Thanks, Bertrand Dekoninck
Apparently the tun source is not compile with older 2.4 kernels.
Either disable it (./configure --disable-tun) or use a more
recent 2.4 kernel.
Cheers,
/Samuel