Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] building tiny-x or x11R7 with latest snapshot
@ 2007-08-20 19:23 Christopher Reder
  2007-08-20 22:30 ` Ulf Samuelsson
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Reder @ 2007-08-20 19:23 UTC (permalink / raw)
  To: buildroot

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 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
  2007-08-20 19:23 [Buildroot] building tiny-x or x11R7 with latest snapshot Christopher Reder
@ 2007-08-20 22:30 ` Ulf Samuelsson
  2007-08-24  5:55   ` Hebbar
  0 siblings, 1 reply; 7+ messages in thread
From: Ulf Samuelsson @ 2007-08-20 22:30 UTC (permalink / raw)
  To: buildroot

>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]

> 
> 
> 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
> 

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

> /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

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

> 
[snip]
> ./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 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
  2007-08-20 22:30 ` Ulf Samuelsson
@ 2007-08-24  5:55   ` Hebbar
  2007-08-25 12:46     ` Ivan Kuten
  0 siblings, 1 reply; 7+ messages in thread
From: Hebbar @ 2007-08-24  5:55 UTC (permalink / raw)
  To: buildroot


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



Ulf Samuelsson-2 wrote:
> 
>>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]
> 
>> 
>> 
>> 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
>> 
> 
> As you can see from above, you are compiling ccimage.c using the ARM cross
> compiler.
> 
>> /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
> 
> And now you try to run the ARM binary on your PC.
> 
>> 
> [snip]
>> ./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
> 
> 

-- 
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
  2007-08-24  5:55   ` Hebbar
@ 2007-08-25 12:46     ` Ivan Kuten
  2007-08-25 14:46       ` Hebbar
       [not found]       ` <01cc01c7e757$3e1bf8a0$7201820a@atmel.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Ivan Kuten @ 2007-08-25 12:46 UTC (permalink / raw)
  To: buildroot

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

>
> 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
>
>
>
> Ulf Samuelsson-2 wrote:
>>
>>>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]
>>
>>>
>>>
>>> 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
>>>
>>
>> As you can see from above, you are compiling ccimage.c using the ARM cross
>> compiler.
>>
>>> /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
>>
>> And now you try to run the ARM binary on your PC.
>>
>>>
>> [snip]
>>> ./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
>>
>>
>
> --
> 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
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
  2007-08-25 12:46     ` Ivan Kuten
@ 2007-08-25 14:46       ` Hebbar
       [not found]       ` <01cc01c7e757$3e1bf8a0$7201820a@atmel.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Hebbar @ 2007-08-25 14:46 UTC (permalink / raw)
  To: buildroot


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


Ivan Kuten wrote:
> 
> 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
> 
>>
>> 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
>>
>>
>>
>> Ulf Samuelsson-2 wrote:
>>>
>>>>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]
>>>
>>>>
>>>>
>>>> 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
>>>>
>>>
>>> As you can see from above, you are compiling ccimage.c using the ARM
>>> cross
>>> compiler.
>>>
>>>> /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
>>>
>>> And now you try to run the ARM binary on your PC.
>>>
>>>>
>>> [snip]
>>>> ./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
>>>
>>>
>>
>> --
>> 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
>>
> 
> 
> _______________________________________________
> 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#a12326683
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
       [not found]       ` <01cc01c7e757$3e1bf8a0$7201820a@atmel.com>
@ 2007-08-27 13:24         ` Ivan Kuten
  2007-09-10 21:25           ` Ivan Kuten
  0 siblings, 1 reply; 7+ messages in thread
From: Ivan Kuten @ 2007-08-27 13:24 UTC (permalink / raw)
  To: buildroot

On Sat, 25 Aug 2007 21:55:10 +0200
Ulf Samuelsson wrote:

> >>
> >> 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,
> > 
> > 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.

Best regards,
Ivan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] building tiny-x or x11R7 with latest snapshot
  2007-08-27 13:24         ` Ivan Kuten
@ 2007-09-10 21:25           ` Ivan Kuten
  0 siblings, 0 replies; 7+ messages in thread
From: Ivan Kuten @ 2007-09-10 21:25 UTC (permalink / raw)
  To: buildroot

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

> On Sat, 25 Aug 2007 21:55:10 +0200
> Ulf Samuelsson wrote:
> 
>>>> 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,
>>>
>>> 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.
> 
> 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 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-10 21:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 19:23 [Buildroot] building tiny-x or x11R7 with latest snapshot Christopher Reder
2007-08-20 22:30 ` Ulf Samuelsson
2007-08-24  5:55   ` Hebbar
2007-08-25 12:46     ` Ivan Kuten
2007-08-25 14:46       ` Hebbar
     [not found]       ` <01cc01c7e757$3e1bf8a0$7201820a@atmel.com>
2007-08-27 13:24         ` Ivan Kuten
2007-09-10 21:25           ` Ivan Kuten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox