Support for Nokia 770/maemo 2.0

Stephan Krause stkrause at tm.uka.de
Thu Jul 20 18:02:10 CEST 2006


Hi,

> I am not big on autoconf/automake ( i mean ... autohell tools :D ) either.
> Just to make sure, if you can force the build to use autoconf-2.59 (my
> debian testing reports the correct 2.59e version), that would be a
> good start. We had problems with all this auto* for old autoconf
> versions (such the one in debian stable).
> Also, i have on my debian pkg-config 0.20 ... it may be a reason also ...

it was indeed the pkg-config version that was to blame. pkg-config 0.17, which 
is included in maemo but not used by default, did the trick.


Well, almost.
Compilation stops at libminisip, because the compiler can't find glib.h. The 
include path to glib ist found correctly by ./configure and stored in 
OSSO_CFLAGS

But as far as I can see, OSSO_CFLAGS is not used (it is not found in any 
Makefile.am, and only on the left hand side of a assignment in Makefile.in 
and Makefile)

Nearly the same problem exists with OSSO_LIBS.

After patching the variables at their appropriate position in 
libminisip/Makefile.am, I'm able to compile all the libs.

Unfortunately, I'm still fighting with libglademm, so I can't compile the main 
application yet, but I'm working on that...

  Stephan



Index: libminisip/Makefile.am
===================================================================
--- libminisip/Makefile.am      (revision 2698)
+++ libminisip/Makefile.am      (working copy)
@@ -5,7 +5,7 @@
 DIST_SUBDIRS = $(SUBDIRS)
 EXTRA_DIST = libminisip.spec

-AM_CPPFLAGS = -I$(top_srcdir)/include $(MINISIP_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/include $(MINISIP_CFLAGS) $(OSSO_CFLAGS)

 pkgconfig_DATA = libminisip.pc

@@ -14,9 +14,9 @@
 libminisip_la_CPPFLAGS = $(AM_CPPFLAGS) -DMINISIP_PLUGINDIR=\"$(pluginsdir)\"

 libminisip_la_LDFLAGS = $(MINISIP_LIBRARY_LDFLAGS) \
-               $(RELOC_LDFLAGS)
+               $(RELOC_LDFLAGS)

-libminisip_la_LIBADD = $(MINISIP_LIBS)
+libminisip_la_LIBADD = $(MINISIP_LIBS) $(OSSO_LIBS)

 plugins_LTLIBRARIES =



More information about the Minisip-users mailing list