I am trying to compile asterisk with oh323 but I can't
compile it. I am using instruction provided at http://www.oinko.net/astrecipes/index.php?from=1&q=astrecipes/compiling+asterisk+with+oh323.
The compile error I am getting is as follows. Quite a few other people
are getting exactly same error but no one has posted a fix for this error
yet. Any help would greatly be appreciated.
gcc -Wall -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE
-I/usr/include/asteri\ sk -I../wrapper -g -c -o chan_oh323.o
chan_oh323.c In file included from
/usr/include/string.h:33,
from
chan_oh323.c:34: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/include/stddef.h:213:
error: syntax error before "typedef" In file included from
chan_oh323.c:34: /usr/include/string.h:38: error: syntax error before
"extern" /usr/include/string.h:39: error: parse error before
"__THROW" /usr/include/string.h:43: error: parse error before
"__THROW" /usr/include/string.h:56: error: parse error before
"__BEGIN_NAMESPACE_STD" /usr/include/string.h:58: error: syntax error
before "extern"