[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [openrisc] uclibc compilation error
Hi:
Thank for your response but the problem is other. When I compile uclibc
he says : stddef.h not found. I copy stddef.h to the directory but then I
obtain the error: limits.h not found.
I follow the instructions in readme.or32 in the uclinux section of the web
step by step but I obtain the error:
Thanks again
----- Original Message -----
From: "Marko Mlinar" <[email protected]>
To: <[email protected]>
Sent: Friday, October 18, 2002 8:04 AM
Subject: Re: [openrisc] uclibc compilation error
> On Thursday 17 October 2002 19:43, [email protected] wrote:
> > I made a mistake, I create the Config file in the ./extra/Configs path
> > not in the /uclibc path, but now I have another error. I subtitute the
> > paths in the Config file and when I execute make all install I obtain
> > this:
>
> It is surely hard to read the below errors :)
> your host compiler -- 'gcc' is not working. I am not sure what have you
done,
> to obtain it, hopefully you just rewriten PATH or INCLUDE variables.
> Otherwise you will probably have to reinstall (your host -- not or1k) gcc.
>
> Marko
>
>
> > (cd include/bits && ln -sf ../../../../../uClibc_config.h
> > uClibc_config.h)
> > make -C libc/sysdeps/linux/or32 headers
> > make[1]: Cambiando a directorio
> > `/tmp/tools/or1k/uclibc/libc/sysdeps/linux/or32'
> > make[1]: Saliendo directorio
> > `/tmp/tools/or1k/uclibc/libc/sysdeps/linux/or32'
> > make -C extra
> > make[1]: Cambiando a directorio `/tmp/tools/or1k/uclibc/extra'
> > make -C gcc-uClibc
> > make[2]: Cambiando a directorio
> > `/tmp/tools/or1k/uclibc/extra/gcc-uClibc'
> > gcc -Wall -O2 -s gcc-uClibc.c -o or32-uclibc-gcc
> > gcc-uClibc.c:73:19: stdio.h: No existe el fichero o el directorio
> > gcc-uClibc.c:74:20: stdlib.h: No existe el fichero o el directorio
> > gcc-uClibc.c:76:20: string.h: No existe el fichero o el directorio
> > gcc-uClibc.c:77:20: unistd.h: No existe el fichero o el directorio
> > gcc-uClibc.c:90: error de decodificaci�n antes de "size"
> > gcc-uClibc.c: En la funci�n `xmalloc':
> > gcc-uClibc.c:92: aviso: declaraci�n impl�cita de la funci�n `malloc'
> > gcc-uClibc.c:92: `size' no ha sido declarado aqu� (primero �selo en
> > esta funci�n)
> > gcc-uClibc.c:92: (Cada identificador no declarado solamente se reporta
> > una vez
> > gcc-uClibc.c:92: para cada funcion en la que aparece.)
> > gcc-uClibc.c:92: aviso: asignaci�n de valores iniciales crea un
> > apuntador desde un entero sin una conversi�n
> > gcc-uClibc.c:95: aviso: declaraci�n impl�cita de la funci�n `fprintf'
> > gcc-uClibc.c:95: `stderr' no ha sido declarado aqu� (primero �selo en
> > esta funci�n)
> > gcc-uClibc.c:96: aviso: declaraci�n impl�cita de la funci�n `exit'
> > gcc-uClibc.c:96: `EXIT_FAILURE' no ha sido declarado aqu� (primero
> > �selo en esta funci�n)
> > gcc-uClibc.c: En la funci�n `xstrcat':
> > gcc-uClibc.c:123: `BUFSIZ' no ha sido declarado aqu� (primero �selo en
> > esta funci�n)
> > gcc-uClibc.c:129: aviso: declaraci�n impl�cita de la funci�n `strcat'
> > gcc-uClibc.c: En la funci�n `main':
> > gcc-uClibc.c:154: aviso: declaraci�n impl�cita de la funci�n `getenv'
> > gcc-uClibc.c:154: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:159: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:164: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:165: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:167: `NULL' no ha sido declarado aqu� (primero �selo en
> > esta funci�n)
> > gcc-uClibc.c:183: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:188: aviso: asignaci�n crea un apuntador desde un entero
> > sin una conversi�n
> > gcc-uClibc.c:193: aviso: declaraci�n impl�cita de la funci�n `strstr'
> > gcc-uClibc.c:216: aviso: declaraci�n impl�cita de la funci�n `strcmp'
> > gcc-uClibc.c:233: aviso: declaraci�n impl�cita de la funci�n `strncmp'
> > gcc-uClibc.c:313: aviso: declaraci�n impl�cita de la funci�n `printf'
> > gcc-uClibc.c:320: aviso: declaraci�n impl�cita de la funci�n `execvp'
> > make[2]: *** [gcc-uClibc] Error 1
> > make[2]: Saliendo directorio `/tmp/tools/or1k/uclibc/extra/gcc-uClibc'
> > make[1]: *** [_dir_gcc-uClibc] Error 2
> > make[1]: Saliendo directorio `/tmp/tools/or1k/uclibc/extra'
> > make: *** [_dir_extra] Error 2
>
> --
> To unsubscribe from openrisc mailing list please visit
http://www.opencores.org/mailinglists.shtml
_______________________________________________________________
Copa del Mundo de la FIFA 2002
El �nico lugar de Internet con v�deos de los 64 partidos.
�Ap�ntante ya! en http://fifaworldcup.yahoo.com/fc/es/
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml