Failed build on mingw
[email protected] (Enrique Dominguez) Tue, 29 Apr 2008 19:46:33 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <1209491193.5035.12.camel@Andromeda> |
Hi all, first of all, sorry for my english. I'm trying to do it better.
I'm trying to compile and build libgd on mingw using msys (linux like
console subsystem) I downloaded gd-2.0.35 from your homepage and running
as you say. But make have failed with that output:
make all-recursive
make[1]: Entering directory `/home/enrique/build/gd-2.0.35'
Making all in config
make[2]: Entering directory
`/home/enrique/build/gd-2.0.35/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/enrique/build/gd-2.0.35/config'
Making all in test
make[2]: Entering directory `/home/enrique/build/gd-2.0.35/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/enrique/build/gd-2.0.35/test'
make[2]: Entering directory `/home/enrique/build/gd-2.0.35'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I. -g -O2 -MT gd.lo -MD -MP -MF ".deps/gd.Tpo" -c
-o gd.lo gd.c; \
then mv -f ".deps/gd.Tpo" ".deps/gd.Plo"; else rm -f
".deps/gd.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gd.lo -MD -MP
-MF .deps/gd.Tpo -c gd.c -DDLL_EXPORT -DPIC -o .libs/gd.o
gd.c:245: error: failure in redeclaration of
'gdImageColorClosestAlpha': dllimport'd symbol lacks external
linkage.
gd.c:245: confused by earlier errors, bailing out
make[2]: *** [gd.lo] Error 1
make[2]: Leaving directory `/home/enrique/build/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/enrique/build/gd-2.0.35'
make: *** [all] Error 2
Please, feel free to request any test you need, if you are interested in correcting problem.
Best regards,
Enrique DomÃnguez