* [U-Boot] Compilation of env error u-boot 2015.07-rc2
@ 2015-06-10 4:59 Thirumalesha N
2015-06-10 9:09 ` Maxin B. John
0 siblings, 1 reply; 5+ messages in thread
From: Thirumalesha N @ 2015-06-10 4:59 UTC (permalink / raw)
To: u-boot
Hi all,
I have pulled latest code from u-boot main line through git.
Using linaro tool chain for am335x board
I'm trying to compile tools/env but its giving an error
#make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
HOSTCC tools/env/fw_env.o
arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
'NETARGS'
make[1]: *** [ tools/env/few.env.o] error 1
With same tool chain I'm able compile 2014 u-boot
Regards,
Thiru N
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Compilation of env error u-boot 2015.07-rc2
2015-06-10 4:59 [U-Boot] Compilation of env error u-boot 2015.07-rc2 Thirumalesha N
@ 2015-06-10 9:09 ` Maxin B. John
2015-06-10 13:58 ` Cooper
0 siblings, 1 reply; 5+ messages in thread
From: Maxin B. John @ 2015-06-10 9:09 UTC (permalink / raw)
To: u-boot
Hi,
On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
> Hi all,
>
> I have pulled latest code from u-boot main line through git.
>
> Using linaro tool chain for am335x board
>
> I'm trying to compile tools/env but its giving an error
>
> #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
>
> HOSTCC tools/env/fw_env.o
>
> arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
> 'NETARGS'
> make[1]: *** [ tools/env/few.env.o] error 1
I have managed to re-create the same problem.
Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
ie:
# git revert 2320866b978fc12904eeba37236f35d12b4aec30
and then try building again.
Apparently network arguments were moved to ti_armv7_common.h.
However, it wasn't included in the am335x config.
>
> With same tool chain I'm able compile 2014 u-boot
>
> Regards,
> Thiru N
Best Regards,
Maxin
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Compilation of env error u-boot 2015.07-rc2
2015-06-10 9:09 ` Maxin B. John
@ 2015-06-10 13:58 ` Cooper
2015-06-17 6:34 ` Thirumalesha N
0 siblings, 1 reply; 5+ messages in thread
From: Cooper @ 2015-06-10 13:58 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Maxin B. John [mailto:maxin.john at enea.com]
> Sent: Wednesday, June 10, 2015 4:10 AM
> To: Thirumalesha N
> Cc: u-boot at lists.denx.de; Cooper Jr., Franklin; trini at konsulko.com
> Subject: Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2
>
> Hi,
>
> On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
> > Hi all,
> >
> > I have pulled latest code from u-boot main line through git.
> >
> > Using linaro tool chain for am335x board
> >
> > I'm trying to compile tools/env but its giving an error
> >
> > #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
> >
> > HOSTCC tools/env/fw_env.o
> >
> > arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
> > 'NETARGS'
> > make[1]: *** [ tools/env/few.env.o] error 1
>
> I have managed to re-create the same problem.
>
> Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
> ie:
> # git revert 2320866b978fc12904eeba37236f35d12b4aec30
>
> and then try building again.
>
> Apparently network arguments were moved to ti_armv7_common.h.
> However, it wasn't included in the am335x config.
[Franklin] I haven't used make env before but from my understanding there is no config for it. The other configs for am335x that I saw all had CONFIG_CMD_NET enabled. So I'm guessing that when doing make env CONFIG_CMD_NET isn't enabled which is why we get that error. I just sent a patch that fixed this error.
>
> >
> > With same tool chain I'm able compile 2014 u-boot
> >
> > Regards,
> > Thiru N
>
> Best Regards,
> Maxin
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Compilation of env error u-boot 2015.07-rc2
2015-06-10 13:58 ` Cooper
@ 2015-06-17 6:34 ` Thirumalesha N
2015-06-17 9:09 ` Thirumalesha N
0 siblings, 1 reply; 5+ messages in thread
From: Thirumalesha N @ 2015-06-17 6:34 UTC (permalink / raw)
To: u-boot
Hi Franklin,
Sorry for late response
On Wednesday, June 10, 2015, Cooper Jr., Franklin <fcooper@ti.com> wrote:
>
>
> > -----Original Message-----
> > From: Maxin B. John [mailto:maxin.john at enea.com <javascript:;>]
> > Sent: Wednesday, June 10, 2015 4:10 AM
> > To: Thirumalesha N
> > Cc: u-boot at lists.denx.de <javascript:;>; Cooper Jr., Franklin;
> trini at konsulko.com <javascript:;>
> > Subject: Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2
> >
> > Hi,
> >
> > On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
> > > Hi all,
> > >
> > > I have pulled latest code from u-boot main line through git.
> > >
> > > Using linaro tool chain for am335x board
> > >
> > > I'm trying to compile tools/env but its giving an error
> > >
> > > #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
> > >
> > > HOSTCC tools/env/fw_env.o
> > >
> > > arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
> > > 'NETARGS'
> > > make[1]: *** [ tools/env/few.env.o] error 1
> >
> > I have managed to re-create the same problem.
> >
> > Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
> > ie:
> > # git revert 2320866b978fc12904eeba37236f35d12b4aec30
> >
> > and then try building again.
> >
> > Apparently network arguments were moved to ti_armv7_common.h.
> > However, it wasn't included in the am335x config.
> [Franklin] I haven't used make env before but from my understanding there
> is no config for it. The other configs for am335x that I saw all had
> CONFIG_CMD_NET enabled. So I'm guessing that when doing make env
> CONFIG_CMD_NET isn't enabled which is why we get that error. I just sent a
> patch that fixed this error.
I agree, CONFIG_CMD_NET Is the issue. I have tried to include the
generated/autoconf.h in include/defaults.h that's solve the issue but I
didnt do thoroug test, if it gets effect for other configurations.
> >
> > >
> > > With same tool chain I'm able compile 2014 u-boot
> > >
> > > Regards,
> > > Thiru N
> >
> > Best Regards,
> > Maxin
>
Regards,
Thiru N
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Compilation of env error u-boot 2015.07-rc2
2015-06-17 6:34 ` Thirumalesha N
@ 2015-06-17 9:09 ` Thirumalesha N
0 siblings, 0 replies; 5+ messages in thread
From: Thirumalesha N @ 2015-06-17 9:09 UTC (permalink / raw)
To: u-boot
Small correction
On Wednesday, June 17, 2015, Thirumalesha N <thiru.linux@gmail.com> wrote:
> Hi Franklin,
>
> Sorry for late response
>
> On Wednesday, June 10, 2015, Cooper Jr., Franklin <fcooper@ti.com
> <javascript:_e(%7B%7D,'cvml','fcooper@ti.com');>> wrote:
>
>>
>>
>> > -----Original Message-----
>> > From: Maxin B. John [mailto:maxin.john at enea.com]
>> > Sent: Wednesday, June 10, 2015 4:10 AM
>> > To: Thirumalesha N
>> > Cc: u-boot at lists.denx.de; Cooper Jr., Franklin; trini at konsulko.com
>> > Subject: Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2
>> >
>> > Hi,
>> >
>> > On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
>> > > Hi all,
>> > >
>> > > I have pulled latest code from u-boot main line through git.
>> > >
>> > > Using linaro tool chain for am335x board
>> > >
>> > > I'm trying to compile tools/env but its giving an error
>> > >
>> > > #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
>> > >
>> > > HOSTCC tools/env/fw_env.o
>> > >
>> > > arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
>> > > 'NETARGS'
>> > > make[1]: *** [ tools/env/few.env.o] error 1
>> >
>> > I have managed to re-create the same problem.
>> >
>> > Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
>> > ie:
>> > # git revert 2320866b978fc12904eeba37236f35d12b4aec30
>> >
>> > and then try building again.
>> >
>> > Apparently network arguments were moved to ti_armv7_common.h.
>> > However, it wasn't included in the am335x config.
>> [Franklin] I haven't used make env before but from my understanding there
>> is no config for it. The other configs for am335x that I saw all had
>> CONFIG_CMD_NET enabled. So I'm guessing that when doing make env
>> CONFIG_CMD_NET isn't enabled which is why we get that error. I just sent a
>> patch that fixed this error.
>
>
> I agree, CONFIG_CMD_NET Is the issue. I have tried to include the
> generated/autoconf.h in include/config_defaults.h that's solve the issue
> but I didnt do thoroug test, if it gets effect for other configurations.
>
>
>
>> >
>> > >
>> > > With same tool chain I'm able compile 2014 u-boot
>> > >
>> > > Regards,
>> > > Thiru N
>> >
>> > Best Regards,
>> > Maxin
>>
>
> Regards,
> Thiru N
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-17 9:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 4:59 [U-Boot] Compilation of env error u-boot 2015.07-rc2 Thirumalesha N
2015-06-10 9:09 ` Maxin B. John
2015-06-10 13:58 ` Cooper
2015-06-17 6:34 ` Thirumalesha N
2015-06-17 9:09 ` Thirumalesha N
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.