| Anonymous | Login | Signup for a new account | 11-10-2008 10:59 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 | ||||
| 0000778 | [uClibc] Architecture Specific | minor | always | 03-08-06 06:24 | 10-06-06 23:02 | ||||
| Reporter | blurgk | View Status | public | ||||||
| Assigned To | uClibc | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000778: Error during compilation of readelf in uClibc using buildroot on cygwin host | ||||||||
| Description |
Hello, I am using buildroot under cygwin and I get an error during the compilation of readelf in uclibc about conflicting elf defines: gcc ../utils/readelf.c -o ../utils/readelf.host -Wl,-s -O2 -Wall -include ../include/elf.h In file included from /usr/include/elf.h:18, from ../utils/readelf.c:41: /usr/include/sys/elf32.h:38: error: conflicting types for 'Elf32_Addr' ./../include/elf.h:48: error: previous declaration of 'Elf32_Addr' was here /usr/include/sys/elf32.h:40: error: conflicting types for 'Elf32_Off' ./../include/elf.h:52: error: previous declaration of 'Elf32_Off' was here /usr/include/sys/elf32.h:42: error: conflicting types for 'Elf32_Word' ... ../utils/readelf.c:373: warning: implicit declaration of function `list_needed_libraries' make[1]: *** [../utils/readelf.host] Error 1 make: *** [/usr/src/buildroot/build_arm_nofpu/staging_dir/lib/libc.a] Error 2 In addition, running make after this error doesn't retry to build readelf. Attached is my buildroot configuration. |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0001305) blurgk 04-18-06 02:32 |
The solution to this pronlem is in this bug report, which has been closed: http://bugs.busybox.net/view.php?id=816 [^] |
|
(0001306) blurgk 04-18-06 02:55 |
Ignore my previous message, the error is still present. |
|
(0001686) vapier 10-06-06 23:02 |
although the real solution is to stop using a craptastic environment like cygwin, we dont actually need to include elf.h in these files as the makefile will handle the proper elf.h for us |
| Copyright © 2000 - 2006 Mantis Group |