>
>
> Hi,
>
> I'm trying to setup cross-compilation tools on Solaris 2.5.1 and/or Digital
> Unix 4.0. Building the cross-compiler and binutils worked so far (though the
> 2.7.2 patches from fnet are not cleanly applicable ???). When I try to
> compile
> the 2.1.14-dec kernel, however, the compiler complains:
>
> In file included from init/main.c:13:
> /local/3/engel/cross/linux-2.1.14.2.dec/include/linux/types.h:31: warning:
> redef
> inition of `size_t'
> /usr/local/lib/gcc-lib/mips-dec-ultrix/2.7.2.1/include/stddef.h:17: warning:
> `si
> ze_t' previously declared here
> /local/3/engel/cross/linux-2.1.14.2.dec/include/linux/types.h:35: parse error
> be
> fore `ssize_t'
> /local/3/engel/cross/linux-2.1.14.2.dec/include/linux/types.h:35: warning:
> data
> definition has no type or storage class
> /local/3/engel/cross/linux-2.1.14.2.dec/include/linux/types.h:39: warning:
> redef
> inition of `ptrdiff_t'
> /usr/local/lib/gcc-lib/mips-dec-ultrix/2.7.2.1/include/stddef.h:14: warning:
> `pt
> rdiff_t' previously declared here
>
> So, there seems to be something wrong with the include files ... Any hints ???
You´re using the Ultrix GCC ...
Ralf
|