[plug] Problem compiling linphone (command line only)
Cameron Patrick
cameron at patrick.wattle.id.au
Tue Nov 11 16:26:08 WST 2003
On Tue, Nov 11, 2003 at 04:13:43PM +0800, James Devenish wrote:
| In message <1068538310.683.49.camel at syngery>
| on Tue, Nov 11, 2003 at 04:11:51PM +0800, Chris Caston wrote:
| > rtcp.h:98 error: parse error before "GByteArray"
|
| Sounds like it depends on GTK headers. This would be an oversight on the
| developers' part (obviously it's not going to work if you're compiling
| without GTK/GNOME).
Looks like GLIB, not GTK proper.
$ grep -ri GByteArray /usr/include/
/usr/include/glib-1.2/glib.h:typedef struct _GByteArray GByteArray;
[...]
You might want to try to apt-get install libglib2.0-dev and see if that
helps.
| > rtcp.h:98 warning: no semicolon at end of struct or union
| > rtcp.h:98 warning: type default to 'int' in declaration 'chunk_item_t'
| > rtcp.h:99 warning: data definition has not type or storage class
|
| Should go away if the GTK header problem is fixed. You can probably get
| away with insert a judicious #include directive somewhere (hope won't
| introduce any library dependencies at all).
You'd probably have to stick a #include <glib.h> somewhere. You also
probably /will/ have to add the output of `pkg-config --cflags glib-2.0`
to the CFLAGS somewhere; and likewise `pkg-config --libs glib-2.0` to
somewhere else.
Cheers,
Cameron.
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
More information about the plug
mailing list