Skip to contentSkip to conversation

Gtk on Arm

Buildroot Giriprasad Deviprasad 2 participants 5 messages Oct 11, 2010 – Oct 13, 2010

lore
Share & tools
lore
#0 lore raw

Hi All,

?I am trying to cross compile Gtk+ for the arm architecture (www.hawkboard.org). I have enabled the following options in the menuconfig:
?????? [*] cairo??????????????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? [*]?? postscript support???????????????????????????????????????????????????????????? ? ??
? ? ?????????????? -*-?? pdf support??????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? -*-?? png support??????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? [*]?? svg support??????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? -*- fontconfig?????????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? -*- freetype???????????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? [ ] jpeg???????????????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????? [*] libart?????????????????????????????????????????????????????????????????????????? ? ??
? ? ?????????????????? *** libgtk2 requires a toolchain with WCHAR and C++ support ***????????????????? ? ??
? ? ?????????????? -*- libpng??????????????????????????????????????????????????????????????

When I do a make, it downloads and compiles all required software like cairo/pango etc,except gtk. Can any one please let me know, what option to enable for including the gtk in the cross compile. I am using buildroot-2010.08.tar.bz2.

Thanks & Regards,
D.Giriprasad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101011/62aa3e82/attachment.html>

#1 lore raw
Quoted 25 lines · Giriprasad Deviprasad

Hi All,

I am trying to cross compile Gtk+ for the arm architecture (
www.hawkboard.org). I have enabled the following options in the menuconfig:

       [*]

cairo
? ?
? ? [*] postscript
support ? ?
? ? -*- pdf
support ?
?
? ? -*- png
support ?
?
? ? [*] svg
support ?
?
? ? -*-
fontconfig
? ?
? ? -*-
freetype
? ?

Quoted 9 lines

? ? [ ]
jpeg
? ?
? ? [*]
libart
? ?
? ? *** libgtk2 requires a toolchain with WCHAR and C++
support *** ? ?

Isn't this line saying anything to you?

Quoted 14 lines

? ? -*-
libpng

When I do a make, it downloads and compiles all required software like cairo/pango etc,except gtk. Can any one please let me know, what option to enable for including the gtk in the cross compile. I am using buildroot-2010.08.tar.bz2.

Thanks & Regards,
D.Giriprasad

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101011/32d47c54/attachment-0001.html>

#2 lore raw

Isn't this line saying anything to you?

? ? -*-
libpng

It shows as follows:
Library for handling PNG (Portable Network Graphics)????????????????????????????????????????????????? ?? ? ? images.?????????????????????????????????????????????????????????????????????????????????????????????? ?? ? ??????????????????????????????????????????????????????????????????????????????????????????????????????? ?? ? ? http://www.libpng.org/??????????????????????????????????????????????????????????????????????????????? ?? ? ??????????????????????????????????????????????????????????????????????????????????????????????????????? ?? ? ? Symbol: BR2_PACKAGE_LIBPNG [=y]?????

But downloads directory has no file for gtk such as gtk+-2.14.7.tar.bz2.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101011/85df975d/attachment.html>

#3 lore raw
Quoted 18 lines · Giriprasad Deviprasad

Isn't this line saying anything to you?

? ? -*- libpng

It shows as follows:
Library for handling PNG (Portable Network
Graphics) ?
?
images.
?

?
?
? http://www.libpng.org/
?

Quoted 9 lines

?
?
? Symbol: BR2_PACKAGE_LIBPNG [=y]

But downloads directory has no file for gtk such as gtk+-2.14.7.tar.bz2.

Oh come on... Look above my comment.
You must enable WCHAR and C++ somewhere in Toolchain section!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101011/751eff5e/attachment.html>

#4 lore raw
In reply to Paulius Zaleckas

I enabled WCHAR and C++, build errors as :
/bin/sh ./config.charset 'arm-unknown-linux-gnu' > t-charset.alias In file included from mbchar.h:285,
???????????????? from mbchar.c:22:
wcwidth.h:62: error: expected ')' before 'wc'
In file included from mbchar.c:22:
mbchar.h:294: error: expected specifier-qualifier-list before 'wchar_t' mbchar.h: In function 'mb_copy':
mbchar.h:390: error: 'mbchar_t' has no member named 'buf' mbchar.h:392: error: 'mbchar_t' has no member named 'buf' mbchar.h:392: error: 'mbchar_t' has no member named 'buf' mbchar.h:393: error: 'mbchar_t' has no member named 'buf' mbchar.h:399: error: 'mbchar_t' has no member named 'wc' mbchar.h:399: error: 'mbchar_t' has no member named 'wc' make[5]: *** [mbchar.o] Error 1
make[5]: *** Waiting for unfinished jobs....
mv t-charset.alias charset.alias

Isn't this line saying anything to you?

? ? -*-
libpng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101013/f3a8a22b/attachment.html>