[asterisk-users] Compilation error

2009-07-17 Thread michel freiha
Dear Sir,

I'm trying to install asterisk 1.6.1.1 on solaris 10...At the end of gmake I
got the below error


creating config.h
In file included from sig.h:47,
 from el.h:107,
 from common.c:51,
 from editline.c:4:
/usr/include/signal.h:77: error: syntax error before '*' token
gmake[2]: *** [editline.o_a] Error 1
gmake[1]: *** [editline/libedit.a] Error 2
gmake: *** [main] Error 2

Can you help me please in fixing it?

Regards
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Compilation error

2009-07-16 Thread michel freiha
Hi all

I'm trying to install asteris 1.4.22.1 on Solaris 10...the server is V120
SUN spark...During compilation (gmake) I got the following error

/vis.c -o np/vis.o_a
np/vis.c: In function `svis':
np/vis.c:205: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:205: error: (Each undeclared identifier is reported only once
np/vis.c:205: error: for each function it appears in.)
np/vis.c:205: error: syntax error before "u_char"
np/vis.c:205: error: syntax error before ')' token
np/vis.c:205: error: syntax error before "u_char"
np/vis.c:205: error: syntax error before ')' token
np/vis.c:207: error: syntax error before "u_char"
np/vis.c:207: error: syntax error before ')' token
np/vis.c:207: error: syntax error before "u_char"
np/vis.c:207: error: syntax error before ')' token
np/vis.c: In function `strsvis':
np/vis.c:245: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:245: error: syntax error before "u_char"
np/vis.c:245: error: syntax error before ')' token
np/vis.c:245: error: syntax error before "u_char"
np/vis.c:245: error: syntax error before ')' token
np/vis.c:248: error: syntax error before "u_char"
np/vis.c:248: error: syntax error before ')' token
np/vis.c:248: error: syntax error before "u_char"
np/vis.c:248: error: syntax error before ')' token
np/vis.c: In function `strsvisx':
np/vis.c:275: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:275: error: syntax error before "u_char"
np/vis.c:275: error: syntax error before ')' token
np/vis.c:275: error: syntax error before "u_char"
np/vis.c:275: error: syntax error before ')' token
np/vis.c:280: error: syntax error before "u_char"
np/vis.c:280: error: syntax error before ')' token
np/vis.c:280: error: syntax error before "u_char"
np/vis.c:280: error: syntax error before ')' token
np/vis.c: In function `vis':
np/vis.c:303: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:303: error: syntax error before "u_char"
np/vis.c:303: error: syntax error before ')' token
np/vis.c:303: error: syntax error before "u_char"
np/vis.c:303: error: syntax error before ')' token
np/vis.c:305: error: syntax error before "u_char"
np/vis.c:305: error: syntax error before ')' token
np/vis.c:305: error: syntax error before "u_char"
np/vis.c:305: error: syntax error before ')' token
gmake[2]: *** [np/vis.o_a] Error 1
gmake[1]: *** [editline/libedit.a] Error 2
gmake: *** [main] Error 2

I guess there is a BUG in vis.c...Can you please let me know how to define
this variable?

Thanks
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] compilation of asterisk 1.4.19 with ilbc already on system

2008-04-17 Thread Vieri

--- "Kevin P. Fleming" <[EMAIL PROTECTED]> wrote:

> Vieri wrote:
> 
> > So basically I'm wondering if the Asterisk
> > make/configure process could do steps 1 and 2
> > automagically for me.
> 
> I can't find any other Linux distribution that
> provides libilbc, so this
> would be a very Gentoo-specific change if we did it.
> Also, we'll have
> the iLBC source code back in the main distribution
> in the near future
> when the licensing issues are worked out, so for
> everyone else this will
> become a non-issue.

I didn't know that. If that's the case then never mind
my request.

> Do you see any particular advantage to using the
> system-provided
> libilbc, given that we use it in static (not shared
> object) form and it
> would have to be relinked into Asterisk if it got
> upgraded anyway?

No real advantage but I had to patch Gentoo's Asterisk
1.4.19 ebuild (ie "package") to avoid losing
/usr/lib/asterisk/modules/codec_ilbc.so and I took
advantage of the fact that there already exists an
ilbc ebuild for Gentoo.
If I want Gentoo users to upgrade seamlessly via the
package management system I can think of only two
choices:

1) change the 1.4.19 ebuild so that it runs the
contrib/scripts/getilbcsource.sh before compiling (but
I would still need to patch that script to remove the
"read")

2) change the * 1.4.19 ebuild so that it can take
advantage of ilbc provided by another ebuild (via
dependency).

I proposed option 2 for Gentoo users and it's working
fine for my system.
However, if you plan to get the iLBC source code back
in the main distribution soon then that's even better
and as I wrote before, you can ignore my request.

Thanks,
Vieri



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] compilation of asterisk 1.4.19 with ilbc already on system

2008-04-16 Thread Kevin P. Fleming
Vieri wrote:

> So basically I'm wondering if the Asterisk
> make/configure process could do steps 1 and 2
> automagically for me.

I can't find any other Linux distribution that provides libilbc, so this
would be a very Gentoo-specific change if we did it. Also, we'll have
the iLBC source code back in the main distribution in the near future
when the licensing issues are worked out, so for everyone else this will
become a non-issue.

Do you see any particular advantage to using the system-provided
libilbc, given that we use it in static (not shared object) form and it
would have to be relinked into Asterisk if it got upgraded anyway?

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] compilation of asterisk 1.4.19 with ilbc already on system

2008-04-16 Thread Vieri

--- "Kevin P. Fleming" <[EMAIL PROTECTED]> wrote:

> Vieri wrote:
> 
> > How can I tell the make system in 1.4.19 that ilbc
> is
> > already on the system and that it should link to
> > /usr/lib/libilbc.a?
> > 
> > Shouldn't the configure script do that?
> 
> No; the Asterisk build system has never had support
> for using a
> system-provided version of the iLBC library.
> 
> Whoever provided you that library could easily run
> afoul of the same
> licensing issues that caused us to remove the code
> from our Asterisk
> distribution, and using that library does not
> obviate you from the need
> to register your intent to use the codec if you are
> using it for
> commercial purposes.
> 
> -- 
> Kevin P. Fleming
> Director of Software Technologies
> Digium, Inc. 

Thanks but I'm curious.
I'm using Gentoo Linux and there's an "ebuild" (ie.
"package") to install the iLBC development library.
Gentoo "ebuilds" are scripts that automatically
download upstream source code, compile and install (no
"binary packages").
As far as licensing is concerned, all ebuilds are
required to specify the type of license. So in case of
iLBC, the "LICENSE" keyword points to
http://www.ilbcfreeware.org/documentation/gips_iLBClicense.pdf.
Thus, when iLBC is installed via this ebuild the user
knows the license its under (and therefore accepts it
whether for commercial or personal use).

I don't see the legal problem with installing iLBC
this way.

So I had to slightly change the asterisk build
process:
1) modify the codecs Makefile:
--- codecs/Makefile.orig2008-04-14 12:48:09.0
+0200
+++ codecs/Makefile 2008-04-14 12:49:46.0
+0200
@@ -29,7 +29,7 @@
   LOADABLE_MODS:=
 endif
 
-LIBILBC:=ilbc/libilbc.a
+LIBILBC:=/usr/lib/libilbc.a
 LIBLPC10:=lpc10/liblpc10.a
 
 all: _all
@@ -56,6 +56,6 @@
 $(if $(filter
codec_lpc10,$(EMBEDDED_MODS)),modules.link,codec_lpc10.so):
$(LIBLPC10)
 
 $(LIBILBC):
-   @$(MAKE) -C ilbc all ASTCFLAGS="$(filter-out
-Wmissing-prototypes
-Wmissing-declarations,$(ASTCFLAGS))
$(AST_NO_STRICT_OVERFLOW)"
+   @echo "Using /usr/lib/libilbc.a"
 
 $(if $(filter
codec_ilbc,$(EMBEDDED_MODS)),modules.link,codec_ilbc.so):
$(LIBILBC)
2) remove codec_ilbc from MENUSELECT_CODECS in
menuselect.makeopts so that codec_ilbc gets built by
asterisk:
make menuselect.makeopts
sed -i -e "s:codec_ilbc::" menuselect.makeopts
3) make asterisk as usual

So basically I'm wondering if the Asterisk
make/configure process could do steps 1 and 2
automagically for me.

Vieri



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] compilation of asterisk 1.4.19 with ilbc already on system

2008-04-15 Thread Kevin P. Fleming
Vieri wrote:

> How can I tell the make system in 1.4.19 that ilbc is
> already on the system and that it should link to
> /usr/lib/libilbc.a?
> 
> Shouldn't the configure script do that?

No; the Asterisk build system has never had support for using a
system-provided version of the iLBC library.

Whoever provided you that library could easily run afoul of the same
licensing issues that caused us to remove the code from our Asterisk
distribution, and using that library does not obviate you from the need
to register your intent to use the codec if you are using it for
commercial purposes.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] compilation of asterisk 1.4.19 with ilbc already on system

2008-04-13 Thread Vieri
I already have ilbc installed on my system. The files
are:

/usr/include/ilbc/iLBC_decode.h
/usr/include/ilbc/iLBC_define.h
/usr/include/ilbc/iLBC_encode.h
/usr/lib/libilbc.a
/usr/lib/libilbc.la
/usr/lib/libilbc.so -> libilbc.so.0.0.0
/usr/lib/libilbc.so.0 -> libilbc.so.0.0.0
/usr/lib/libilbc.so.0.0.0

However, if I do a "make" in asterisk-1.4.19, it will
not detect that libilbc.a is already on the system. If
I manually remove "codec_ilbc" from MENUSELECT_CODECS
in menuselect.makeopts then codecs/codec_ilbc.c will
compile to codec_ilbc.o because it finds the header
files (/usr/include/ilbc/iLBC_{en,de}code.h) but it
will fail to compile to codec_ilbc.so because it will
try to make the ilbc subdir which I haven't downloaded
the ilbc source code to.

How can I tell the make system in 1.4.19 that ilbc is
already on the system and that it should link to
/usr/lib/libilbc.a?

Shouldn't the configure script do that?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compilation after Source code changes in Asterisk

2007-06-04 Thread Mojo with Horan & Company, LLC
the 'make' command would typically recompile and re-link only the files 
that have changed.  Not sure how well this works with asterisk, but I 
think that's the idea.


Mojo

Arpit Mehta wrote:

hi,

This might be the most obvious thing to you. I need to change some parts 
of the source code of Asterisk. I was wondering if we have to compile 
the whole source code again everytime using the commands (which i think 
might take some time to compile again)


cd /usr/src/asterisk-version
make
make install


or is there a faster and better way to do things

Thanks a lot for all the help i have recievied from this mailing list.

-- AM




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Compilation after Source code changes in Asterisk

2007-05-31 Thread Arpit Mehta

hi,

This might be the most obvious thing to you. I need to change some parts of
the source code of Asterisk. I was wondering if we have to compile the whole
source code again everytime using the commands (which i think might take
some time to compile again)

cd /usr/src/asterisk-version
make
make install


or is there a faster and better way to do things

Thanks a lot for all the help i have recievied from this mailing list.

-- AM
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] compilation error in CYGWIN

2007-04-12 Thread pandi ponnangan
  
Hello all,

  i followed for the following step.
1)extract AsteriskWin32-0.60-Setup.exe into cygwin folder
2)extract asterisk-1.2.14 into /usr/src
3)applied the patch like that patch -p0 < awin32-0.60.patch
(here it will ask YES or NO.Is it possible to give YES recursively?)
4)make

that time i am getting lots of error..

is anything i made wrong?

Regards,
Pandi.P 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] compilation problem with asterisk-addons

2006-11-03 Thread Erick Perez

Thanks, I learned the hard (but fun) way!!!

Cheers,

On 11/1/06, Russell Bryant <[EMAIL PROTECTED]> wrote:

Erick Perez wrote:
> Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:
>
> Note: MySQL libraries are installed and the structure is as follows:
> /usr/src/astsources/asterisk-1.2.13
> /usr/src/astsources/asterisk-addons-1.2.5
>
> in /usr/src/astsources/asterisk-addons-1.2.5 I do:
> make clean
> make
>
> and the output is:
>
> ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
> app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
> app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
> app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
> app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
> app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory

You need to install Asterisk before trying to compile and install 
Asterisk-addons.

--
Russell Bryant
Software Engineer
Digium, Inc.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users







--

Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] compilation problem with asterisk-addons

2006-11-01 Thread Russell Bryant

Erick Perez wrote:

Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:

Note: MySQL libraries are installed and the structure is as follows:
/usr/src/astsources/asterisk-1.2.13
/usr/src/astsources/asterisk-addons-1.2.5

in /usr/src/astsources/asterisk-addons-1.2.5 I do:
make clean
make

and the output is:

./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory


You need to install Asterisk before trying to compile and install 
Asterisk-addons.

--
Russell Bryant
Software Engineer
Digium, Inc.
begin:vcard
fn:Russell Bryant
n:Bryant;Russell
org:Digium, Inc.
adr:;;150 West Park Loop;Huntsville;AL;35806;USA
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:+1-256-428-6000
x-mozilla-html:FALSE
url:http://www.digium.com
version:2.1
end:vcard

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] compilation problem with asterisk-addons

2006-10-31 Thread Erick Perez

Hi,

Trying to compile asterisk-addons 1.2.5 on Centos 4.4 produces this:

Note: MySQL libraries are installed and the structure is as follows:
/usr/src/astsources/asterisk-1.2.13
/usr/src/astsources/asterisk-addons-1.2.5

in /usr/src/astsources/asterisk-addons-1.2.5 I do:
make clean
make

and the output is:

./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:25:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:26:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:27:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:28:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:29:29: asterisk/module.h: No such file or directory
app_addon_sql_mysql.c:30:34: asterisk/linkedlists.h: No such file or directory
app_addon_sql_mysql.c:31:31: asterisk/chanvars.h: No such file or directory
app_addon_sql_mysql.c:32:27: asterisk/lock.h: No such file or directory
app_saycountpl.c:11:27: asterisk/file.h: No such file or directory
app_saycountpl.c:12:29: asterisk/logger.h: No such file or directory
app_saycountpl.c:13:30: asterisk/channel.h: No such file or directory
app_saycountpl.c:14:26: asterisk/pbx.h: No such file or directory
app_saycountpl.c:15:29: asterisk/module.h: No such file or directory
app_saycountpl.c:16:27: asterisk/lock.h: No such file or directory
cdr_addon_mysql.c:23:29: asterisk/config.h: No such file or directory
cdr_addon_mysql.c:24:30: asterisk/options.h: No such file or directory
cdr_addon_mysql.c:25:30: asterisk/channel.h: No such file or directory
cdr_addon_mysql.c:26:26: asterisk/cdr.h: No such file or directory
cdr_addon_mysql.c:27:29: asterisk/module.h: No such file or directory
cdr_addon_mysql.c:28:29: asterisk/logger.h: No such file or directory
cdr_addon_mysql.c:29:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:41:30: asterisk/channel.h: No such file or directory
res_config_mysql.c:42:29: asterisk/logger.h: No such file or directory
res_config_mysql.c:43:29: asterisk/config.h: No such file or directory
res_config_mysql.c:44:29: asterisk/module.h: No such file or directory
res_config_mysql.c:45:27: asterisk/lock.h: No such file or directory
res_config_mysql.c:46:30: asterisk/options.h: No such file or directory
res_config_mysql.c:47:26: asterisk/cli.h: No such file or directory
res_config_mysql.c:48:28: asterisk/utils.h: No such file or directory
make -C format_mp3 all
make[1]: Entering directory
`/usr/src/astsources/asterisk-addons-1.2.5/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6-c -o
common.o common.c
common.c:1:29: asterisk/logger.h: No such file or directory
common.c: In function `decode_header':
common.c:93: warning: implicit declaration of function `ast_log'
common.c:93: error: `LOG_WARNING' undeclared (first use in this function)
common.c:93: error: (Each undeclared identifier is reported only once
common.c:93: error: for each function it appears in.)
make[1]: *** [common.o] Error 1
make[1]: Leaving directory
`/usr/src/astsources/asterisk-addons-1.2.5/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2


Thanks for your help.


--

Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Compilation

2006-08-23 Thread Dan Austin



The archives should contain these details, but here they 
are again-
 
Near line 29-
change this line:    app_test.so 
app_forkcdr.soTo 
this: 
app_test.so app_forkcdr.so app_cbmysql.so
 
Near line 88 add thes lines (just above this line " look:  
look.c"
app_cbmysql.o: app_cbmysql.c   
$(CC) -pipe -I/usr/include/mysql -L/usr/lib/mysql $(CFLAGS) -c -o app_cbmysql.o 
app_cbmysql.c**It is important that the $(CC) line start with a tab and 
not spaces.
 
I posted Web-MeetMe-2.1.0 up on SourceForge yesterday, and it has a 
self-contained build
environment for app_cbmysql.  I would recommend that you use 2.1.0 
if you are
just getting started.  The process to build app_cbmysql is much more 
straight forward
and there are a number of key 
improvements.
 
Dan


  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Khaled 
  ChehabSent: Wednesday, August 23, 2006 4:09 AMTo: 
  'Asterisk Users Mailing List - Non-Commercial Discussion'Subject: 
  RE: [asterisk-users] Compilation
  
  
  
  Dear dan 
  
  Thanks for your 
  help,
  I am using 
  Web-MeetMe_v2.0.0.gz ,I copied  app_cbmysql.c to 
   /usr/src/asterisk/apps/ ,can you please tell me how to include it at the 
  Makefile
   
  Regards
   
   
  
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of Dan AustinSent: Tuesday, August 22, 2006 7:19 
  PMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: RE: [asterisk-users] 
  Compilation
   
  Which version of 
  Web-MeetMe did you download?  The process up to 2.0.1 is, well, 
  annoying.
  Copy app_cbmysql.c to 
  ./asterisk/apps and modify the Makefile to include the 
  application.
   
  The project is now 
  hosted on SourceForge and has a much improved build process, but I 
  have
  not built a release 
  tarball yet.
   
  Dan
  
 



From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Khaled ChehabSent: Tuesday, August 22, 2006 4:01 
AMTo: 'Asterisk Users Mailing List - Non-Commercial 
Discussion'Cc: [EMAIL PROTECTED]Subject: [asterisk-users] 
Compilation
Dear 

I  am installing Web-MeetMe 
,one of the requirements is app_cbmysql.c
I have it but ,how can I compile 
it .
 
 
Regards
 
 



*No 
employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written 
confirmation by an officer of Xplorium. Any views expressed by an individual 
in this electronic message do not necessarily reflect views of Xplorium or 
its subsidiaries and associates.This electronic message and its 
attachments are solely addressed to the addressee(s), and contain 
confidential information protected from disclosure belonging to 
Xplorium.If you are not the intended addressee of this electronic 
message and its attachments, kindly delete it immediately from your system 
and notify the sender by electronic mail. You must not copy this message or 
attachment or disclose its content to any other person.Xplorium does 
not guarantee the integrity of this electronic message and any of its 
attachments, or that they are free from computer viruses or other 
defects.* 

  
  *No employee or agent is 
  authorized to conclude any binding agreement on behalf of Xplorium with 
  another party by e-mail without express written confirmation by an officer of 
  Xplorium. Any views expressed by an individual in this electronic message do 
  not necessarily reflect views of Xplorium or its subsidiaries and 
  associates.This electronic message and its attachments are solely 
  addressed to the addressee(s), and contain confidential information protected 
  from disclosure belonging to Xplorium.If you are not the intended 
  addressee of this electronic message and its attachments, kindly delete it 
  immediately from your system and notify the sender by electronic mail. You 
  must not copy this message or attachment or disclose its content to any other 
  person.Xplorium does not guarantee the integrity of this electronic 
  message and any of its attachments, or that they are free from computer 
  viruses or other defects.* 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Compilation

2006-08-23 Thread Khaled Chehab










Dear dan 

Thanks for your help,

I am using Web-MeetMe_v2.0.0.gz ,I copied  app_cbmysql.c to  /usr/src/asterisk/apps/
,can you please tell me how to include it at the Makefile

 

Regards

 



 









From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dan Austin
Sent: Tuesday, August 22, 2006
7:19 PM
To: Asterisk
 Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users]
Compilation



 

Which version of Web-MeetMe did you
download?  The process up to 2.0.1 is, well, annoying.

Copy app_cbmysql.c to ./asterisk/apps and
modify the Makefile to include the application.

 

The project is now hosted on SourceForge
and has a much improved build process, but I have

not built a release tarball yet.

 

Dan



 







From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Khaled Chehab
Sent: Tuesday, August 22, 2006
4:01 AM
To: 'Asterisk
 Users Mailing List - Non-Commercial Discussion'
Cc: [EMAIL PROTECTED]
Subject: [asterisk-users]
Compilation

Dear 

I  am installing Web-MeetMe ,one of the requirements is
app_cbmysql.c

I have it but ,how can I compile it .

 

 

Regards

 

 







*
No employee or agent is authorized to conclude any binding agreement on behalf
of Xplorium with another party by e-mail without express written confirmation
by an officer of Xplorium. Any views expressed by an individual in this
electronic message do not necessarily reflect views of Xplorium or its
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the
addressee(s), and contain confidential information protected from disclosure
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its
attachments, kindly delete it immediately from your system and notify the
sender by electronic mail. You must not copy this message or attachment or
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of
its attachments, or that they are free from computer viruses or other defects.
* 








*
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Compilation

2006-08-22 Thread Dan Austin



Which version of Web-MeetMe did you download?  The 
process up to 2.0.1 is, well, annoying.
Copy app_cbmysql.c to ./asterisk/apps and modify the 
Makefile to include the application.
 
The project is now hosted on SourceForge and has a much 
improved build process, but I have
not built a release tarball yet.
 
Dan

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Khaled 
  ChehabSent: Tuesday, August 22, 2006 4:01 AMTo: 
  'Asterisk Users Mailing List - Non-Commercial Discussion'Cc: 
  [EMAIL PROTECTED]Subject: [asterisk-users] 
  Compilation
  
  
  Dear 
  I  am installing Web-MeetMe 
  ,one of the requirements is app_cbmysql.c
  I have it but ,how can I compile 
  it .
   
   
  Regards
   
  
  *No employee or agent is 
  authorized to conclude any binding agreement on behalf of Xplorium with 
  another party by e-mail without express written confirmation by an officer of 
  Xplorium. Any views expressed by an individual in this electronic message do 
  not necessarily reflect views of Xplorium or its subsidiaries and 
  associates.This electronic message and its attachments are solely 
  addressed to the addressee(s), and contain confidential information protected 
  from disclosure belonging to Xplorium.If you are not the intended 
  addressee of this electronic message and its attachments, kindly delete it 
  immediately from your system and notify the sender by electronic mail. You 
  must not copy this message or attachment or disclose its content to any other 
  person.Xplorium does not guarantee the integrity of this electronic 
  message and any of its attachments, or that they are free from computer 
  viruses or other defects.* 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Compilation

2006-08-22 Thread Khaled Chehab








Dear 

I  am installing Web-MeetMe ,one of the requirements is app_cbmysql.c

I have it but ,how can I compile it .

 

 

Regards

 






*
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Compilation issues with s390

2006-05-31 Thread Kevin P. Fleming
Frank Pani wrote:

> I was not under the impression that this wasn't an appropriate place for
> this discussion, as we have already exchanged several emails on this
> without any prior indication.   I will move the topic as suggested to a
> bug marshal or tracker at bugs.digium.com.

Yeah, sorry about that... when I saw the first message I thought 'hey,
this is a simple fix, I'll just do it'. Turns out I was wrong :-) Don't
be offended, it just got more involved and will require some more direct
interaction to solve it.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-31 Thread Frank Pani

Kevin P. Fleming wrote:


This is not an appropriate place for this discussion; the best thing to
do at this point is to either open a bug in the tracker at
bugs.digium.com or find a bug marshal on the #asterisk channel on IRC
(in fact, getting a bug marshal remote access to your system is the
fastest way to get this fixed, as they can run the build process
repeatedly until these problems are solved).

I was not under the impression that this wasn't an appropriate place for 
this discussion, as we have already exchanged several emails on this 
without any prior indication.   I will move the topic as suggested to a 
bug marshal or tracker at bugs.digium.com.

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-31 Thread Kevin P. Fleming
Frank Pani wrote:

> I'm on another mail client - so hopefully this will be better.
> Unfortunately, still not a go.   I'm copying the entire error message,
> thinking I may have left something out.   I see the changes you made in
> the gsm Makefile for the addition of s390.   Perhaps there is another
> spot?  I'm also wondering if I have the right gcc - I'm using gcc-3.2.2
> which comes with the distribution for SuSE.

This is not an appropriate place for this discussion; the best thing to
do at this point is to either open a bug in the tracker at
bugs.digium.com or find a bug marshal on the #asterisk channel on IRC
(in fact, getting a bug marshal remote access to your system is the
fastest way to get this fixed, as they can run the build process
repeatedly until these problems are solved).
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-31 Thread Frank Pani

Hi (Kevin),

I'm on another mail client - so hopefully this will be better. 
Unfortunately, still not a go.   I'm copying the entire error message, 
thinking I may have left something out.   I see the changes you made in 
the gsm Makefile for the addition of s390.   Perhaps there is another 
spot?  I'm also wondering if I have the right gcc - I'm using gcc-3.2.2 
which comes with the distribution for SuSE.


Thanks

make[1]: Entering directory `/usr/src/asterisk-1.2/codecs'
make -C gsm lib/libgsm.a
make[2]: Entering directory `/usr/src/asterisk-1.2/codecs/gsm'
as   -o src/k6opt.o src/k6opt.s
src/k6opt.s: Assembler messages:
src/k6opt.s:9: Error: unknown pseudo-op: `.value'
src/k6opt.s:10: Error: unknown pseudo-op: `.value'
src/k6opt.s:11: Error: unknown pseudo-op: `.value'
src/k6opt.s:12: Error: unknown pseudo-op: `.value'
src/k6opt.s:13: Error: unknown pseudo-op: `.value'
src/k6opt.s:14: Error: unknown pseudo-op: `.value'
src/k6opt.s:15: Error: unknown pseudo-op: `.value'
src/k6opt.s:16: Error: unknown pseudo-op: `.value'
src/k6opt.s:17: Error: unknown pseudo-op: `.value'
src/k6opt.s:18: Error: unknown pseudo-op: `.value'
src/k6opt.s:19: Error: unknown pseudo-op: `.value'
src/k6opt.s:20: Error: unknown pseudo-op: `.value'
src/k6opt.s:27: Error: Unrecognized opcode: `pushl'
src/k6opt.s:28: Error: Unrecognized opcode: `movl'
src/k6opt.s:29: Error: Unrecognized opcode: `pushl'
src/k6opt.s:30: Error: Unrecognized opcode: `pushl'
src/k6opt.s:31: Error: Unrecognized opcode: `pushl'
src/k6opt.s:32: Error: Unrecognized opcode: `movl'
src/k6opt.s:33: Error: Unrecognized opcode: `movl'
src/k6opt.s:34: Error: Unrecognized opcode: `addl'
src/k6opt.s:35: Error: Unrecognized opcode: `emms'
src/k6opt.s:36: Error: Unrecognized opcode: `movl'
src/k6opt.s:36: Error: Unrecognized opcode: `movd'
src/k6opt.s:37: Error: Unrecognized opcode: `movq'
src/k6opt.s:38: Error: Unrecognized opcode: `movq'
src/k6opt.s:39: Error: Unrecognized opcode: `movq'
src/k6opt.s:40: Error: Unrecognized opcode: `xorl'
src/k6opt.s:43: Error: Unrecognized opcode: `movq'
src/k6opt.s:44: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:46: Error: Unrecognized opcode: `movq'
src/k6opt.s:47: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:48: Error: Unrecognized opcode: `paddd'
src/k6opt.s:50: Error: Unrecognized opcode: `movq'
src/k6opt.s:51: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:52: Error: Unrecognized opcode: `paddd'
src/k6opt.s:54: Error: Unrecognized opcode: `movq'
src/k6opt.s:55: Error: Unrecognized opcode: `punpckhdq'
src/k6opt.s:56: Error: Unrecognized opcode: `paddd'
src/k6opt.s:58: Error: Unrecognized opcode: `paddd'
src/k6opt.s:59: Error: Unrecognized opcode: `psrad'
src/k6opt.s:60: Error: Unrecognized opcode: `packssdw'
src/k6opt.s:61: Error: Unrecognized opcode: `movd'
src/k6opt.s:62: Error: Unrecognized opcode: `movw'
src/k6opt.s:63: Error: Unrecognized opcode: `incl'
src/k6opt.s:64: Error: Unrecognized opcode: `cmpl'
src/k6opt.s:66: Error: Unrecognized opcode: `emms'
src/k6opt.s:67: Error: Unrecognized opcode: `popl'
src/k6opt.s:68: Error: Unrecognized opcode: `popl'
src/k6opt.s:69: Error: Unrecognized opcode: `popl'
src/k6opt.s:70: Error: Unrecognized opcode: `leave'
src/k6opt.s:71: Error: Unrecognized opcode: `ret'
src/k6opt.s:92: Error: Unrecognized opcode: `pushl'
src/k6opt.s:93: Error: Unrecognized opcode: `movl'
src/k6opt.s:94: Error: Unrecognized opcode: `pushl'
src/k6opt.s:95: Error: Unrecognized opcode: `pushl'
src/k6opt.s:96: Error: Unrecognized opcode: `pushl'
src/k6opt.s:97: Error: Unrecognized opcode: `emms'
src/k6opt.s:98: Error: Unrecognized opcode: `movl'
src/k6opt.s:99: Error: Unrecognized opcode: `movl'
src/k6opt.s:100: Error: Unrecognized opcode: `movl'
src/k6opt.s:101: Error: Unrecognized opcode: `movl'
src/k6opt.s:102: Error: Unrecognized opcode: `movl'
src/k6opt.s:103: Error: Unrecognized opcode: `subl'
src/k6opt.s:106: Error: Unrecognized opcode: `movq'
src/k6opt.s:107: Error: Unrecognized opcode: `movq'
src/k6opt.s:108: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:109: Error: Unrecognized opcode: `movq'
src/k6opt.s:109: Error: Unrecognized opcode: `movq'
src/k6opt.s:109: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:109: Error: Unrecognized opcode: `paddd'
src/k6opt.s:110: Error: Unrecognized opcode: `movq'
src/k6opt.s:110: Error: Unrecognized opcode: `movq'
src/k6opt.s:110: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:110: Error: Unrecognized opcode: `paddd'
src/k6opt.s:111: Error: Unrecognized opcode: `movq'
src/k6opt.s:111: Error: Unrecognized opcode: `movq'
src/k6opt.s:111: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:111: Error: Unrecognized opcode: `paddd'
src/k6opt.s:112: Error: Unrecognized opcode: `movq'
src/k6opt.s:112: Error: Unrecognized opcode: `movq'
src/k6opt.s:112: Error: Unrecognized opcode: `pmaddwd'
src/k6opt.s:112: Error: Unrecognized opcode: `paddd'
src/k6opt.s:113: Error: Unrecognized opcode: `movq'
src/k6opt.s:113: Error: Unrecognized opcode: `movq'
src/

Re: [Asterisk-Users] Compilation issues with s390

2006-05-30 Thread Kevin P. Fleming
Frank Pani wrote:

> Did you just make this change recently?   I just tried to download the 1.2
> stream with revision 30861 and after trying "make" see the same thing.
> Perhaps I need to excercise patients.Thanks again for your help - it'll
> be good to say this runs on mainframe once we get it their.

It was checking the wrong variable, sorry about that.

Is it possible for you to use a more intelligent mail client? Top
posting and indenting the original message (in its entirety) does not
make it easy to read your messages :-(
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-30 Thread Frank Pani




Did you just make this change recently?   I just tried to download the 1.2
stream with revision 30861 and after trying "make" see the same thing.
Perhaps I need to excercise patients.Thanks again for your help - it'll
be good to say this runs on mainframe once we get it their.

eg:

linuxvm1:/usr/src # svn checkout
http://svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2
Checked out revision 30861.

linuxvm1:/usr/src # cd asterisk-1.2/
linuxvm1:/usr/src/asterisk-1.2 # make

< ... snip ... >

make[1]: Entering directory `/usr/src/asterisk-1.2/codecs'
make -C gsm lib/libgsm.a
make[2]: Entering directory `/usr/src/asterisk-1.2/codecs/gsm'
as   -o src/k6opt.o src/k6opt.s
src/k6opt.s: Assembler messages:
src/k6opt.s:9: Error: unknown pseudo-op: `.value'
src/k6opt.s:10: Error: unknown pseudo-op: `.value'
src/k6opt.s:11: Error: unknown pseudo-op: `.value'
src/k6opt.s:12: Error: unknown pseudo-op: `.value'
src/k6opt.s:13: Error: unknown pseudo-op: `.value'
src/k6opt.s:14: Error: unknown pseudo-op: `.value'
src/k6opt.s:15: Error: unknown pseudo-op: `.value'
src/k6opt.s:16: Error: unknown pseudo-op: `.value'
src/k6opt.s:17: Error: unknown pseudo-op: `.value'
src/k6opt.s:18: Error: unknown pseudo-op: `.value'
src/k6opt.s:19: Error: unknown pseudo-op: `.value'
src/k6opt.s:20: Error: unknown pseudo-op: `.value'
src/k6opt.s:27: Error: Unrecognized opcode: `pushl'
src/k6opt.s:28: Error: Unrecognized opcode: `movl'
src/k6opt.s:29: Error: Unrecognized opcode: `pushl'



   
 "Kevin P. 
 Fleming"  
 <[EMAIL PROTECTED]  To 
 .com> Asterisk Users Mailing List -   
 Sent by:  Non-Commercial Discussion   
 asterisk-users-bo
 [EMAIL PROTECTED]  cc 
 m.com 
           Subject 
   Re: [Asterisk-Users] Compilation
 05/30/06 01:09 PM issues with s390
   
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 <[EMAIL PROTECTED] 
 ists.digium.com>  
   
   




Frank Pani wrote:

> make -C gsm lib/libgsm.a
> make[2]: Entering directory `/usr/src/asterisk-1.2/codecs/gsm'
> as   -o src/k6opt.o src/k6opt.s

Sorry, I missed that one when I did the first s390 fix. It's been taken
care of now.
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-30 Thread Kevin P. Fleming
Frank Pani wrote:

> make -C gsm lib/libgsm.a
> make[2]: Entering directory `/usr/src/asterisk-1.2/codecs/gsm'
> as   -o src/k6opt.o src/k6opt.s

Sorry, I missed that one when I did the first s390 fix. It's been taken
care of now.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-26 Thread Frank Pani




Thank you for your help.  Appreciate it.

However, I still see compilation issues, so If I can continue to ask a
follow on question that would be great,

I pulled down the SVN branch-1.2 as suggested and have begun to compile.
Things seem to be okay until I reach this following error:If somebody
has additional suggestions, I would really appreciate.  I'm really wanted
to get this to compile.   Thanks.

make -C gsm lib/libgsm.a
make[2]: Entering directory `/usr/src/asterisk-1.2/codecs/gsm'
as   -o src/k6opt.o src/k6opt.s
src/k6opt.s: Assembler messages:
src/k6opt.s:9: Error: unknown pseudo-op: `.value'
src/k6opt.s:10: Error: unknown pseudo-op: `.value'
src/k6opt.s:11: Error: unknown pseudo-op: `.value'
src/k6opt.s:12: Error: unknown pseudo-op: `.value'
src/k6opt.s:13: Error: unknown pseudo-op: `.value'
src/k6opt.s:14: Error: unknown pseudo-op: `.value'
src/k6opt.s:15: Error: unknown pseudo-op: `.value'
src/k6opt.s:16: Error: unknown pseudo-op: `.value'
src/k6opt.s:17: Error: unknown pseudo-op: `.value'
src/k6opt.s:18: Error: unknown pseudo-op: `.value'
src/k6opt.s:19: Error: unknown pseudo-op: `.value'
src/k6opt.s:20: Error: unknown pseudo-op: `.value'
src/k6opt.s:27: Error: Unrecognized opcode: `pushl'
src/k6opt.s:28: Error: Unrecognized opcode: `movl'
src/k6opt.s:29: Error: Unrecognized opcode: `pushl'
src/k6opt.s:30: Error: Unrecognized opcode: `pushl'
src/k6opt.s:31: Error: Unrecognized opcode: `pushl'

< ... snip ... >

make[2]: *** [src/k6opt.o] Error 1
make[2]: Leaving directory `/usr/src/asterisk-1.2/codecs/gsm'
make[1]: *** [gsm/lib/libgsm.a] Error 2
make[1]: Leaving directory `/usr/src/asterisk-1.2/codecs'
make: *** [subdirs] Error 1


   
 "Kevin P. 
 Fleming"  
 <[EMAIL PROTECTED]  To 
 .com> Asterisk Users Mailing List -   
 Sent by:  Non-Commercial Discussion   
 asterisk-users-bo
 [EMAIL PROTECTED]  cc 
 m.com     
           Subject 
   Re: [Asterisk-Users] Compilation
 05/25/2006 02:37  issues with s390
 PM
   
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 <[EMAIL PROTECTED] 
 ists.digium.com>  
   
   




Frank Pani wrote:

>  compilation runs successfully up to this point:
>
> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -fomit-frame-pointer -fPIC -c
-DNeedFunctionPrototypes=1
> -funroll-loops -O6 -march=s390 -fPIC -DSASR -DNDEBUG -DWAV49 -I./inc
> src/add.c
> cc1: invalid option `arch=s390'
> make[2]: *** [src/add.o] Error 1
> make[2]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs/gsm'
> make[1]: *** [gsm/lib/libgsm.a] Error 2
> make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs'
> make: *** [subdirs] Error 1

This happens frequently with the Makefile for the embedded GSM library.
I will add a filter to stop that from happening that will be in the next
release, and if you watch the asterisk-commits mailing list you can
extract the (very small) patch and apply it manually on your system (or
pull down the SVN branch-1.2 code instead of using the 1.2.7.1 tarball).
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation issues with s390

2006-05-25 Thread Kevin P. Fleming
Frank Pani wrote:

>  compilation runs successfully up to this point:
> 
> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1
> -funroll-loops -O6 -march=s390 -fPIC -DSASR -DNDEBUG -DWAV49 -I./inc
> src/add.c
> cc1: invalid option `arch=s390'
> make[2]: *** [src/add.o] Error 1
> make[2]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs/gsm'
> make[1]: *** [gsm/lib/libgsm.a] Error 2
> make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs'
> make: *** [subdirs] Error 1

This happens frequently with the Makefile for the embedded GSM library.
I will add a filter to stop that from happening that will be in the next
release, and if you watch the asterisk-commits mailing list you can
extract the (very small) patch and apply it manually on your system (or
pull down the SVN branch-1.2 code instead of using the 1.2.7.1 tarball).
___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Compilation issues with s390

2006-05-25 Thread Frank Pani




Hi all,

I'm trying to compile asterisk on the mainframe (s390 / s390x) and I am
running into issues.   I was wondering if somebody could give a hand?

I'm thinking that I should be able to do this.  I have noticed that Debian
even has binary RPM's out for Asterisk now.   I'm trying to do this on SuSE
SLES8 (with the 2.4 kernel).

What I see is, an issue that arch=s390 isn't supported and I wonder - is
there a way around this to make asterisk to compile. Again, I'm thinking
that this has to work.

 compilation runs successfully up to this point:

gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1
-funroll-loops -O6 -march=s390 -fPIC -DSASR -DNDEBUG -DWAV49 -I./inc
src/add.c
cc1: invalid option `arch=s390'
make[2]: *** [src/add.o] Error 1
make[2]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs/gsm'
make[1]: *** [gsm/lib/libgsm.a] Error 2
make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs'
make: *** [subdirs] Error 1

___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Compilation of OpenH323 libraries under CYGWIN...

2006-01-04 Thread Mauro Zanin
Hi everybody,
was anybody able to compile whole OpenH232 package under CYGWIN?
I was not able to link plugins...

Regards everybody and thank you

Mauro
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Compilation Problem with asterisk-addons

2005-06-21 Thread Nico Giefing

- Original Message - 
From: "Juan Luis Moyano" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

Sent: Tuesday, June 21, 2005 6:09 AM
Subject: Re: [Asterisk-Users] Compilation Problem with asterisk-addons


> On Lun, 20 de Junio de 2005, 6:49 pm, Nico Giefing dijo:
> > Hello, i have a little Problem with compiling asterisk-addons
> >
> >
> > the failure is:
> >
> > app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
> > arguments, but only 3 given
> > app_addon_sql_mysql.c: In function `del_identifier':
> > app_addon_sql_mysql.c:164: error: ÀSR_LIST_REMOVE' undecalred (first use
> > in this function)
> > app_addon_sql_mysql.c:164: error: (Each undeclared identifier is
reported
> > only once
> > app_addon_sql_mysql.c:164: error: for each function it appears in.)
> >
> >
> > Does anybody know anything about this problem?
> >
> >
> > Thank you for your help.
> >
> >
> > Nico
> > ___
> > Asterisk-Users mailing list
> > Asterisk-Users@lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
>
> Nico, I'm having the same issue while compiling asterisk-addons. Here I
> post the error I get:
>
> app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
> arguments, but only 3 given
> app_addon_sql_mysql.c: In function `del_identifier':
> app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first use
> in this function)
> app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported
> only once
> app_addon_sql_mysql.c:164: error: for each function it appears in.)
> make: *** [app_addon_sql_mysql.o] Error 1
>
> Also it's important to mention that I'm running asterisk-1.0.7 compiled
> from the ebuild on a Gentoo (kernel 2.6), also I've merged latest mysql,
> perl and DBD-mysql. I don't know what is the best way to compile
> asterisk-addons on a gentoo system so if someone had accomplished this,
> please let me know. Thanks in advance.
>
> -- 
> Juan Luis Moyano
> [EMAIL PROTECTED]
>
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>


Hi, my configuration is debian stable (3.1) with 2.6 kernel and the cvs
version of asterisk and asterisk-addons.

does anybody know a solution for this problem?

Nico


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Compilation Problem with asterisk-addons

2005-06-20 Thread Juan Luis Moyano
On Lun, 20 de Junio de 2005, 6:49 pm, Nico Giefing dijo:
> Hello, i have a little Problem with compiling asterisk-addons
>
>
> the failure is:
>
> app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
> arguments, but only 3 given
> app_addon_sql_mysql.c: In function `del_identifier':
> app_addon_sql_mysql.c:164: error: ÀSR_LIST_REMOVE' undecalred (first use
> in this function)
> app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported
> only once
> app_addon_sql_mysql.c:164: error: for each function it appears in.)
>
>
> Does anybody know anything about this problem?
>
>
> Thank you for your help.
>
>
> Nico
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

Nico, I'm having the same issue while compiling asterisk-addons. Here I
post the error I get:

app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4
arguments, but only 3 given
app_addon_sql_mysql.c: In function `del_identifier':
app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first use
in this function)
app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported
only once
app_addon_sql_mysql.c:164: error: for each function it appears in.)
make: *** [app_addon_sql_mysql.o] Error 1

Also it's important to mention that I'm running asterisk-1.0.7 compiled
from the ebuild on a Gentoo (kernel 2.6), also I've merged latest mysql,
perl and DBD-mysql. I don't know what is the best way to compile
asterisk-addons on a gentoo system so if someone had accomplished this,
please let me know. Thanks in advance.

-- 
Juan Luis Moyano
[EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Compilation Problem with asterisk-addons

2005-06-20 Thread Nico Giefing



Hello, i have a little Problem with compiling 
asterisk-addons
 
 
the failure is:
 
app_addon_sql_mysql.c:164:64: macro 
"AST_LIST_REMOVE" requires 4 arguments, but only 3 given
app_addon_sql_mysql.c: In function 
`del_identifier':
app_addon_sql_mysql.c:164: error: ÀSR_LIST_REMOVE' 
undecalred (first use in this function)
app_addon_sql_mysql.c:164: error: (Each undeclared 
identifier is reported only once
app_addon_sql_mysql.c:164: error: for each function 
it appears in.)
 
 
Does anybody know anything about this 
problem?
 
 
Thank you for your help.
 
 
Nico
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Compilation on Debian with support for HFC-chip based ISDN-cards

2005-06-06 Thread Tzafrir Cohen
On Sun, Jun 05, 2005 at 11:50:33AM +0200, Klaus Ruebsam wrote:
> This is my first posting to the list. Thus hopefully the question has
> not been asked several times before...

So next time when you want to post a new message, don't reply to an
existing one. When you post to an existing one the mailer keeps header 
fields such as References and In-Reply-To to help record the threading.

And now for the answer.

> 
> 
> I'm trying to install asterisk on a PC using Debian Sarge but without
> any real success...
> 
> Problem: I may get the Asterisk packet (Debian version) installed using
> 'apt-get install asterisk', but that does not include the bristuff from
> Junghanns (http://www.junghanns.net/asterisk/) required for use of
> ISDN-cards based on the HFC-chip. Using the installation-file coming
> with bristuff I only get thousands of errors.

Any bug on those packages should generally be reported to the debian
bugtracking system. E.g: for bugs about building zaptel-modules from 
zaptel-source , see http://bugs.debian.org/zaptel-source , and generally
see http://bugs.debian.org/ .

However I have successfully built them, after some restructuting of the
makefile and with an up-to-date bristuff:
  
  http://tzafrir.org.il/rapid/
  http://tzafrir.org.il/rapid/APT.html

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Compilation on Debian with support for HFC-chip based ISDN-cards

2005-06-05 Thread Martin List-Petersen
On søn, 2005-06-05 at 11:50 +0200, Klaus Ruebsam wrote:
> This is my first posting to the list. Thus hopefully the question has
> not been asked several times before...
> 
> 
> I'm trying to install asterisk on a PC using Debian Sarge but without
> any real success...
> 
> Problem: I may get the Asterisk packet (Debian version) installed using
> 'apt-get install asterisk', but that does not include the bristuff from
> Junghanns (http://www.junghanns.net/asterisk/) required for use of
> ISDN-cards based on the HFC-chip. Using the installation-file coming
> with bristuff I only get thousands of errors.

The asterisk packages, that Debian Sarge provide contain bri-stuff. You
don't need to patch it in. The only problem that is with the Debian
packages is, that the zaphfc module only get's compiled when you build
the modules against a 2.6 kernel. That has allready been reported in a
bug.

> A ready-to-go installation via CD that supports the HFC-chip is yet not
> available. Thus I'm stuck with the things available via CVS or as
> Debian-packets.
>
> Is there anybody out there that has successfully installed Asterisk
> using Debian Linux and a HFC-based ISDN-card?

Sure. A lot of people. It's commonly used.

Slán leat,
Martin List-Petersen
Mulrook, Co. Galway, Eire 
(contact info on --> http://www.marlow.dk/)
--
To communicate is the beginning of understanding.
 -- AT&T

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Compilation on Debian with support for HFC-chip based ISDN-cards

2005-06-05 Thread Klaus Ruebsam
This is my first posting to the list. Thus hopefully the question has
not been asked several times before...


I'm trying to install asterisk on a PC using Debian Sarge but without
any real success...

Problem: I may get the Asterisk packet (Debian version) installed using
'apt-get install asterisk', but that does not include the bristuff from
Junghanns (http://www.junghanns.net/asterisk/) required for use of
ISDN-cards based on the HFC-chip. Using the installation-file coming
with bristuff I only get thousands of errors.

A ready-to-go installation via CD that supports the HFC-chip is yet not
available. Thus I'm stuck with the things available via CVS or as
Debian-packets.


Is there anybody out there that has successfully installed Asterisk
using Debian Linux and a HFC-based ISDN-card?


Thanks in advance for your pointers.

Kind regards,

Klaus

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] compilation of asterisk

2005-04-04 Thread Sean A. Newton
On Mon, 4 Apr 2005, Alex wrote:

> Hi guys 
> Trying to compile asterisk and i am receiving this errror.
>  
> gcc -g  -o asterisk -Wl,-E  io.o sched.o logger.o frame.o loader.o config.o 
> channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o 
> callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o 
> asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o 
> privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o  
> editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread 
> -lncurses -lm -lresolv   -lssl
>  
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make: *** [asterisk] Error 1
>  
> any help will be appreciated.
> thanks


Google is your friend. Install the SSL dev libraries.. libssl-dev

--Sean

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 sean a. newton  [EMAIL PROTECTED]
 louisville, ky, usa http://wewt.net 

 Another day, another convertible and another hotel 
 full of cops.-- Hunter S. Thompson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] compilation of asterisk

2005-04-04 Thread Daniel Bruce Lynes
On Monday 04 April 2005 11:19 am, Alex wrote:

> editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread
> -lncurses -lm -lresolv   -lssl
>
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make: *** [asterisk] Error 1

Make sure you have OpenSSL installed:

find /usr -type -f -name libssl.so

Then, also make sure the directory it's in is in your dynamic linker cache, by 
checking the /etc/ld.so.conf file.

If it's not in there, add it, and then type 'ldconfig' as the root user to 
update your cache.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] compilation of asterisk

2005-04-04 Thread Alex
Hi guys 
Trying to compile asterisk and i am receiving this errror.
 
gcc -g  -o asterisk -Wl,-E  io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o  editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv   -lssl
 
/usr/bin/ld: cannot find -lsslcollect2: ld returned 1 exit statusmake: *** [asterisk] Error 1
 
any help will be appreciated.
thanks__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri

2005-03-17 Thread Craig Guy
Upgrade to kernel 2.6.9, there are supposed to be significant bugfixes for
CAPI support in 2.6.9.

All of my CAPI systems use FC2, 2.6.9.  I tried to go 2.6.10 but had
problems.

Craig

- Original Message - 
From: "Kib Eki" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 17, 2005 7:02 PM
Subject: [Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri


> Hi *,
>
> I want to integrate the Eicon Diva 4Bri Card to Asterisk.
>
> Eicon drivers and capi is installed. I use the latest dev version from
> eicon compiled and installed for my fedora 2 system.
>
> I found the chan_capi for asterisk from www.junghanns.net. Also loaded
> the patch and applied to the chan_capi source tree.
>
> I changed the Makefile to include the capi20.h from eicon:
> INCLUDE=-I$(ASTERISK_HEADER_DIR)
> -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon
>
> make install gives me the following errors:
> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
> -I/usr/include -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon
> -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN
> -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
> -Wno-missing-declarations -DCRYPTO   -c -o chan_capi.o chan_capi.c
> In file included from chan_capi.c:35:
> /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52:
> error: Syntaxfehler before "word"
> /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52:
> Warnung: kein Semikolon am Ende von »struct« oder »union«
> /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53:
> Warnung: type defaults to `int' in declaration of `maxLogicalConnection'
> /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53:
> Warnung: data definition has no type or storage class
>
> Unfortunately it is german system so also the compiler errors are in
german.
>
> I realy need help because I am not the r+d expert.
>
> Thanks in advance.
> Kib
>
>
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri

2005-03-17 Thread Kib Eki
Hi *,
I want to integrate the Eicon Diva 4Bri Card to Asterisk.
Eicon drivers and capi is installed. I use the latest dev version from
eicon compiled and installed for my fedora 2 system.
I found the chan_capi for asterisk from www.junghanns.net. Also loaded
the patch and applied to the chan_capi source tree.
I changed the Makefile to include the capi20.h from eicon:
INCLUDE=-I$(ASTERISK_HEADER_DIR)
-I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon
make install gives me the following errors:
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
-I/usr/include -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon
-D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES -DCAPI_GAIN
-DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
-Wno-missing-declarations -DCRYPTO   -c -o chan_capi.o chan_capi.c
In file included from chan_capi.c:35:
/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52:
error: Syntaxfehler before "word"
/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52:
Warnung: kein Semikolon am Ende von »struct« oder »union«
/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53:
Warnung: type defaults to `int' in declaration of `maxLogicalConnection'
/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53:
Warnung: data definition has no type or storage class
Unfortunately it is german system so also the compiler errors are in german.
I realy need help because I am not the r+d expert.
Thanks in advance.
Kib
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Compilation error with 2.6 kernel

2004-09-12 Thread el Flynn
Iassen Hristov wrote:
I found the issue. I had linked /usr/src/linux-2.6 to /usr/src/linux
The correct link is to the linux-obj folder
cd /usr/src
ln -s linux-obj/i386/default linux-2.6
The answer was in
/usr/src/linux/README.SUSE
I am now able to compile successfully. Granted I don't have the hardware
yet, so I don't know if it works. 

Anybody using a X100P or TDM400P with Suse 9.1?
I'm running a TDM400P (2 FXO and 2 FXS) with Suse 9.1 without any 
problems. Only had some issues compiling * itself, i had to make some 
symlinks to certain libraries before it would compile properly.

Flynn
___
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


Re: [Asterisk-Users] Compilation error with 2.6 kernel

2004-09-11 Thread Iassen Hristov
I found the issue. I had linked /usr/src/linux-2.6 to /usr/src/linux
The correct link is to the linux-obj folder

cd /usr/src
ln -s linux-obj/i386/default linux-2.6

The answer was in
/usr/src/linux/README.SUSE

I am now able to compile successfully. Granted I don't have the hardware
yet, so I don't know if it works. 

Anybody using a X100P or TDM400P with Suse 9.1?

---
Iassen Hristov


--On Saturday, September 11, 2004 04:13:28 PM -0400 Iassen Hristov
<[EMAIL PROTECTED]> wrote:

> I am trying to compile zapata under a 2.6 kernel (Suse 9.1 all patches
> installed).
> 
> I am getting the error bellow:
> 
> Any ideas?
> 
> Anybody able to successfully compile this in Suse 9.1?
> 
> 
> 
> [EMAIL PROTECTED]:~/dl/pbx/zaptel-1.0-RC2> make linux26
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA   -c -o
> zttool.o zttool.c
> cc -o zttool zttool.o -lnewt
> make -C /usr/src/linux-2.6 SUBDIRS=/home/500/dl/pbx/zaptel-1.0-RC2 modules
> make[1]: Entering directory `/usr/src/linux-2.6.5-7.108'
> Makefile:438: .config: No such file or directory
> 
> WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is
> missing, modules will have CONFIG_MODVERSIONS disabled.
> 
>   CC [M]  /home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o
> /bin/sh: line 1: scripts/basic/fixdep: No such file or directory
> make[2]: *** [/home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o] Error 1
> make[1]: *** [_module_/home/500/dl/pbx/zaptel-1.0-RC2] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.5-7.108'
> make: *** [linux26] Error 2
> 
> ___
> 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



___
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


[Asterisk-Users] Compilation error with 2.6 kernel

2004-09-11 Thread Iassen Hristov
I am trying to compile zapata under a 2.6 kernel (Suse 9.1 all patches
installed).

I am getting the error bellow:

Any ideas?

Anybody able to successfully compile this in Suse 9.1?



[EMAIL PROTECTED]:~/dl/pbx/zaptel-1.0-RC2> make linux26
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA   -c -o
zttool.o zttool.c
cc -o zttool zttool.o -lnewt
make -C /usr/src/linux-2.6 SUBDIRS=/home/500/dl/pbx/zaptel-1.0-RC2 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.108'
Makefile:438: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is
missing, modules will have CONFIG_MODVERSIONS disabled.

  CC [M]  /home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/home/500/dl/pbx/zaptel-1.0-RC2/zaptel.o] Error 1
make[1]: *** [_module_/home/500/dl/pbx/zaptel-1.0-RC2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make: *** [linux26] Error 2

___
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


Re: [Asterisk-Users] compilation error

2003-07-24 Thread Steven Critchfield
On Thu, 2003-07-24 at 04:46, John WALTER wrote:
> Hi
> 
> I have some trouble getting asterisk to compile on my system. I get
> unresolved external symbol in enum.c et srv.c on res_ninit, res_nsearch
> and res_nquery. I've looked through my /usr/include/resolv.h file, and
> endeed I didn't found any declaration of such functions. It seems to be
> some res_init, res_search, etc.. but the declarations are the same the
> res_nxxx ones.
> 
> Does asterisk requires any specific version of the glibc or gcc ?

A relatively modern version. I think the only other person to have this
problem said they where using RH 6.2.
-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] compilation error

2003-07-24 Thread John WALTER
Hi

I have some trouble getting asterisk to compile on my system. I get
unresolved external symbol in enum.c et srv.c on res_ninit, res_nsearch
and res_nquery. I've looked through my /usr/include/resolv.h file, and
endeed I didn't found any declaration of such functions. It seems to be
some res_init, res_search, etc.. but the declarations are the same the
res_nxxx ones.

Does asterisk requires any specific version of the glibc or gcc ?

Thanks for your help.

John WALTER

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Compilation errors in Asterisk CVS

2003-03-17 Thread Rattana BIV
Hi,

I have just tried this morning to download Asterisk CVS (sucessfully) But
when I compil I have this error :


io.c: In function `ast_get_termcols':
io.c:350: warning: implicit declaration of function `ioctl'
io.c:350: `TIOCGWINSZ' undeclared (first use in this function)
io.c:350: (Each undeclared identifier is reported only once
io.c:350: for each function it appears in.)
io.c:350: `win' undeclared (first use in this function)
make: *** [io.o] Erreur 1


It is normal ??
Monday is very hard...

Regards
Rattana

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users