[Buildroot] X11 and buildroot..

Steffen Schulz pepe_ml at gmx.net
Fri May 8 10:13:07 UTC 2009

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

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

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

./i686-linux-ldd makedepend
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libc.so.6'
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
        libc.so.0 => not found (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

find staging_dir -name libgcc\*

When I copy libgcc* to staging/lib/, ldd still reports the same

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

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

Note that ./gen_matypes is local. It fails again because of missing
libgcc. Even though staging/lib/libgcc_s.so.1 still exists from before.

What am I missing here?


More information about the buildroot mailing list