This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Wrong header file taskstats.h


Hi all,

I am trying to cross compile the linux test project for an arm processor
using the arm-unknown-linux-gnu crosstool-ng generated toolchain. The
compilation goes perfectly until I get this error:

getdelays.c:215: error: 'struct taskstats' has no member named
'freepages_count'
getdelays.c:216: error: 'struct taskstats' has no member named
'freepages_delay_total'

When I compared between the taskstats.h of my cross toolchain and that
of my native toolchain, I saw that effectively in the former the two
fields "freepages_count" and "freepages_delay_total" are missing (it is
the same for all crosstool-ng's toolchains). I am wondering if this
happens only for certain versions of glibc or uclibc or if I am missing
something.
Does someone know how to  how to fix this problem ?

Thanks,

PS: When adding manually the two missing fields to
"sys-root/usr/include/linux/taskstat.h" we didn't get the error.

 --
Hichem BOUSSETTA


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]