Re: [Mingw-users] Problems with building elfutils-libelf
- Date: Thu, 27 Dec 2007 12:57:27 +0000
- From: Greg Chicares <gchicares@xxxxxxxxxxxxx>
- Subject: Re: [Mingw-users] Problems with building elfutils-libelf
On 2007-12-27 07:46Z, Indraneel Mukherjee wrote:
>
> I'm an absolute newbie in the MinGW world. I'm trying to use
> elfutils-libelf to compile my app for Windows.
Are you aware that msw is a non-ELF platform?
> Build is failing and
> i'm clueless as the error message is not very clear to me.
[...]
> Making all in lib
> make[2]: Entering directory `C:/msys/1.0/home/indraneelm/elfutils-0.131/lib'
> gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I./../libelf -I.. -fpic
> -Wall -Wshadow -Werror -Wunused -Wextra -g -O2 -MT xstrndup.o -MD -MP
> -MF .deps/xstrndup.Tpo -c -o xstrndup.o xstrndup.c
> xstrndup.c:1: warning: -fpic ignored for target (all code is position
> independent)
> make[2]: *** [xstrndup.o] Error 1
'-fpic' produces a warning because it's ignored for msw.
'-Werror' treats that warning as an error, so 'make' stops.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users