From: Ben W <ben...@gm...> - 2007-09-16 19:38:13
|
I am trying to port libgpod to run directly on the iPhone/iPT so we can integrate over-the-air downloads on the iPhone into the iTunesDB. This would enable us to write a podcast client that automatically integrates new files with the iPod functionality of the device. I have successfully built the iPhone/iPT build environment via the iPhone Dev Team's instructions here: http://code.google.com/p/iphone-dev/wiki/Building But when I try to build libgpod with: $ ./configure --host=arm-apple-darwin --build=i686-linux # (no errors) $ make make all-recursive make[1]: Entering directory `/home/ben/Desktop/gtkpod_svn/libgpod/trunk' Making all in src make[2]: Entering directory `/home/ben/Desktop/gtkpod_svn/libgpod/trunk/src' if /bin/sh ../libtool --tag=CC --mode=compile arm-apple-darwin-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -std=c89 -g -O2 -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -MT itdb_artwork.lo -MD -MP -MF ".deps/itdb_artwork.Tpo" -c -o itdb_artwork.lo itdb_artwork.c; \ then mv -f ".deps/itdb_artwork.Tpo" ".deps/itdb_artwork.Plo"; else rm -f ".deps/itdb_artwork.Tpo"; exit 1; fi arm-apple-darwin-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0-I/usr/lib/glib- 2.0/include -Wall -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0-I/usr/lib/glib- 2.0/include -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -std=c89 -g -O2 -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -MT itdb_artwork.lo -MD -MP -MF .deps/itdb_artwork.Tpo -c itdb_artwork.c -fno-common -DPIC -o .libs/itdb_artwork.o In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:30, from /usr/include/glib-2.0/glib.h:32, from itdb.h:44, from itdb_device.h:42, from itdb_artwork.c:32: /usr/include/glib-2.0/glib/gutils.h:100:21: error: missing binary operator before token "(" In file included from itdb_artwork.c:42: /usr/include/glib-2.0/glib/gi18n-lib.h:24:21: error: libintl.h: No such file or directory cc1: warnings being treated as errors itdb_artwork.c: In function 'itdb_artwork_add_thumbnail': itdb_artwork.c:199: warning: implicit declaration of function 'dgettext' itdb_artwork.c:199: warning: nested extern declaration of 'dgettext' itdb_artwork.c:200: warning: passing argument 4 of 'g_set_error' makes pointer from integer without a cast itdb_artwork.c: In function 'itdb_thumb_get_filename': itdb_artwork.c:395: warning: passing argument 1 of 'g_print' makes pointer from integer without a cast itdb_artwork.c:401: warning: passing argument 1 of 'g_print' makes pointer from integer without a cast itdb_artwork.c: In function 'get_pixel_data': itdb_artwork.c:751: warning: passing argument 1 of 'g_print' makes pointer from integer without a cast itdb_artwork.c: In function 'itdb_thumb_get_gdk_pixbuf': itdb_artwork.c:1019: warning: passing argument 1 of 'g_print' makes pointer from integer without a cast make[2]: *** [itdb_artwork.lo] Error 1 make[2]: Leaving directory `/home/ben/Desktop/gtkpod_svn/libgpod/trunk/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ben/Desktop/gtkpod_svn/libgpod/trunk' make: *** [all] Error 2 ----------- Does anyone familiar with the project have any tips or clues? Thanks! ben |