Re: mol-0.9.51 available for download


Subject: Re: mol-0.9.51 available for download
From: Martin Costabel (costabel@wanadoo.fr)
Date: Sun Oct 22 2000 - 14:59:46 MDT


Samuel Rydh wrote:
>
> The latest release of MOL (0.9.51) is now available for download
> from <http://www.maconlinux.org>.

I have problems compiling MOL recently. One problem is something I asked
before, but didn't get an answer, AFAIR:

What kernel headers is one supposed to compile MOL with, if it should
run on a 2.4 kernel? If /usr/src/linux points to 2.4 kernel sources,
compilation bombs at

ld -r -o mon.o ppc-opc.o ppc-dis.o m68k-opc.o m68k-dis.o floatformat.o
gcc -pipe -O2 -Wall -fomit-frame-pointer -mmultiple
-I/mnt/root2/BUILD/mol-0.9.51/sinclude -I./include -I../include -c -o
obj/breakpoints.o breakpoints.c
In file included from ../include/exceptions.h:22,
                 from breakpoints.c:24:
../include/wrapper.h:42: warning: `struct device_node' declared inside
parameter list
....
../include/wrapper.h:67: parse error before `PTE'
../include/wrapper.h:68: parse error before `PTE'
make[1]: *** [obj/breakpoints.o] Error 1

If I use 2.2 kernel headers, the modules will have the wrong version,
obviously.

When compiling from a source directory, I could work around this by
first compiling everything with the 2.2 headers, then cleaning the
kernel_module and netdriver directories, changing the kernel header link
to 2.4 headers, and compiling the 2 directories again.

But how does one do this inside "rpm --rebuild"?

(Well, for the moment, this is moot, anyway, because 603 doesn't work
yet).

Today a new problem came up:

ld -lncurses -r -o debugger.o obj/breakpoints.o obj/extralib.o
obj/mmu_cmds.o obj/nub.o obj/dgram.o
ld: cannot find -lncurses
make[1]: *** [debugger.o] Error 1

libncurses exists, of course. The problem seems to be the -r and -l
flags together. Is a special version of ld needed? I have "GNU ld
version 2.10.90 (with BFD 2.10.0.18)" from
binutils-2.10.0.18-0a.ppc.rpm.

--
Martin



This archive was generated by hypermail 2a24 : Sun Oct 22 2000 - 15:07:32 MDT