Hi
I'm trying to compile a rootfs (for an ARM processor) using buildroot (2010.02) with uClibc that supports NPTL. It seems that if I select 'snapshot' as the uClibc version in the buildroot config, I can select NPTL as the threading library, but the version that buildroot downloads doesn't have the NPTL parts in it. So what I've tried is to download the latest version from the nptl branch from the Git repository, then rename it to uclibc-snapshot and place the archive in buildroot's dl folder. Unfortunately, when it tries to compile, I get these errors: HOSTCC extra/locale/gen_ldc GEN extra/locale/locale_data.c GEN extra/locale/uClibc_locale_data.h GEN include/bits/uClibc_locale_data.h GEN include/bits/sysnum.h extra/scripts/gen_bits_syscall_h.sh: line 27: /home/jdoe/buildroot-2010.02/output/staging/usr/bin/arm-linux-uclibcgnueabi- gcc: No such file or directory extra/scripts/gen_bits_syscall_h.sh: line 31: /home/jdoe/buildroot-2010.02/output/staging/usr/bin/arm-linux-uclibcgnueabi- gcc: No such file or directory ERROR: Could not generate syscalls. Make sure that you have proper kernel headers. Your .config in KERNEL_HEADERS="" was set to: /home/jdoe/buildroot-2010.02/output/toolchain/linux/include/ make[1]: *** [include/bits/sysnum.h] Error 1 make[1]: Leaving directory `/home/jdoe/buildroot-2010.02/output/toolchain/uClibc-snapshot' make: *** [/home/jdoe/buildroot-2010.02/output/toolchain/uClibc-snapshot/.configured] Error 2 I can build fine when I use uClibc 0.9.30 from the master branch, but obviously without NPTL. Is it possible to build the uClibc nptl branch with buildroot? Has anyone done it before? What are the steps to do it? I noticed that the error above is caused by a check that is marked '@# Ugly linux specific hack..' in Makefile.in, which isn't present in the master branch, but I'm not sure what the hack is for, and whether there are any other problems with it, as the makefile is quite a bit different between the two branches, and I'm relatively new to linux development. Thanks Andrew Porritt _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
