[Asterisk-Users] Can't compile asterisk-oh323 on Mandrake 10

Karim Mardhani karim at zeecore.net
Sun Aug 7 00:08:12 MST 2005


   Hi All:

  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"


  My gcc version is 3.3.2

  Thanks

  Karim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050807/7936d858/attachment.htm


More information about the asterisk-users mailing list