On 11/04/05 03:26 BJ Weschke said the following:
 gcc 3.0 and up is now a minimum requirement to build Asterisk.

 This is most likely your problem.

On 11/3/05, Matt Hess <[EMAIL PROTECTED]> wrote:

gcc version 2.95.3 20010125 (prerelease, propolice)
on OpenBSD 3.6.

which was the same problem i faced when i tryed to compile asterisk cvs head on freebsd 4.x as well. a simple patch (attached) to chan_agent.c fixes this problem and allows a clean compile with gcc 2.95.

-------- CUT HERE -----------
--- ./channels/chan_agent.c.orig        Mon Oct 31 16:30:28 2005
+++ ./channels/chan_agent.c     Mon Oct 31 16:34:03 2005
@@ -1680,7 +1680,7 @@
                             AST_APP_ARG(agent_id);
                             AST_APP_ARG(options);
                             AST_APP_ARG(extension);
-               );
+               )
        char *tmpoptions = NULL;
        char *context = NULL;
        int play_announcement = 1;
-------- CUT HERE -----------

--
Regards,                           /\_/\   "All dogs go to heaven."
[EMAIL PROTECTED]                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to