* Is there wrong with io.h???
@ 2006-09-19 9:00 rememberme_2000
0 siblings, 0 replies; only message in thread
From: rememberme_2000 @ 2006-09-19 9:00 UTC (permalink / raw)
To: linux-omap-open-source
hi:
i 'd written a simple program.and found some wrong with io.h.
the following code is:
that:
#include<asm/arch/gpio.h>
main()
{
omap_request_gpio(3);
omap_set_gpio_direction(3,1);
}
compile command :
arm-linux-gcc -I linux-2.6.13.4/include -c main.c
and then i got the following error information:
linux-2.6.13.4/include/asm/arch/io.h:91 error:parse error before "offset"
linux-2.6.13.4/include/asm/arch/io.h:97 error:parse error before "offset"
linux-2.6.13.4/include/asm/arch/io.h:102 error:parse error before "offset".
the toolchains which i used is gcc-3.4.1 for omap 5912,and the kernel is linux-2.6.13.4 for osk.
Is the file wrong? i'm not sure about it!!!!!!!
who has interest in it? i hope to get your help.
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-19 9:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-19 9:00 Is there wrong with io.h??? rememberme_2000
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox