[Tux4kids-tuxtype-dev] Cross-Compile problem
Matthew Trey
tux4kids at treyhome.com
Fri Aug 14 15:46:44 UTC 2009
Hello, I would like to kick the tires, so to say, on tuxtype. After some
wrestling with the fedora mingw32 packages, I got most of the dependencies
compiled and ready to go. Then I went to compile tuxtype, the linker came
back complaining that it needs librsvg. OK no problem, just 1 more library
right? Not so easy. Librsvg requires popt and when I try to compile popt,
the sky falls.
I used the source for popt 1.5 from CVS. I guess my question is, what
version of popt did you use to compile librsvg, or did you do something
special to cross compile popt?
---------------------------- Build Output --------------------------------
make all-recursive
make[1]: Entering directory `/opt2/home/treymd/temp/SDL_Image/temp/popt'
Making all in po
make[2]: Entering directory `/opt2/home/treymd/temp/SDL_Image/temp/popt/po'
make[2]: Leaving directory `/opt2/home/treymd/temp/SDL_Image/temp/popt/po'
make[2]: Entering directory `/opt2/home/treymd/temp/SDL_Image/temp/popt'
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-mingw32-gcc
-DHAVE_CONFIG_H -I. -I. -I. -I/usr/i686-pc-mingw32/sys-root/mingw/include
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT
-MT popt.lo -MD -MP -MF .deps/popt.Tpo -c -o popt.lo popt.c
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/i686-pc-mingw32/sys-root/mingw/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT popt.lo -MD -MP -MF
.deps/popt.Tpo -c popt.c -DDLL_EXPORT -DPIC -o .libs/popt.o
popt.c: In function 'execCommand':
popt.c:565: warning: passing argument 2 of 'execvp' from incompatible
pointer type
popt.c: At top level:
popt.c:976: warning: 'seed' defined but not used
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/i686-pc-mingw32/sys-root/mingw/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT popt.lo -MD -MP -MF
.deps/popt.Tpo -c popt.c -o popt.o >/dev/null 2>&1
mv -f .deps/popt.Tpo .deps/popt.Plo
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-mingw32-gcc
-DHAVE_CONFIG_H -I. -I. -I. -I/usr/i686-pc-mingw32/sys-root/mingw/include
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT
-MT poptparse.lo -MD -MP -MF .deps/poptparse.Tpo -c -o poptparse.lo
poptparse.c
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/i686-pc-mingw32/sys-root/mingw/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT poptparse.lo -MD -MP
-MF .deps/poptparse.Tpo -c poptparse.c -DDLL_EXPORT -DPIC -o
.libs/poptparse.o
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/i686-pc-mingw32/sys-root/mingw/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT poptparse.lo -MD -MP
-MF .deps/poptparse.Tpo -c poptparse.c -o poptparse.o >/dev/null 2>&1
mv -f .deps/poptparse.Tpo .deps/poptparse.Plo
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-mingw32-gcc
-DHAVE_CONFIG_H -I. -I. -I. -I/usr/i686-pc-mingw32/sys-root/mingw/include
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT
-MT poptconfig.lo -MD -MP -MF .deps/poptconfig.Tpo -c -o poptconfig.lo
poptconfig.c
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/i686-pc-mingw32/sys-root/mingw/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
-mms-bitfields -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT poptconfig.lo -MD -MP
-MF .deps/poptconfig.Tpo -c poptconfig.c -DDLL_EXPORT -DPIC -o
.libs/poptconfig.o
poptconfig.c: In function 'poptSaneFile':
poptconfig.c:144: error: 'uid_t' undeclared (first use in this function)
poptconfig.c:144: error: (Each undeclared identifier is reported only once
poptconfig.c:144: error: for each function it appears in.)
poptconfig.c:144: error: expected ';' before 'uid'
poptconfig.c:148: error: expected ')' before 'sb'
poptconfig.c:153: error: 'S_IWGRP' undeclared (first use in this function)
poptconfig.c:153: error: 'S_IWOTH' undeclared (first use in this function)
poptconfig.c: In function 'poptReadDefaultConfig':
poptconfig.c:504: warning: unused variable 'sb'
make[2]: *** [poptconfig.lo] Error 1
make[2]: Leaving directory `/opt2/home/treymd/temp/SDL_Image/temp/popt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt2/home/treymd/temp/SDL_Image/temp/popt'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20090814/138d2745/attachment.htm>
More information about the Tux4kids-tuxtype-dev
mailing list