public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Setup of tools / include path ?
@ 2008-09-11 13:41 Arno Steffen
  0 siblings, 0 replies; only message in thread
From: Arno Steffen @ 2008-09-11 13:41 UTC (permalink / raw)
  To: linux-omap

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-11 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 13:41 Setup of tools / include path ? Arno Steffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox