From: Arno Steffen <arno.steffen@web.de>
To: linux-omap@vger.kernel.org
Subject: Setup of tools / include path ?
Date: Thu, 11 Sep 2008 15:41:47 +0200 [thread overview]
Message-ID: <290843612@web.de> (raw)
I have a problem with my toolchain.
I am using codesourcery lite in /opt/cs ...
The omap kernel is in /opt/src/2.6-kernel ...
I try to compile some test programm for gpio testing of EVM board .. #include <asm/arch/gpio.h>
Since this gpio.h is not part of cs I tried to compile with -I option as below:
gcca -o gpio -I /opt/src/2.6_kernel/include/ gpio.c
In file included from /opt/src/2.6_kernel/include/asm/arch/hardware.h:44,
from /opt/src/2.6_kernel/include/asm/hardware.h:16,
from /opt/src/2.6_kernel/include/asm/arch/gpio.h:29,
from gpio.c:6:
/opt/src/2.6_kernel/include/asm/arch/io.h:185: error: expected ':', ',', ';', '}' or '__attribute__' before 'offset'
/opt/src/2.6_kernel/include/asm/arch/io.h:191: error: expected ':', ',', ';', '}' or '__attribute__' before 'offset'
What am I do wrong? I guess my toolchain is not done well, but I don't know how to do it better. Someone can help?
*gcca is a link to arm-none.../bin/....gcc
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2008-09-11 13:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=290843612@web.de \
--to=arno.steffen@web.de \
--cc=linux-omap@vger.kernel.org \
/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.