| Anonymous | Login | Signup for a new account | 11-10-2008 10:47 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000357 | [buildroot] Architecture Specific | minor | always | 07-26-05 02:01 | 02-12-07 05:50 | ||||
| Reporter | Sourcerer | View Status | public | ||||||
| Assigned To | buildroot | ||||||||
| Priority | normal | Resolution | won't fix | ||||||
| Status | closed | Product Version | 0.9.27 | ||||||
| Summary | 0000357: error when compiling under cygwin | ||||||||
| Description |
I always receive following error message when trying to compile under cygwin. I took following configuration kernel header 2.4.29 gcc 3.3.5 gdb 6.3 binutils 2.15.94.0.0.2 with multilib and largefile no soft float no busybox including c++ and java building into ${BUILD_DIR}/staging_dir default) for arm920t with MMU, little endian I build the same configuration under SuSE Linux and it worked fine |
||||||||
| Additional Information |
make[1]: Entering directory `/home/mdeuli/buildroot/toolchain_build_arm/uClibc-0 .9.27/utils' gcc -O2 -Wall -Wl,-s \ -DUCLIBC_RUNTIME_PREFIX=\"/\" \ -DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include \ ldd.c -o ldd.host gcc -O2 -Wall -Wl,-s \ -DUCLIBC_RUNTIME_PREFIX=\"/\" \ -DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include \ ldconfig.c -o ldconfig.host ldconfig.c:35:18: link.h: No such file or directory ldconfig.c:76:1: warning: "PATH_MAX" redefined In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/limits.h:122, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/syslimits.h:7, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/limits.h:11, from ldconfig.c:75: /usr/include/limits.h:129:1: warning: this is the location of the previous defin ition In file included from ldconfig.c:192: readsoname2.c: In function `readsoname32': readsoname2.c:3: warning: implicit declaration of function `ElfW' readsoname2.c:3: error: `Ehdr' undeclared (first use in this function) readsoname2.c:3: error: (Each undeclared identifier is reported only once readsoname2.c:3: error: for each function it appears in.) readsoname2.c:3: error: `epnt' undeclared (first use in this function) readsoname2.c:4: error: `Phdr' undeclared (first use in this function) readsoname2.c:4: error: `ppnt' undeclared (first use in this function) readsoname2.c:7: error: `Word' undeclared (first use in this function) readsoname2.c:7: error: parse error before "dynamic_addr" readsoname2.c:8: error: parse error before "dynamic_size" readsoname2.c:10: error: parse error before "strtab_val" readsoname2.c:11: error: parse error before "needed_val" readsoname2.c:12: error: `Sword' undeclared (first use in this function) readsoname2.c:12: error: parse error before "loadaddr" readsoname2.c:13: error: `Dyn' undeclared (first use in this function) readsoname2.c:13: error: `dpnt' undeclared (first use in this function) readsoname2.c:33: error: parse error before ')' token readsoname2.c:37: error: parse error before ')' token readsoname2.c:44: error: `loadaddr' undeclared (first use in this function) readsoname2.c:44: error: `PT_LOAD' undeclared (first use in this function) readsoname2.c:49: error: `dynamic_addr' undeclared (first use in this function) readsoname2.c:50: error: `dynamic_size' undeclared (first use in this function) readsoname2.c:55: error: parse error before ')' token readsoname2.c:61: error: `DT_NULL' undeclared (first use in this function) readsoname2.c:63: error: `DT_STRTAB' undeclared (first use in this function) readsoname2.c:64: error: `strtab_val' undeclared (first use in this function) readsoname2.c:71: error: parse error before ')' token readsoname2.c:74: error: `DT_SONAME' undeclared (first use in this function) readsoname2.c:74: error: `DT_NEEDED' undeclared (first use in this function) readsoname2.c:76: error: `needed_val' undeclared (first use in this function) In file included from ldconfig.c:198: readsoname2.c: In function `readsoname64': readsoname2.c:3: error: `Ehdr' undeclared (first use in this function) readsoname2.c:3: error: `epnt' undeclared (first use in this function) readsoname2.c:4: error: `Phdr' undeclared (first use in this function) readsoname2.c:4: error: `ppnt' undeclared (first use in this function) readsoname2.c:7: error: `Word' undeclared (first use in this function) readsoname2.c:7: error: parse error before "dynamic_addr" readsoname2.c:8: error: parse error before "dynamic_size" readsoname2.c:10: error: parse error before "strtab_val" readsoname2.c:11: error: parse error before "needed_val" readsoname2.c:12: error: `Sword' undeclared (first use in this function) readsoname2.c:12: error: parse error before "loadaddr" readsoname2.c:13: error: `Dyn' undeclared (first use in this function) readsoname2.c:13: error: `dpnt' undeclared (first use in this function) readsoname2.c:33: error: parse error before ')' token readsoname2.c:37: error: parse error before ')' token readsoname2.c:44: error: `loadaddr' undeclared (first use in this function) readsoname2.c:44: error: `PT_LOAD' undeclared (first use in this function) readsoname2.c:49: error: `dynamic_addr' undeclared (first use in this function) readsoname2.c:50: error: `dynamic_size' undeclared (first use in this function) readsoname2.c:55: error: parse error before ')' token readsoname2.c:61: error: `DT_NULL' undeclared (first use in this function) readsoname2.c:63: error: `DT_STRTAB' undeclared (first use in this function) readsoname2.c:64: error: `strtab_val' undeclared (first use in this function) readsoname2.c:71: error: parse error before ')' token readsoname2.c:74: error: `DT_SONAME' undeclared (first use in this function) readsoname2.c:74: error: `DT_NEEDED' undeclared (first use in this function) readsoname2.c:76: error: `needed_val' undeclared (first use in this function) ldconfig.c: In function `readsoname': ldconfig.c:205: error: `ELFCLASS32' undeclared (first use in this function) ldconfig.c: In function `is_shlib': ldconfig.c:242: error: `Ehdr' undeclared (first use in this function) ldconfig.c:242: error: `elf_hdr' undeclared (first use in this function) ldconfig.c:279: error: parse error before ')' token ldconfig.c:296: error: `EI_CLASS' undeclared (first use in this function) make[1]: *** [ldconfig.host] Error 1 make[1]: Leaving directory `/home/mdeuli/buildroot/toolchain_build_arm/uClibc-0. 9.27/utils' make: *** [/home/mdeuli/buildroot/build_arm/staging_dir/lib/libc.a] Error 2 |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0000349) vapier 07-26-05 16:08 |
your cygwin build env is incomplete the most notable issue is missing header files from your libc (link.h) |
| Copyright © 2000 - 2006 Mantis Group |