[Buildroot] X11 and buildroot..

Steffen Schulz pepe_ml at gmx.net
Fri May 8 12:07:23 UTC 2009

On 090508 at 12:45, Peter Korsgaard wrote:
>  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?

I installed makedepend on the host after this step, which then led to
the gen_matypes problem.

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

-I../../../include/GL -I../../../include -I.. -I../main -I../math
-I../glapi -I../tnl -Wall -Wmissing-prototypes -std=c99 -ffast-math -Os -pipe -Os
-isysroot /home/pepe/repo/buildroot/buildroot/build_i686/staging_dir
-mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DUSE_SSE_ASM -fno-strict-aliasing gen_matypes.c -o gen_matypes
./gen_matypes > matypes.h
/bin/sh: ./gen_matypes: No such file or directory

I guess from --sysroot and i686-linux-uclibc-gcc we can infer that it
is done for the target? I'll be happy to try to fix it myself if you
can give me an example how it is supposed to be done.

pepe at unixfan.net                            gpg --recv-key A04D7875
Key fingerprint: B805 57BE E4AF 0104 CC51  77A1 CE6F 8D46 A04D 7875

More information about the buildroot mailing list