[uClibc]m68k-elf tools and uClibc.

David McCullough davidm at lineo.com
Tue Jul 10 12:44:08 UTC 2001


Jivin Kendrick Hamilton lays it down ...
> Can anybody help me with a bug in m68k build script at uClibc.
> The error is :
> 
> /home/hamilton/new_tools/m68k-elf-gcc/gcc/xgcc
> -B/home/hamilton/new_tools/m68k-elf-gcc/gcc/ -B/usr/local/m68k-elf/bin/
> -c -g -O2 -I. -I../../../gcc-2.95.3/libio  
> ../../../gcc-2.95.3/libio/iogetc.c -o pic/iogetc.o
> /home/hamilton/new_tools/m68k-elf-gcc/gcc/xgcc
> -B/home/hamilton/new_tools/m68k-elf-gcc/gcc/ -B/usr/local/m68k-elf/bin/
> -c -g -O2 -I. -I../../../gcc-2.95.3/libio 
> ../../../gcc-2.95.3/libio/iogetc.c
> ../../../gcc-2.95.3/libio/iogetc.c:47: conflicting types for `getc'
> /home/hamilton/new_tools/m68k-elf-gcc/gcc/include/stdio.h:286: previous
> declaration of `getc'

Until someone figures out a fix for this problem,  your best best is to
checkout a verison of uClibc from the date that I cut that version of
the tools.

There was a point about then that the CVS version was working ;-)
I know it's painful,  but you could try something like:

	cvs co -D "Sun Jun 10 20:00 EST 2001" uClibc

And see how that goes.  Maybe try a day earlier.  Once the tools are built
you can use them to build the later uClibc without any problems,

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (Where Open Meets Smart)
davidm at lineo.com   Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102, Oz





More information about the uClibc mailing list