From: Vincent <vincent.stehle@laposte.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix compilation for OMAP3 EVM
Date: Sat, 20 Aug 2011 13:24:11 +0200 [thread overview]
Message-ID: <4E4F995B.9070301@bergerie> (raw)
In-Reply-To: <4E4F40FC.5080707@googlemail.com>
> On which branch do you see this issue? u-boot master?
Yes, on 'master'. I used commit fa82f871c8dbc9a15e8dc274b3f99dd5fa0da458.
> Which error do you see?
evm.c:36:27: error: asm/arch/gpio.h: No such file or directory
Here is the end of the build log:
...
make[1]: Entering directory
`/home/vincent/divers/ubuntu/natty-omap3evm/u-boot/board/ti/evm'
ccache arm-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8
-msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000
-I/home/vincent/divers/ubuntu/natty-omap3evm/u-boot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.4.5/include -pipe -DCONFIG_ARM
-D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5
-Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral
-Wno-format-security -o evm.o evm.c -c
evm.c:36:27: error: asm/arch/gpio.h: No such file or directory
evm.c: In function ?reset_net_chip?:
evm.c:198: warning: implicit declaration of function ?omap_request_gpio?
evm.c:205: warning: implicit declaration of function
?omap_set_gpio_direction?
evm.c:208: warning: implicit declaration of function ?omap_set_gpio_dataout?
make[1]: *** [evm.o] Error 1
make[1]: Leaving directory
`/home/vincent/divers/ubuntu/natty-omap3evm/u-boot/board/ti/evm'
make: *** [board/ti/evm/libevm.o] Error 2
> Does
> http://patchwork.ozlabs.org/patch/107678/
> fix the issue you see, too?
Hmm. The error is different but 'master' won't build either with this
patch applied.
Build log:
ccache arm-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8
-msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000
-I/home/vincent/divers/ubuntu/natty-omap3evm/u-boot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.4.5/include -pipe -DCONFIG_ARM
-D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5
-Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral
-Wno-format-security -o gpio.o gpio.c -c
gpio.c:39:27: error: asm/arch/gpio.h: No such file or directory
gpio.c: In function ?get_gpio_bank?:
gpio.c:45: error: ?omap_gpio_bank? undeclared (first use in this function)
gpio.c:45: error: (Each undeclared identifier is reported only once
gpio.c:45: error: for each function it appears in.)
gpio.c: In function ?_set_gpio_direction?:
gpio.c:74: error: dereferencing pointer to incomplete type
gpio.c:77: error: dereferencing pointer to incomplete type
gpio.c:78: error: ?METHOD_GPIO_24XX? undeclared (first use in this function)
gpio.c: In function ?_set_gpio_dataout?:
gpio.c:105: error: dereferencing pointer to incomplete type
gpio.c:108: error: dereferencing pointer to incomplete type
gpio.c:109: error: ?METHOD_GPIO_24XX? undeclared (first use in this
function)
gpio.c: In function ?omap_get_gpio_datain?:
gpio.c:142: error: dereferencing pointer to incomplete type
gpio.c:143: error: dereferencing pointer to incomplete type
gpio.c:144: error: ?METHOD_GPIO_24XX? undeclared (first use in this
function)
make[1]: *** [gpio.o] Error 1
make[1]: Leaving directory
`/home/vincent/divers/ubuntu/natty-omap3evm/u-boot/arch/arm/cpu/armv7/omap-common'
make: *** [arch/arm/cpu/armv7/omap-common/libomap-common.o] Error 2
Best regards,
--
Vincent Stehl?
prev parent reply other threads:[~2011-08-20 11:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 22:37 [U-Boot] [PATCH] Fix compilation for OMAP3 EVM Vincent
2011-08-20 5:07 ` Dirk Behme
2011-08-20 11:24 ` Vincent [this message]
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=4E4F995B.9070301@bergerie \
--to=vincent.stehle@laposte.net \
--cc=u-boot@lists.denx.de \
/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