On Thursday 17 April 2008, Subrata Modak wrote: > On Thu, 2008-04-17 at 16:00 +0530, Sumit Agrawal wrote: > > HI, > > I downloaded the latest LTP suite from the website. I tried to compile > > the LTP . It's working fine with x86 gcc compiler. > > I tried to cross compile the same for my ARM11v6 target with the gcc > > compiler from the toolchain arm-2007q3. > > but it is giving the following errors . > > posix_fadvise01.c : 85: error : '__NR_fadvise64' undeclared ( firest > > use in this function ). > > This is because this syscall is not supported by your glibc. The most > probable will be to discard compilation on this stuff. For that you need > to write a small patch. > > Carmelo/Mike will tell you how to handle this. Till now we have handled > situations like kernel version checking, architecture checking, file > system checking. Now we might also need to check the glibc specific info > in combination with architecture specific info.
an ifdef for __NR_fadvise64 should work the same. we shouldnt have to worry about whether glibc provides the fadvise function in addition. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
