From: Greg C. <gch...@sb...> - 2007-12-27 12:57:37
|
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. |