Skip to contentSkip to conversation

building tiny-x or x11R7 with latest snapshot

Buildroot Christopher Reder 4 participants 7 messages Aug 20, 2007 – Sep 10, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I receive errors if I want to build either tiny-x or the full X11R7. has anyone else had these? Is this something in the environment?

I have a snapshot from a couple of months ago and I can build tiny-x without a problem on it.

X11R7:

/home/christopher/sb/buildroot/build_arm/freetype-2.2.1/include/freetype/ttn ameid.h /home/christopher/sb/buildroot/build_arm/freetype-2.2.1/include/freetype/ttt ables.h /home/christopher/sb/buildroot/build_arm/freetype-2.2.1/include/freetype/ttt ags.h /home/christopher/sb/buildroot/build_arm/freetype-2.2.1/include/freetype/ttu npat.h

/home/christopher/sb/buildroot/build_arm/freetype-2.2.1/objs/apinames:
/home/christopher/sb/buildroot/build_arm/freetype-2.2.1/objs/apinames:
cannot execute binary file

make[1]: *** [/home/christopher/sb/buildroot/build_arm/freetype-2.2.1/objs/ftexport.sym] Error 126

make[1]: Leaving directory `/home/christopher/sb/buildroot/build_arm/freetype-2.2.1'

make: *** [/home/christopher/sb/buildroot/build_arm/staging_dir/lib/libfreetype.so] Error 2

linuxbox:/home/christopher/sb/buildroot#

tiny-x:

making imake with BOOTSTRAPCFLAGS= in config/imake

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe -I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include -I/home/christopher/sb/buildroot/build_arm/staging_dir/include -mtune=arm920t -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe -I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include -I/home/christopher/sb/buildroot/build_arm/staging_dir/include -mtune=arm920t -c -O -I../../include -I../../imports/x11/include/X11 ./ccimake imake.c

/bin/sh: ./ccimake: cannot execute binary file

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe -I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include -I/home/christopher/sb/buildroot/build_arm/staging_dir/include -mtune=arm920t -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o

make[3]: Leaving directory `/home/christopher/sb/buildroot/build_arm/xc-011010/config/imake'

rm -f ./config/makedepend/Makefile.proto

./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend

./config/imake/imake: ./config/imake/imake: cannot execute binary file

make[2]: *** [config/makedepend/Makefile.proto] Error 126

make[2]: Leaving directory `/home/christopher/sb/buildroot/build_arm/xc-011010'

make[1]: *** [World] Error 2

make[1]: Leaving directory `/home/christopher/sb/buildroot/build_arm/xc-011010'

make: *** [/home/christopher/sb/buildroot/build_arm/xc-011010/programs/Xserver/Xfbdev] Error 2

linuxbox:/home/christopher/sb/buildroot#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070820/f3df51ee/attachment.htm

#1 lore raw
Quoted 11 lines

I receive errors if I want to build either tiny-x or the full X11R7. has anyone else had these? Is this something in the environment?

I have a snapshot from a couple of months ago and I can build tiny-x without a problem on it.

X11R7:

[snip]

Review

Quoted 13 lines

tiny-x:

making imake with BOOTSTRAPCFLAGS= in config/imake

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -4
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -o ccimake  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c

As you can see from above, you are compiling ccimage.c using the ARM cross compiler.

Quoted 8 lines

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -3
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -c  -O -I../../include -I../../imports/x11/include/X11

./ccimake imake.c

/bin/sh: ./ccimake: cannot execute binary file

And now you try to run the ARM binary on your PC.

Quoted 1 line

[snip]

Quoted 5 lines

./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend

./config/imake/imake: ./config/imake/imake: cannot execute binary file

I have seen the same problem, tinyx simply does not build. Xorg does not build either, and x11r7 is still work in progress.

Best Regards
Ulf Samuelsson

#2 lore raw

Hi Ulf,

If we cant build either Tinyx or Xorg or X11 then how else can we build
cairo,pango,gtk and other stuff. i am trying to build a decent toolchain with all library for arm926ejs but i see that most of these are not supported for am926ejs

Is there any possibilities that i can build just cairo pango gtk2 without
the need for x softwares. Once i build all this later can we integrate these with x softwares.

Regards
Gururaja

Quoted 66 lines · Ulf Samuelsson-2 wrote:
Quoted 13 lines

I receive errors if I want to build either tiny-x or the full X11R7. has anyone else had these? Is this something in the environment?

I have a snapshot from a couple of months ago and I can build tiny-x without
a problem on it.

X11R7:

[snip]

Review

Quoted 13 lines

tiny-x:

making imake with BOOTSTRAPCFLAGS= in config/imake

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -4
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -o ccimake  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c

As you can see from above, you are compiling ccimage.c using the ARM cross compiler.

Quoted 8 lines

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -3
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -c  -O -I../../include -I../../imports/x11/include/X11

./ccimake imake.c

/bin/sh: ./ccimake: cannot execute binary file

And now you try to run the ARM binary on your PC.

Quoted 1 line

[snip]

Quoted 6 lines

./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f
./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend

./config/imake/imake: ./config/imake/imake: cannot execute binary file

I have seen the same problem, tinyx simply does not build. Xorg does not build either, and x11r7 is still work in progress.

Best Regards
Ulf Samuelsson

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

Signature · 2 lines
View this message in context: http://www.nabble.com/building-tiny-x-or-x11R7-with-latest-snapshot-tf4301002.html#a12306984
Sent from the BuildRoot mailing list archive at Nabble.com.
#3 lore raw

Hello all,

I managed to build cairo, pango and gtk2 but with dependency on DirectFB - I need to modify flags to configure and dependencies. TinyX is buildable but seems only gtk-1.2 run on top of it. Xorg-7.2 and X11-R6 are not buildable and require a lot of hands work.

BR,
Ivan

Quoted 95 lines

Hi Ulf,

If we cant build either Tinyx or Xorg or X11 then how else can we build
cairo,pango,gtk and other stuff. i am trying to build a decent toolchain with all library for arm926ejs but i see that most of these are not supported for am926ejs

Is there any possibilities that i can build just cairo pango gtk2 without
the need for x softwares. Once i build all this later can we integrate these with x softwares.

Regards
Gururaja

Quoted 57 lines · Ulf Samuelsson-2 wrote:
Quoted 13 lines

I receive errors if I want to build either tiny-x or the full X11R7. has anyone else had these? Is this something in the environment?

I have a snapshot from a couple of months ago and I can build tiny-x without
a problem on it.

X11R7:

[snip]

Review

Quoted 13 lines

tiny-x:

making imake with BOOTSTRAPCFLAGS= in config/imake

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -4
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -o ccimake  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c

As you can see from above, you are compiling ccimage.c using the ARM cross compiler.

Quoted 8 lines

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -3
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -c  -O -I../../include -I../../imports/x11/include/X11

./ccimake imake.c

/bin/sh: ./ccimake: cannot execute binary file

And now you try to run the ARM binary on your PC.

Quoted 1 line

[snip]

Quoted 6 lines

./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f
./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend

./config/imake/imake: ./config/imake/imake: cannot execute binary file

I have seen the same problem, tinyx simply does not build. Xorg does not build either, and x11r7 is still work in progress.

Quoted 9 lines

Best Regards
Ulf Samuelsson

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

--
View this message in context:
http://www.nabble.com/building-tiny-x-or-x11R7-with-latest-snapshot-tf4301002.html#a12306984
Sent from the BuildRoot mailing list archive at Nabble.com.

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

#4 lore raw

Hi Ivan

Can you please share your Buildroot .config and other modifications you
have made to buildroot so that we can pply the same at our end. I am not able to build atk,pango,cairo gtk. I can get only glib2,directfb,fontconfig,freetype in graphic support section.

Thanks in advance

Regards
Gururaja

Quoted 10 lines · Ivan Kuten

Hello all,

I managed to build cairo, pango and gtk2 but with dependency on DirectFB - I need
to modify flags to configure and dependencies. TinyX is buildable but seems only
gtk-1.2 run on top of it. Xorg-7.2 and X11-R6 are not buildable and require a lot of hands work.

Quoted 25 lines

BR,
Ivan

Quoted 22 lines

Hi Ulf,

If we cant build either Tinyx or Xorg or X11 then how else can we build
cairo,pango,gtk and other stuff. i am trying to build a decent toolchain with all library for arm926ejs but i see that most of these are not supported for am926ejs

Is there any possibilities that i can build just cairo pango gtk2
without
the need for x softwares. Once i build all this later can we integrate these
with x softwares.

Regards
Gururaja

Quoted 2 lines · Ulf Samuelsson-2 wrote:
Quoted 2 lines

I receive errors if I want to build either tiny-x or the full X11R7.

has

Quoted 86 lines
Quoted 73 lines
Quoted 58 lines
Quoted 11 lines

anyone else had these? Is this something in the environment?

I have a snapshot from a couple of months ago and I can build tiny-x without
a problem on it.

X11R7:

[snip]

Review

Quoted 13 lines

tiny-x:

making imake with BOOTSTRAPCFLAGS= in config/imake

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -4
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -o ccimake  -O -I../../include
-I../../imports/x11/include/X11 ccimake.c

As you can see from above, you are compiling ccimage.c using the ARM cross
compiler.

Quoted 8 lines

/home/christopher/sb/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclib c-gcc -Os -pipe

(quoted diff) +0 -3
-I/home/christopher/sb/buildroot/build_arm/staging_dir/usr/include
-I/home/christopher/sb/buildroot/build_arm/staging_dir/include
-mtune=arm920t -c  -O -I../../include -I../../imports/x11/include/X11

./ccimake imake.c

/bin/sh: ./ccimake: cannot execute binary file

And now you try to run the ARM binary on your PC.

Quoted 1 line

[snip]

Quoted 8 lines

./config/imake/imake -I./config/cf -s
./config/makedepend/Makefile.proto
-f
./config/makedepend/Imakefile -DTOPDIR=../..
-DCURDIR=./config/makedepend

./config/imake/imake: ./config/imake/imake: cannot execute binary file

I have seen the same problem, tinyx simply does not build. Xorg does not build either, and x11r7 is still work in progress.

Quoted 9 lines

Best Regards
Ulf Samuelsson

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

--
View this message in context:
http://www.nabble.com/building-tiny-x-or-x11R7-with-latest-snapshot-tf4301002.html#a12306984
Sent from the BuildRoot mailing list archive at Nabble.com.

Quoted 5 lines

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

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

Signature · 2 lines
View this message in context: http://www.nabble.com/building-tiny-x-or-x11R7-with-latest-snapshot-tf4301002.html#a12326683
Sent from the BuildRoot mailing list archive at Nabble.com.
#6 lore raw
In reply to a message not in the archive
Quoted 20 lines · On Sat, 25 Aug 2007 21:55:10 +0200 Ulf Samuelsson wrote:
Quoted 13 lines
Quoted 12 lines

Hi Ulf,

If we cant build either Tinyx or Xorg or X11 then how else can we build
cairo,pango,gtk and other stuff. i am trying to build a decent toolchain with all library for arm926ejs but i see that most of these are not supported for am926ejs

Is there any possibilities that i can build just cairo pango gtk2 without
the need for x softwares. Once i build all this later can we integrate these with x softwares.

Quoted 6 lines

Hello all,

I managed to build cairo, pango and gtk2 but with dependency on DirectFB - I need to modify flags to configure and dependencies. TinyX is buildable but seems only gtk-1.2 run on top of it. Xorg-7.2 and X11-R6 are not buildable and require a lot of hands work.

Quoted 4 lines

Pls send your modifications so they can be integrated, then.

Best Regards
Ulf Samuelsson

Hi, unfortunately it was an ugly hack not suitable to be released as patch and I
deleted/rebuilded buildroot many times since then. I try in upcoming week or next week to arrive with something suitable to be applied.

Best regards,
Ivan

#7 lore raw

Ivan Kuten ?????:

Hello guys,

I reproduced build of buildroot with libgtk2 and x11r7 support. Please see a patch in the attachement.
If needed I can split it into chunks for easier review.

Best regards,
Ivan

Quoted 29 lines
Quoted 13 lines · On Sat, 25 Aug 2007 21:55:10 +0200 Ulf Samuelsson wrote:
Quoted 13 lines
Quoted 11 lines

Hi Ulf,

If we cant build either Tinyx or Xorg or X11 then how else can we build
cairo,pango,gtk and other stuff. i am trying to build a decent toolchain with all library for arm926ejs but i see that most of these are not supported for am926ejs

Is there any possibilities that i can build just cairo pango gtk2 without
the need for x softwares. Once i build all this later can we integrate these with x softwares.

Hello all,

Quoted 8 lines
Quoted 4 lines

I managed to build cairo, pango and gtk2 but with dependency on DirectFB - I need to modify flags to configure and dependencies. TinyX is buildable but seems only gtk-1.2 run on top of it. Xorg-7.2 and X11-R6 are not buildable and require a lot of hands work.

Pls send your modifications so they can be integrated, then.

Best Regards
Ulf Samuelsson

Hi, unfortunately it was an ugly hack not suitable to be released as patch and I
deleted/rebuilded buildroot many times since then. I try in upcoming week or next week to arrive with something suitable to be applied.

Quoted 6 lines

Best regards,
Ivan
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk_x11r7.patch
Type: text/x-diff
Size: 13996 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070911/62f0b138/attachment.bin