View Single Post
Old 12-12-2012, 11:16 AM   #14
knc1
\_(ツ)_/ <- Clueless
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 11,143
Karma: 11512569
Join Date: Feb 2012
Location: Central Texas
Device: Nothing KV or newer, not interested.
That reads as if your toolchain is picking up the host's sys/types.h rather than the target's sys/types.h
(ARM and most risc are different in a few details)

Someone asked on here recently if it made a difference which sys/types.h was used.
Answer: (days late) YES, it does.

gcc -E ...
Will show you the full paths of the include files being picked up.
knc1 is offline   Reply With Quote