make problems
Karin.Riedl@informatik.fh-muenchen.de
Karin.Riedl@informatik.fh-muenchen.de
Tue Jun 1 11:47:00 GMT 2004
Hi,
this time it compilled a lot of stuff, but after a few warnings it stopped with
a few errors:
in file included from /usr/include/linux/stat.h:57,
from
/home/dukart/newlib-Intel/i686-pc-linux-gnu/newlib/targ-include/sys/stat.h:11,
from ../../../../../newlib-1.12.0/newlib/libc/search/hash.c:44:
/usr/include/linux/time.h: In function `timespec_to_jiffies':
/usr/include/linux/time.h:197: error: `u64' undeclared (first use in this
function)
/usr/include/linux/time.h:197: error: (Each undeclared identifier is reported
only once
/usr/include/linux/time.h:197: error: for each function it appears in.)
/usr/include/linux/time.h:201: error: parse error before "sec"
/usr/include/linux/time.h:201: error: parse error before ')' token
/usr/include/linux/time.h: In function `jiffies_to_timespec':
/usr/include/linux/time.h:214: error: `u64' undeclared (first use in this
function)
/usr/include/linux/time.h:214: error: parse error before "nsec"
/usr/include/linux/time.h:215: error: `nsec' undeclared (first use in this
function)
/usr/include/linux/time.h: In function `timeval_to_jiffies':
/usr/include/linux/time.h:236: error: `u64' undeclared (first use in this
function)
/usr/include/linux/time.h:240: error: parse error before "sec"
/usr/include/linux/time.h:240: error: parse error before ')' token
/usr/include/linux/time.h: In function `jiffies_to_timeval':
/usr/include/linux/time.h:252: error: `u64' undeclared (first use in this
function)
/usr/include/linux/time.h:252: error: parse error before "nsec"
/usr/include/linux/time.h:253: error: `nsec' undeclared (first use in this
function)
make[4]: *** [hash.lo] Fehler 1
After I have successfully compiled the newlib for an i686 I want to build a
library with less functionality (e.g. without libm) for a few architectures
(arm, intel, mips).
Can you give me an advice which would be the right way to do this?
Bye Karin
Quoting Jeff Johnston <jjohnstn@redhat.com>:
> Karin.Riedl@informatik.fh-muenchen.de wrote:
> >
> > Hi,
> > I'm having a little problem with building the newlib-1.12.0 (host + target
> =
> > i686).
> >
> > I tried:
> > ../newlib-1.12.0/configure
> > After this I wanted to run make, and got the following message:
> > make[1]: Für das Ziel all ist nichts zu tun. ( nothing to do for "all")
> > What did I wrong?
> >
>
> Newlib was initially designed for cross-targets. For native builds, the
> default
> is to use glibc which is far more robust than newlib. To force a native
> newlib
> for i686, you need to add --with-newlib as a configuration argument.
>
> ../newlib-1.12.0/configure --with-newlib
>
> -- Jeff J.
>
>
More information about the Newlib
mailing list