Hi,
I have built egcs-1.0.2 and glibc-2.0.1 for the following platform.
build = sparc-sun-solaris2.5.1
host = sparc-sun-solaris2.5.1
target = mipsel-mips-linux
I am having problems trying to build fileutils and shell utils using
the above cross compiler and library.
I have downloaded fileutils-4.0.tar and from sh-utils-1.16
from http://sunsite.unc.edu/pub/gnu/
Problems with FileUtils:
When I try to configure fileutils with
build = sparc-sun-solaris2.5.1
host = mipsel-mips-linux
target = mipsel-mips-linux
I get this error
configure: error: could not determine how to read list of mounted
filesystems
Problem: Shell Utils:
Configure runs ok. But when I do make I get the error message appended
at the end of this message.
Can any of you please let me know how I can fix this.
thanks
madhu krishnamurthy
Error Message when I do make for shell uitls:
In file included from
krishm/sh-utils-1.16/lib/canon-host.c:25:
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:43: warning:
useless keyword or type name in empty declaration
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:43: warning:
empty declaration
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:47: warning:
useless keyword or type name in empty declaration
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:47: warning:
empty declaration
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:50: warning:
useless keyword or type name in empty declaration
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:50: warning:
empty declaration
In file included from
krishm/dec2/dec14_filtered_glibc/install/include/sys/types.h:70,
from
krishm/sh-utils-1.16/lib/canon-host.c:25:
krishm/dec2/dec14_filtered_egcs/install/lib/gcc-lib/mipsel-mips-linux/egcs
-2.90.27/include/stddef.h:168: warning: empty declaration
krishm/sh-utils-1.16/lib/canon-host.c: In function `canon_host':
krishm/sh-utils-1.16/lib/canon-host.c:53: warning: initialization makes
pointer from integer without a cast
/krishm/sh-utils-1.16/lib/canon-host.c:61: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:64: `AF_INET' undeclared (first use
this function)
krishm/sh-utils-1.16/lib/canon-host.c:64: (Each undeclared identifier is
reported only once
krishm/sh-utils-1.16/lib/canon-host.c:64: for each function it appears
in.)
krishm/sh-utils-1.16/lib/canon-host.c:65: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:65: warning: assignment makes
pointer from integer without a cast
krishm/sh-utils-1.16/lib/canon-host.c:70: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:73: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:73: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:73: dereferencing pointer to
incomplete type
krishm/sh-utils-1.16/lib/canon-host.c:73: warning: assignment makes
pointer from integer without a cast
krishm/sh-utils-1.16/lib/canon-host.c:77: dereferencing pointer to
incomplete type
make[2]: *** [canon-host.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
|