From: "w.b.b" <rememberme_2000@126.com>
To: Linux-omap-open-source@linux.omap.com
Subject: Re: Is there wrong with the file :io.h????????
Date: Tue, 19 Sep 2006 17:28:54 +0800 [thread overview]
Message-ID: <003401c6dbce$064e52a0$4e0aa8c0@wbb> (raw)
In-Reply-To: 002b01c6dbc9$59934150$4e0aa8c0@wbb
[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]
i had found the way to avoid the error. modify the file asm/arch/io.h.
to change the data types ,such as u8,u16,u32 with uint8_t,uint16_t,uint32_t.
then there is no error when you compile that file.
i think there is a little bug in the io.h!!!
----- Original Message -----
From: "w.b.b" <rememberme_2000@126.com>
To: <Linux-omap-open-source@linux.omap.com>
Sent: Tuesday, September 19, 2006 4:54 PM
Subject: Is there wrong with the file :io.h????????
> hi:
> i 'd written a simeple program.and i'd found some questions about 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
>>
--------------------------------------------------------------------------------
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2006-09-19 9:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 14:21 omap irda problem Zgembo Adislic
2006-09-06 18:01 ` andrzej zaborowski
2006-09-19 2:57 ` informaton about gpio of omap w.b.b
2006-09-19 8:52 ` problem about io.h file!!!! w.b.b
2006-09-19 9:09 ` Stefano Babic
2006-09-19 8:54 ` Is there wrong with the file :io.h???????? w.b.b
2006-09-19 9:28 ` w.b.b [this message]
2006-09-19 10:56 ` Arnold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003401c6dbce$064e52a0$4e0aa8c0@wbb' \
--to=rememberme_2000@126.com \
--cc=Linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.