Skip to contentSkip to conversation

Autodetect architechture

Buildroot Mikael Sundberg 2 participants 3 messages Aug 14, 2008

lore
Share & tools
lore
#0 lore raw

Hi everyone, I?m new on this list and have a problem.

When I try to build with "fontconfig" enabled I get a configuration error saying:
- "Cannot autodetect architecture while crosscompiling", bails out and
tells me to use the "--with-arch" option.
In "package/fontconfig/fontconfig.mk" there a "--with-arch=$(GNU_TARGET_NAME)" in the FONTCONFIG_CONF_OPT but it doesn?t seem to be added when the configure script runs.

Any ideas? Need more info?

I have been able to build buildroot in the past without this problem but then I got a HDD-crash and the working environment was lost.

regards,
Mikael Sundberg

#1 lore raw
Quoted 10 lines · Mikael Sundberg

Hi everyone, I?m new on this list and have a problem.

When I try to build with "fontconfig" enabled I get a configuration error saying:
- "Cannot autodetect architecture while crosscompiling", bails out and
tells me to use the "--with-arch" option.
In "package/fontconfig/fontconfig.mk" there a "--with-arch=$(GNU_TARGET_NAME)" in the FONTCONFIG_CONF_OPT but it doesn?t seem to be added when the configure script runs.

Quoted 2 lines

Any ideas? Need more info?

I asked that same question a few days ago, here's the answer

Quoted 7 lines · Matthew Dombroski

theres a bug causing this-
http://busybox.net/bugs/view.php?id=0004454

I don't know why it hasnt been fixed yet....
revision 23038 of Makefile.autotools.in will work, or you could fix it in your local tree.

__
Ormund

#2 lore raw

Ormund Williams skrev:

Quoted 22 lines · Mikael Sundberg
Quoted 11 lines

Hi everyone, I?m new on this list and have a problem.

When I try to build with "fontconfig" enabled I get a configuration error saying:
- "Cannot autodetect architecture while crosscompiling", bails out and
tells me to use the "--with-arch" option.
In "package/fontconfig/fontconfig.mk" there a "--with-arch=$(GNU_TARGET_NAME)" in the FONTCONFIG_CONF_OPT but it doesn?t seem to be added when the configure script runs.

Quoted 3 lines

Any ideas? Need more info?

I asked that same question a few days ago, here's the answer

Quoted 3 lines · Matthew Dombroski

theres a bug causing this-
http://busybox.net/bugs/view.php?id=0004454

Quoted 8 lines
Quoted 5 lines

I don't know why it hasnt been fixed yet....
revision 23038 of Makefile.autotools.in will work, or you could fix it in your local tree.

__
Ormun

Oh, I must have missed that question, I must have used the wrong keywords when searching \=
Anyway, thanks for the reply! I?ll go ahead and revert to rev. 23038 and try again.

regards,
Mikael Sundberg