MOL-0.9.64 available

Anne et Bertrand mol-general@lists.maconlinux.org
Mon, 8 Jul 2002 16:11:53 +0200


I'm trying to compile it on a 603e computer with MdkPPC-8.2, but with a 
2.4.4 kernel from Mdk8.0, because 2.4.18 always crashes for me.


Le 2002.07.08 12:59, samuel@ibrium.se a écrit :
> On Mon, Jul 08, 2002 at 09:25:31PM +1200, Henry Harrison wrote:
> > In file included from ../include/dis-asm.h:13,
> >                   from monitor.c:37:
> > /usr/include/bfd.h:106: conflicting types for `false'
> > /usr/lib/gcc-lib/ppc-mandrake-linux-gnu/2.95.3/include/stdbool.h:9:
> > previous declaration of `false'
> > /usr/include/bfd.h:106: conflicting types for `true'
> > /usr/lib/gcc-lib/ppc-mandrake-linux-gnu/2.95.3/include/stdbool.h:11:
> 
> > previous declaration of `true'
> > make[3]: *** [monitor.o] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error 1
> >
> > Anyone got a solution to this please? Otherwise I'll wait for the
> > mol.rpm, and install from that.
> >
> 
> 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 ?


> 
> Another solution is disabling the debugger. Edit
> src/debugger/Makefile.am
> and comment out the line
> 
> SUBDIRS                         = deb mon

And the line after too... and the deb directory is well ignored.



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'
tun.c:85: `TUN_ONE_QUEUE' undeclared (first use in this function)
tun.c:85: (Each undeclared identifier is reported only once
tun.c:85: for each function it appears in.)
tun.c:88: structure has no member named `readq'
tun.c:88: `TUN_READQ_SIZE' undeclared (first use in this function)
tun.c:93: structure has no member named `readq'
tun.c:96: structure has no member named `readq'
tun.c: In function `tun_chr_poll':
tun.c:179: structure has no member named `readq'
tun.c: In function `tun_get_user':
tun.c:221: warning: implicit declaration of function `netif_rx_ni'
tun.c: In function `tun_chr_readv':
tun.c:317: structure has no member named `readq'
tun.c: In function `tun_set_iff':
tun.c:364: structure has no member named `attached'
tun.c:368: structure has no member named `owner'
tun.c:369: structure has no member named `owner'
tun.c:379: structure has no member named `readq'
tun.c:382: structure has no member named `owner'
tun.c:410: incompatible types in assignment
tun.c:418: `IFF_ONE_QUEUE' undeclared (first use in this function)
tun.c:419: `TUN_ONE_QUEUE' undeclared (first use in this function)
tun.c:422: structure has no member named `attached'
tun.c: In function `tun_chr_ioctl':
tun.c:473: `TUNSETPERSIST' undeclared (first use in this function)
tun.c:476: `TUN_PERSIST' undeclared (first use in this function)
tun.c:484: `TUNSETOWNER' undeclared (first use in this function)
tun.c:486: structure has no member named `owner'
tun.c: In function `tun_chr_close':
tun.c:552: structure has no member named `attached'
tun.c:555: structure has no member named `readq'
tun.c:557: `TUN_PERSIST' undeclared (first use in this function)
tun.c: At top level:
tun.c:570: `no_llseek' undeclared here (not in a function)
tun.c:570: initializer element is not constant
tun.c:570: (near initialization for `tun_fops.llseek')
make[2]: *** [tun.o] Erreur 1
make[1]: *** [all-recursive] Erreur 1
make: *** [all-recursive] Erreur 1

What's this new problem ?
Thanks, Bertrand Dekoninck