Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Building Xorg for arm926t softfloat fails with error at linux_vm86.c
@ 2007-02-06  7:59 F.Roch
  2007-02-09 12:39 ` [Buildroot] Unresolved symbols when running Xorg F.Roch
  0 siblings, 1 reply; 3+ messages in thread
From: F.Roch @ 2007-02-06  7:59 UTC (permalink / raw)
  To: buildroot

hi,

i'm trying to build a graphical environment for my board with buildroot.
i tryed with tinyx + gtk2 but my cairo build fails because it depends on
newer Xrender header files that tinyx don't provide.

so i tryed with xorg and i get the following build error:

[snip]
make[10]: Entering directory 
`/home/frank/linux-at91sam9261/buildroot/build_arm_nofpu/xc/programs/Xserver/hw/xfree86/os-support/linux/int10/vm86'
rm -f linux_vm86.o
/home/frank/linux-at91sam9261/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc 
-Os -ansi -pedantic -Wall -Wpointer-arith -Wundef     -I. 
-I../../../../../../../../programs/Xserver/hw/xfree86/common 
-I../../../../../../../../programs/Xserver/hw/xfree86/int10            
-I../../../../../../../../programs/Xserver/hw/xfree86/os-support            
-I../../../../../../../../programs/Xserver/include 
-I../../../../../../../../exports/include/X11 -I  
-I../../../../../../../.. -I../../../../../../../../exports/include   
-Dlinux -D__arm__ -D_POSIX_SOURCE                               
-D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DSHAPE -DXINPUT -DXKB  
-DXAPPGROUP    -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension    
-DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR       -DXFIXES -DDAMAGE 
-DCOMPOSITE -DXEVIE          -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH                          -DXFreeXDGA 
-DXvExtension                    -DXFree86LOADER  
-DXFree86Server                                 
-DXF86VIDMODE                           
-DXvMCExtension                                 
-DSMART_SCHEDULE                              -DBUILDDEBUG 
-DXResExtension                            
-DX_BYTE_ORDER=X_LITTLE_ENDIAN                          
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((2) * 
1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE 
-DXFree86Module -DHAVE_SYSV_IPC     -D_VM86_LINUX -c linux_vm86.c
In file included from linux_vm86.c:14:
../../../../../../../../programs/Xserver/hw/xfree86/os-support/int10Defines.h:34:24: 
asm/vm86.h: No such file or directory
[snip]

when i do a find for this missing file i get:

find ./ -name vm86.h
./toolchain_build_arm_nofpu/linux-libc-headers-2.4.31/include/asm-i386/vm86.h
./toolchain_build_arm_nofpu/uClibc-0.9.28.1/libc/sysdeps/linux/i386/sys/vm86.h

and i think the script searches for this file in the "asm-arm" folder, 
right ?
has someone managed to build xorg (or tinyx + gtk2) for arm-nofpu ?

i'm using :

linux 2.4.31 headers
uClibc 0.9.28.1
binutils 2.17
gcc 3.4.6
busybox 1.2.2.1

thank you for your help,
Frank Roch

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Buildroot] Building Xorg for arm926t softfloat fails with error at linux_vm86.c
@ 2007-02-22 10:37 Richard Genoud
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Genoud @ 2007-02-22 10:37 UTC (permalink / raw)
  To: buildroot

Hi Frank !
if I remember correctly, you should add
#define XF86INT10_BUILD       X86EMU_GENERIC
in the file build_arm/xc/config/cf/host.def

the patch for package/xorg/xorg-config.patch is :
[snip]
--- a/package/xorg/xorg-config.patch    2007-02-09 15:55:37.000000000 +0100
+++ b/package/xorg/xorg-config.patch    2007-02-22 11:33:27.000000000 +0100
@@ -1,6 +1,7 @@
 --- xc/config/cf/host.def~     Thu May 12 15:28:01 MDT 2005
 +++ xc/config/cf/host.def      Thu May 12 15:28:01 MDT 2005
-@@ -0,0 +1,45 @@
+@@ -0,0 +1,46 @@
++#define XF86INT10_BUILD       X86EMU_GENERIC
 +#define KDriveXServer         YES
 +#define TinyXServer           YES
 +#define XfbdevServer          YES
[snip]

regards,
Richard Genoud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070222/21971630/attachment.html 

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

end of thread, other threads:[~2007-02-22 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-06  7:59 [Buildroot] Building Xorg for arm926t softfloat fails with error at linux_vm86.c F.Roch
2007-02-09 12:39 ` [Buildroot] Unresolved symbols when running Xorg F.Roch
  -- strict thread matches above, loose matches on Subject: below --
2007-02-22 10:37 [Buildroot] Building Xorg for arm926t softfloat fails with error at linux_vm86.c Richard Genoud

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