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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html