Hi all, During cross-compile, $includedir points to the host compile path (/usr/include). And since $includedir should be included by default, it should not be included in Makefile.am. Otherwise cross-compile will failed.
The patch below make it cross-compile friendly. Regards, Keith =============================== --- old-sofsip-cli/src/Makefile.am 2008-10-22 15:37:17.000000000 +0800 +++ new-sofsip-cli/src/Makefile.am 2008-10-22 15:37:17.000000000 +0800 @@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign -INCLUDES = $(SOFIA_SIP_UA_CFLAGS) $(SOFIA_SIP_UA_GLIB_CFLAGS) $(GST_CFLAGS) $(GOBJECT2_CFLAGS) $(FARSIGHT_CFLAGS) $(NICE_CFLAGS) -I$(includedir) +INCLUDES = $(SOFIA_SIP_UA_CFLAGS) $(SOFIA_SIP_UA_GLIB_CFLAGS) $(GST_CFLAGS) $(GOBJECT2_CFLAGS) $(FARSIGHT_CFLAGS) $(NICE_CFLAGS) LDADD = $(SOFIA_SIP_UA_LIBS) $(SOFIA_SIP_UA_GLIB_LIBS) $(GST_LIBS) $(GOBJECT2_LIBS) $(FARSIGHT_LIBS) $(LIBOBJS) $(NICE_LIBS) noinst_LTLIBRARIES = libsofsip-cli-objects.la ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel