public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "w.b.b" <rememberme_2000@126.com>
To: Linux-omap-open-source@linux.omap.com
Subject: Is there wrong with the file :io.h????????
Date: Tue, 19 Sep 2006 16:54:32 +0800	[thread overview]
Message-ID: <002b01c6dbc9$59934150$4e0aa8c0@wbb> (raw)
In-Reply-To: 002901c6db97$5415d760$4e0aa8c0@wbb

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

 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
>

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2006-09-19  8:54 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     ` w.b.b [this message]
2006-09-19  9:28       ` Is there wrong with the file :io.h???????? w.b.b
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='002b01c6dbc9$59934150$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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox