* [U-Boot] build mkimage warning
@ 2017-02-22 11:21 Bin Meng
2017-02-22 15:22 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2017-02-22 11:21 UTC (permalink / raw)
To: u-boot
Hi Tom, Simon,
With latest main branch, I see some warnings when building mkimage:
HOSTLD tools/mkimage
LDFLAGS="" python ./lib/libfdt/setup.py \
"-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-include ./include/libfdt_env.h -idirafterinclude
-idirafter./arch/x86/include -I./lib/libfdt -I./tools
-DCONFIG_SYS_TEXT_BASE=0xfff00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c
lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c
lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
In file included from /usr/local/include/python2.7/Python.h:8,
from tools/libfdt_wrap.c:125:
/usr/local/include/python2.7/pyconfig.h:1193:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdint.h:26,
from ././include/compiler.h:19,
from ././include/libfdt_env.h:12,
from <command-line>:0:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/local/include/python2.7/Python.h:8,
from tools/libfdt_wrap.c:125:
/usr/local/include/python2.7/pyconfig.h:1215:1: warning:
"_XOPEN_SOURCE" redefined
In file included from /usr/include/stdint.h:26,
from ././include/compiler.h:19,
from ././include/libfdt_env.h:12,
from <command-line>:0:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
mv _libfdt.so tools/_libfdt.so
Regards,
Bin
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] build mkimage warning
2017-02-22 11:21 [U-Boot] build mkimage warning Bin Meng
@ 2017-02-22 15:22 ` Tom Rini
2017-02-28 9:19 ` Bin Meng
0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2017-02-22 15:22 UTC (permalink / raw)
To: u-boot
On Wed, Feb 22, 2017 at 07:21:12PM +0800, Bin Meng wrote:
> Hi Tom, Simon,
>
> With latest main branch, I see some warnings when building mkimage:
>
> HOSTLD tools/mkimage
> LDFLAGS="" python ./lib/libfdt/setup.py \
> "-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
> -include ./include/libfdt_env.h -idirafterinclude
> -idirafter./arch/x86/include -I./lib/libfdt -I./tools
> -DCONFIG_SYS_TEXT_BASE=0xfff00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
> -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c
> lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c
> lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
> In file included from /usr/local/include/python2.7/Python.h:8,
> from tools/libfdt_wrap.c:125:
> /usr/local/include/python2.7/pyconfig.h:1193:1: warning:
> "_POSIX_C_SOURCE" redefined
> In file included from /usr/include/stdint.h:26,
> from ././include/compiler.h:19,
> from ././include/libfdt_env.h:12,
> from <command-line>:0:
> /usr/include/features.h:162:1: warning: this is the location of the
> previous definition
> In file included from /usr/local/include/python2.7/Python.h:8,
> from tools/libfdt_wrap.c:125:
> /usr/local/include/python2.7/pyconfig.h:1215:1: warning:
> "_XOPEN_SOURCE" redefined
> In file included from /usr/include/stdint.h:26,
> from ././include/compiler.h:19,
> from ././include/libfdt_env.h:12,
> from <command-line>:0:
> /usr/include/features.h:164:1: warning: this is the location of the
> previous definition
> mv _libfdt.so tools/_libfdt.so
How did you configure your local python2.7 install? Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170222/2cf0d6a2/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] build mkimage warning
2017-02-22 15:22 ` Tom Rini
@ 2017-02-28 9:19 ` Bin Meng
0 siblings, 0 replies; 3+ messages in thread
From: Bin Meng @ 2017-02-28 9:19 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Wed, Feb 22, 2017 at 11:22 PM, Tom Rini <trini@konsulko.com> wrote:
> On Wed, Feb 22, 2017 at 07:21:12PM +0800, Bin Meng wrote:
>> Hi Tom, Simon,
>>
>> With latest main branch, I see some warnings when building mkimage:
>>
>> HOSTLD tools/mkimage
>> LDFLAGS="" python ./lib/libfdt/setup.py \
>> "-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
>> -include ./include/libfdt_env.h -idirafterinclude
>> -idirafter./arch/x86/include -I./lib/libfdt -I./tools
>> -DCONFIG_SYS_TEXT_BASE=0xfff00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
>> -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c
>> lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c
>> lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
>> In file included from /usr/local/include/python2.7/Python.h:8,
>> from tools/libfdt_wrap.c:125:
>> /usr/local/include/python2.7/pyconfig.h:1193:1: warning:
>> "_POSIX_C_SOURCE" redefined
>> In file included from /usr/include/stdint.h:26,
>> from ././include/compiler.h:19,
>> from ././include/libfdt_env.h:12,
>> from <command-line>:0:
>> /usr/include/features.h:162:1: warning: this is the location of the
>> previous definition
>> In file included from /usr/local/include/python2.7/Python.h:8,
>> from tools/libfdt_wrap.c:125:
>> /usr/local/include/python2.7/pyconfig.h:1215:1: warning:
>> "_XOPEN_SOURCE" redefined
>> In file included from /usr/include/stdint.h:26,
>> from ././include/compiler.h:19,
>> from ././include/libfdt_env.h:12,
>> from <command-line>:0:
>> /usr/include/features.h:164:1: warning: this is the location of the
>> previous definition
>> mv _libfdt.so tools/_libfdt.so
>
> How did you configure your local python2.7 install? Thanks!
$ ll /usr/bin/python*
lrwxrwxrwx 1 root root 24 Oct 18 17:49 /usr/bin/python ->
/usr/local/bin/python2.7*
lrwxrwxrwx. 1 root root 6 Jul 27 2016 /usr/bin/python2 -> python*
-rwxr-xr-x 1 root root 8.9K Jul 24 2015 /usr/bin/python2.6*
-rwxr-xr-x. 1 root root 1.4K Jul 24 2015 /usr/bin/python2.6-config*
lrwxrwxrwx 1 root root 24 Aug 2 2016 /usr/bin/python2.7 ->
/usr/local/bin/python2.7*
lrwxrwxrwx. 1 root root 16 Jul 27 2016 /usr/bin/python-config ->
python2.6-config*
$ ll /usr/local/bin/python*
lrwxrwxrwx 1 root root 9 Aug 2 2016 /usr/local/bin/python -> python2.7*
-rwxr-xr-x 1 root root 9.6K Aug 2 2016 /usr/local/bin/python2.7*
-rwxr-xr-x 1 root root 1.7K Aug 2 2016 /usr/local/bin/python2.7-config*
Regards,
Bin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-28 9:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 11:21 [U-Boot] build mkimage warning Bin Meng
2017-02-22 15:22 ` Tom Rini
2017-02-28 9:19 ` Bin Meng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox