[Buildroot] [Bug 2479] New: host-module-init-tools 3.11 fails to build
James J. Dines
jdines at jdines.net
Tue Aug 31 18:32:05 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 08/31/2010 12:38 PM, James J. Dines wrote:
> On 08/31/2010 12:16 PM, James J. Dines wrote:
>> On 08/31/2010 09:52 AM, bugzilla at busybox.net wrote:
>>> Summary: host-module-init-tools 3.11 fails to build
>>> Product: buildroot
>>> Version: unspecified
>>> Makefile:15: *** recipe commences before first target. Stop.
>> These three lines in
>> output/build/host-module-init-tools-3.11/Makefile.am are causing the issue:
>> ... vim highlights them in red, and changing them to '= foo' causes the
>> build to kick off and fail when it gets to the SGML building stage.
>> I haven't figured out exactly how to change th./configure: line 1930: `AX_ENABLE_BUILDDIR(build)'
> em to make them do as
>> desired yet, but hopefully this saves someone a lot of work.
> I forgot to mention that, after editing the aforementioned three lines,
> you need to delete the Makefile and do the following to generate new
> files with the modified Makefile.am lines:
> ... then edit out line 1930 of the configure script, since it gives:
> ./configure: line 1930: syntax error near unexpected token `build'
> ./configure: line 1930: `AX_ENABLE_BUILDDIR(build)'
> and then do a ./configure before running make in the top level directory
> All of this is just to prove that those three lines cause the problem of
> course. Obviously once they are fixed properly all these hoops will not
> need to be jumped through.
In order to get past this until a fix is available upstream or someone
here creates a patch to Makefile.am, one can disable the option to
generate documentation for the host in the menuconfig, then rather than
doing an option-less ./configure simply copy and paste the ./configure
line from the failed make and do a make from the top level directory.
The result is that docs on the target won't be available, but since the
other option is to have no target available at all this seems like a
fair trade-off :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the buildroot