* [Buildroot] syslinux fails to build
@ 2012-07-04 10:53 Aras Vaichas
2012-07-04 11:13 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Aras Vaichas @ 2012-07-04 10:53 UTC (permalink / raw)
To: buildroot
Hi,
My git HEAD is a1b7bec1760692e7db19062c76dc905e77054479
Building the syslinux 4.04 bootloader fails with:
make[3]: Entering directory
`/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
./mk-lba-img lba.img
./mk-lba-img: 1: ./mk-lba-img: Syntax error: "(" unexpected
make[3]: *** [lba.img] Error 2
make[3]: Leaving directory
`/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/aras/buildroot/buildroot/output/build/syslinux-4.04'
make: *** [/home/aras/buildroot/buildroot/output/build/syslinux-4.04/.stamp_built]
Error 2
Is this a known problem?
I bumped the version to 4.05 but compilation fails. I researched the
problem and found a patch that makes the build work:
http://web.archiveorange.com/archive/v/mwjwm6LzqZy83B2DDQIJ
Shall I submit a patch for:
* the bump to 4.05,
* the patch to make 4.05 compile (which would be a copy of the patch
from Geert Stappers) ?
regards,
Aras Vaichas
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] syslinux fails to build
2012-07-04 10:53 [Buildroot] syslinux fails to build Aras Vaichas
@ 2012-07-04 11:13 ` Thomas Petazzoni
2012-07-05 18:59 ` Arnout Vandecappelle
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-07-04 11:13 UTC (permalink / raw)
To: buildroot
Le Wed, 4 Jul 2012 11:53:30 +0100,
Aras Vaichas <aras.vaichas@gmail.com> a ?crit :
> make[3]: Entering directory
> `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
> ./mk-lba-img lba.img
> ./mk-lba-img: 1: ./mk-lba-img: Syntax error: "(" unexpected
> make[3]: *** [lba.img] Error 2
> make[3]: Leaving directory
> `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/aras/buildroot/buildroot/output/build/syslinux-4.04'
> make: *** [/home/aras/buildroot/buildroot/output/build/syslinux-4.04/.stamp_built]
> Error 2
>
> Is this a known problem?
Not to my knowledge, but I don't use syslinux myself. The bump to 4.04
was done by Arnout Vandecappelle in January this year, so maybe he will
comment on this.
>
> I bumped the version to 4.05 but compilation fails. I researched the
> problem and found a patch that makes the build work:
>
> http://web.archiveorange.com/archive/v/mwjwm6LzqZy83B2DDQIJ
>
> Shall I submit a patch for:
>
> * the bump to 4.05,
> * the patch to make 4.05 compile (which would be a copy of the patch
> from Geert Stappers) ?
Yes, please submit a patch doing both.
Thanks a lot!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] syslinux fails to build
2012-07-04 11:13 ` Thomas Petazzoni
@ 2012-07-05 18:59 ` Arnout Vandecappelle
0 siblings, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2012-07-05 18:59 UTC (permalink / raw)
To: buildroot
On 07/04/12 13:13, Thomas Petazzoni wrote:
> Le Wed, 4 Jul 2012 11:53:30 +0100,
> Aras Vaichas<aras.vaichas@gmail.com> a ?crit :
>
> > make[3]: Entering directory
> > `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
> > ./mk-lba-img lba.img
> > ./mk-lba-img: 1: ./mk-lba-img: Syntax error: "(" unexpected
> > make[3]: *** [lba.img] Error 2
> > make[3]: Leaving directory
> > `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag/geodsp'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/home/aras/buildroot/buildroot/output/build/syslinux-4.04/diag'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> > `/home/aras/buildroot/buildroot/output/build/syslinux-4.04'
> > make: *** [/home/aras/buildroot/buildroot/output/build/syslinux-4.04/.stamp_built]
> > Error 2
> >
> > Is this a known problem?
>
> Not to my knowledge, but I don't use syslinux myself. The bump to 4.04
> was done by Arnout Vandecappelle in January this year, so maybe he will
> comment on this.
mk-lba-img is a host binary. However, the tar file already contains a 64-bit binary,
so it will not be rebuilt... And I guess you try to build it on a 32-bit PC. I only tried
it on a 64-bit PC myself.
syslinux is full of this kind of crap :-(
You can try running a 'make -C output/build/syslinux-4.04 clean', but if I remember
correctly that failed for other reasons.
So the problem is fixed with syslinux-4.05? That's nice! Please do submit a patch.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-05 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 10:53 [Buildroot] syslinux fails to build Aras Vaichas
2012-07-04 11:13 ` Thomas Petazzoni
2012-07-05 18:59 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox