[uClibc 0000778]: Error during compilation of readelf in uClibc using buildroot on cygwin host
bugs at busybox.net
bugs at busybox.net
Sat Oct 7 06:02:27 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=778
======================================================================
Reported By: blurgk
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 778
Category: Architecture Specific
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 03-08-2006 06:24 PST
Last Modified: 10-06-2006 23:02 PDT
======================================================================
Summary: 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.
======================================================================
----------------------------------------------------------------------
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
----------------------------------------------------------------------
blurgk - 04-18-06 02:55
----------------------------------------------------------------------
Ignore my previous message, the error is still present.
----------------------------------------------------------------------
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
Issue History
Date Modified Username Field Change
======================================================================
03-08-06 06:24 blurgk New Issue
03-08-06 06:24 blurgk Status new => assigned
03-08-06 06:24 blurgk Assigned To => uClibc
03-08-06 06:24 blurgk File Added: .config
04-18-06 02:32 blurgk Note Added: 0001305
04-18-06 02:55 blurgk Note Added: 0001306
04-22-06 12:27 vapier Summary Error during compilation
of readelf in uClibc using buildroot => Error during compilation of readelf in
uClibc using buildroot on cygwin host
04-22-06 12:27 vapier Description Updated
10-06-06 23:02 vapier Note Added: 0001686
10-06-06 23:02 vapier Status assigned => closed
10-06-06 23:02 vapier Resolution open => fixed
======================================================================
More information about the uClibc-cvs
mailing list