Onsdag 15. april 2009, skrev Allan Lyons:
> On Wed, Apr 15, 2009 at 01:41:58PM +0200, Nils Olav Fossum wrote:
> > However, I just gave up Lenny for now, and installed etch to compile cvs.
> > there is a clash somewhere compiling glibc( it fails on limits.h).
> >
> > I have googled like a madman to find a solution for Lenny to no avail.
> >
> > Does someone have a workaround?
>
> Which compiler are you using?  With Lenny you could install gcc version
> 4.1, 4.2, or 4.3.  The workaround that seems to work for me is to use gcc
> 4.1 rather than 4.3 which I think is the default.
>
> Assuming that you have 4.1 installed, try:
>
> $ make CC=gcc-4.1
>
> There were some recent changes to the makefile that should make this work. 
> (I haven't tried them since on my machine gcc is gcc-4.1) glibc is very
> picky about which version of gcc is used to compile it.
>
>

Allan, thanks for the reply.

yes, 
make CC=gcc-4.1
changes things a bit.

Now it seems like dosemu is the problem:

gcc-4.1 -I/home/nils/src/unattended/20090414/unattended/linuxboot/fakeinclude 
-MP -MMD -I../../src/include -I../../src/plugin/include 
-I/home/nils/src/unattended/20090414/unattended/linuxboot/dosemu-1.4.0/src/include
  -traditional -Wa,-a -c -o 
ems.o 
/home/nils/src/unattended/20090414/unattended/linuxboot/dosemu-1.4.0/src/commands/ems.S
 
> ems.s.out
/home/nils/src/unattended/20090414/unattended/linuxboot/fakeinclude/string.h: 
Assembler messages:
/home/nils/src/unattended/20090414/unattended/linuxboot/fakeinclude/string.h:28:
 
Error: invalid character '_' in mnemonic
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:214: Error: no such 
instruction: `typedef unsigned int size_t'
/home/nils/src/unattended/20090414/unattended/linuxboot/fakeinclude/string.h:36:
 
Error: invalid character '_' in mnemonic

..snip..

/home/nils/src/unattended/20090414/unattended/linuxboot/fakeinclude/string.h:432:
 
Error: invalid character '_' in mnemonic
/home/nils/src/unattended/20090414/unattended/linuxboot/dosemu-1.4.0/src/commands/ems.S:180:
 
Error: can't handle non absolute segment in `lcall'
make: *** [ems.o] Fejl 1
make: Forlader 
katalog 
'/home/nils/src/unattended/20090414/unattended/linuxboot/build-dosemu-1.4.0/src/commands'

..snip..

(sorry for the line breaks)
so, it looks like 
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h 
plays a role in this..

..host leakage again..
hm, I wonder if some kind of cross-build-tool is the way ahead..





------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to