| Summary: | ./wchar.h:41:12: error: empty filename in #include | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Paul Jones <paul.jones> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | admin, buildroot, jacmet, stef |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Gentoo AMD64 | Target: | x86&ARM |
| Build: | 2009.02 | ||
| Attachments: | .config from menuconfig | ||
Sorry, cannot reproduce. What does build_build_arm/coreutils-6.9/lib/config.h look like? Please post your buildroot .config Created attachment 101 [details]
.config from menuconfig
wchar.h is as follows:
#ifndef _GL_WCHAR_H
#define _GL_WCHAR_H
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
<wchar.h>.
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
included before <wchar.h>. */
#include <stddef.h>
#include <stdio.h>
#include <time.h>
/* Include the original <wchar.h>. */
#include ""
#endif /* _GL_WCHAR_H */
How did you manage to enable BR2_PACKAGE_COREUTILS without enabling BR2_USE_WCHAR? Coreutils has depended on WCHAR since Summer 2007. Please enable WCHAR support in your toolchain if you need to use coreutils (or consider busybox instead). In Menuconfig I did this:
Target Architecture -> ARM
Target Architecture Variant -> arm920t
Target options -> * ARM Ltd. Device Support
* Generic development system
Ahh, thanks. I've fixed it so you can only select generic develop system if you have wchar enabled in r25521. |
# Work around problem of missing syslimits.h if [ ! -f /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/lib/gcc/arm-linux-uclibc/4.3.2/include-fixed/syslimits.h ]; then \ echo "warning: working around missing syslimits.h"; \ cp -f /home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/4.3.2/include-fixed/syslimits.h \ /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/lib/gcc/arm-linux-uclibc/4.3.2/include-fixed/; \ fi # Make sure we have 'cc'. if [ ! -e /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/bin/cc ]; then \ ln -snf gcc /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/bin/cc; \ fi # These are in /lib, so... #rm -rf /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/lib/libgcc_s*.so* touch -c /home/paul.jones/dev/buildroot-2009.02-rc2/project_build_arm/uclibc/root/usr/bin/gcc /usr/bin/make -j1 -C /home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9 make[1]: Entering directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9' Making all in lib make[2]: Entering directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9/lib' /usr/bin/make all-am make[3]: Entering directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9/lib' /home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -I/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/usr/include -I/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/include --sysroot=/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/ -isysroot /home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir -mtune=arm920t -I. -g -O2 -c allocsa.c In file included from ./stdint.h:87, from ///home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/staging_dir/usr/include/stdlib.h:860, from ./stdlib.h:44, from allocsa.h:24, from allocsa.c:22: ./wchar.h:41:12: error: empty filename in #include make[3]: *** [allocsa.o] Error 1 make[3]: Leaving directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9' make: *** [/home/paul.jones/dev/buildroot-2009.02-rc2/build_arm/coreutils-6.9/src/vdir] Error 2