[Buildroot] X11 and buildroot..

Peter Korsgaard jacmet at uclibc.org
Fri May 8 10:37:36 UTC 2009


>>>>> "Steffen" == Steffen Schulz <pepe_ml at gmx.net> writes:

 Steffen> Okay, I did another attempt to compile xorg and selected a few more X
 Steffen> packages. Now it tries to build Mesa before getting to the missing
 Steffen> makedepend I had before. Interestingly, the problem seems to be the
 Steffen> similar.

 Steffen> When I manually add xutil_makedepend to the mesa dependencies and then
 Steffen> copy the makedepend binary to staging/usr/bin/, the next build attempt
 Steffen> yields:

 Steffen> /bin/sh: /home/pepe/repo/buildroot/buildroot/build_i686/staging_dir/usr/bin/makedepend:
 Steffen> No such file or directory

So mesa needs makedepend on the host. Running the one for the target
won't help. Do you have makedepend installed on your host?

 Steffen> So I removed makedepend and install it on the host instead. Now mesa
 Steffen> fails with 

 Steffen> [...]  -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
 Steffen> -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM
 Steffen> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing gen_matypes.c -o gen_matypes
 Steffen> ./gen_matypes > matypes.h
 Steffen> /bin/sh: ./gen_matypes: No such file or directory

You didn't paste enough for us to see if gen_matypes gets compiled for
the host or the target, but from the error message it looks like it's
for the target (which is wrong).

I'm pretty sure I compiled mesa3d for arm not that long ago, so it
seems to be an x86 specific issue.

I'll take a look at it this weekend.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list