Displaying 20 results from an estimated 50 matches for "usecount".
2007 Jul 06
2
Issue using zaptel's dynamic spans.
Hi,
Is there any mailing list specifically for zaptel-users ? If yes, then,
sorry to bother you people, i could not locate it. Can anybody post a link
to it ? If not, then i hope, this is the right place to ask zaptel related
questions.
I'm using vanilla zaptel 1.4.3 on custom Linux 2.6.15.1. I've have a Redfone
FoneBridge2 (TDMoE) gateway which i want to use with the zap drivers.
It
2003 Nov 26
1
[PATCH] use 2.6 module syscalls in klibc
...ter */
- struct module *ref; /* "child" pointer */
- struct module_ref *next_ref;
-};
-
-/* TBD */
-struct module_persist;
-
-struct module
-{
- unsigned long size_of_struct; /* == sizeof(module) */
- struct module *next;
- const char *name;
- unsigned long size;
-
- union
- {
- atomic_t usecount;
- long pad;
- } uc; /* Needs to keep its size - so says rth */
-
- unsigned long flags; /* AUTOCLEAN et al */
-
- unsigned nsyms;
- unsigned ndeps;
-
- struct module_symbol *syms;
- struct module_ref *deps;
- struct module_ref *refs;
- int (*init)(void);
- void (*cleanup)(void);
- const struc...
2002 Dec 23
1
klibc insmod for recent kernels
...ter */
- struct module *ref; /* "child" pointer */
- struct module_ref *next_ref;
-};
-
-/* TBD */
-struct module_persist;
-
-struct module
-{
- unsigned long size_of_struct; /* == sizeof(module) */
- struct module *next;
- const char *name;
- unsigned long size;
-
- union
- {
- atomic_t usecount;
- long pad;
- } uc; /* Needs to keep its size - so says rth */
-
- unsigned long flags; /* AUTOCLEAN et al */
-
- unsigned nsyms;
- unsigned ndeps;
-
- struct module_symbol *syms;
- struct module_ref *deps;
- struct module_ref *refs;
- int (*init)(void);
- void (*cleanup)(void);
- const struc...
2003 Nov 11
4
Registering an application
...id *data)
{
return 0;
}
int unload_module(void)
{
STANDARD_HANGUP_LOCALUSERS;
return ast_unregister_application(app);
}
int load_module(void)
{
return ast_register_application(app, alex_exec, synopsis, descrip);
}
char *description(void)
{
return tdesc;
}
int usecount(void)
{
int res;
STANDARD_USECOUNT(res);
return res;
}
char *key()
{
return ASTERISK_GPL_KEY;
}
I've put the so in apps/ but no results..
Thanks a lot for any help..
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: h...
2006 Dec 28
2
Error compiling chan_vpb
...':
/root/asterisk/asterisk-1.4.0/channels/chan_vpb.cc:2251: multiple definition
of `a_gain_vector'
chan_vpb.o:chan_vpb.cc:(.text+0x130): first defined here
/usr/bin/ld: Warning: size of symbol `a_gain_vector' changed from 157 in
chan_vpb.o to 151 in chan_vpb.oo
chan_vpb.oo: In function `usecount':
/root/asterisk/asterisk-1.4.0/channels/chan_vpb.cc:3043: multiple definition
of `usecount'
chan_vpb.o:chan_vpb.cc:(.text+0x1ce): first defined here
/usr/bin/ld: Warning: size of symbol `usecount' changed from 10 in
chan_vpb.o to 22 in chan_vpb.oo
chan_vpb.oo: In function `description&...
2004 Jun 17
3
asterisk-addons compilation error
...: In function `mysql_log':
cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in this
function)
cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported
only once
cdr_addon_mysql.c:108: error: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in this
function)
make: *** [cdr_addon_mysql.o] Error 1
dora-debian:/usr/local/src/asterisk-addons#
2004 Jul 31
2
Which version of MySQL works with cdr_addon_mysql?
...age class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:107: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:107: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:107: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:417: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1
I have loaded:
MySQL-3.23.58-1.i386.rpm
MySQL-client-3.23.58-1.i386.rpm
MySQL-devel-3.23.58-1.i386.rpm
MySQL-shared-3.23.58-1.i386.rpm
Does cdr_addon_mysql work with this ve...
2003 Jun 18
2
Problem with oh323 package for asterisk
...Line 235
(ast_load_resource): No load_module in module
/usr/lib/asterisk/modules/liboh323wrap.so
WARNING[1024]: File loader.c, Line 242 (ast_load_resource): No
unload_module in module /usr/lib/asterisk/modules/liboh323wrap.so
WARNING[1024]: File loader.c, Line 249 (ast_load_resource): No usecount in
module /usr/lib/asterisk/modules/liboh323wrap.so
WARNING[1024]: File loader.c, Line 256 (ast_load_resource): No description
in module /usr/lib/asterisk/modules/liboh323wrap.so
WARNING[1024]: File loader.c, Line 263 (ast_load_resource): No key routine
in module /usr/lib/asterisk/modules...
2004 Jun 18
2
cdr_addon_mysql compiling error
...ysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: error: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1
Thanks
-Manuel
___________________________________________________
Ticinocom SA - Via Stazione 5 - 6600 Muralto
Tel 0844 007070 - Fax 0844 007071
http://www.ticinoc...
2004 Jul 06
1
compiling mysql addon
...ql.c: In function `mysql_log':
cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in
this function)
cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported
only once
cdr_addon_mysql.c:108: error: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in
this function)
make: *** [cdr_addon_mysql.o] Error 1
fresh download from cvs, adding
CFLAGS+=-I../asterisk/include
to Makefile did not work ...
Thanks
- hcir
-------------- next part --------------
A non-text attachm...
2007 May 17
0
Compiling DBQuery
...)
res_mysqlpool.c: At top level:
res_mysqlpool.c:964: warning: no previous prototype for ?load_module?
res_mysqlpool.c:985: warning: no previous prototype for ?reload?
res_mysqlpool.c:992: warning: no previous prototype for ?description?
res_mysqlpool.c:997: warning: no previous prototype for ?usecount?
res_mysqlpool.c: In function ?usecount?:
res_mysqlpool.c:999: warning: implicit declaration of function ?STANDARD_USECOUNT?
res_mysqlpool.c: At top level:
res_mysqlpool.c:1004: warning: function declaration isn?t a prototype
make: *** [res_mysqlpool.o] Error 1
Doug.
-------------- nex...
2013 Sep 17
1
"Element not found" when connecting to sysvol
I have two samba DCs (4.0.9) and no Windows DCs, and group policy is
failing. I've narrowed it down to an error accessing the sysvol folder.
Some clients (not all clients) get the error "Element not found" when
connecting to our sysvol folder which is "\\ahc.pdc\sysvol\". The problem
seems to be intermittent, a client may suddenly start working again, or
suddenly stop.
2007 May 31
0
Urgent-- Error while installing app_dtmftotext.
...app_dtmftotext.c:1032: error: for each function it appears in.)
app_dtmftotext.c: At top level:
app_dtmftotext.c:1037: warning: no previous prototype for ‘load_module’
app_dtmftotext.c:1042: warning: no previous prototype for ‘description’
app_dtmftotext.c:1047: warning: no previous prototype for ‘usecount’
app_dtmftotext.c: In function ‘usecount’:
app_dtmftotext.c:1050: warning: implicit declaration of function
‘STANDARD_USECOUNT’
app_dtmftotext.c: At top level:
app_dtmftotext.c:1055: warning: function declaration isn’t a prototype
make[1]: *** [app_dtmftotext.o] Error 1
make: *** [apps] Error 2
Yo...
2007 Jan 29
0
Rxfax and txfax
...only
once
app_rxfax.c:357: error: for each function it appears in.)
app_rxfax.c: At top level:
app_rxfax.c:363: warning: no previous prototype for 'load_module'
app_rxfax.c:368: warning: no previous prototype for 'description'
app_rxfax.c:374: warning: no previous prototype for 'usecount'
app_rxfax.c: In function 'usecount':
app_rxfax.c:376: warning: implicit declaration of function
'STANDARD_USECOUNT'
app_rxfax.c: At top level:
app_rxfax.c:382: warning: no previous prototype for 'key'
make[1]: *** [app_rxfax.o] Error 1
make: *** [apps] Error 2
regard...
2004 Jun 30
1
asterisk-addons unable to compile
...age class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:108: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1
My Makefile -- the beginning -- looks like this:
# This program is free software, distributed under the terms of
# the GNU General Public License
#
MODS=
CFLAGS+=-fPIC
CFL...
2004 Jun 21
1
R: Re: cdr_addon_mysql compiling error
...>> cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in this function)
>> cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported only once
>> cdr_addon_mysql.c:108: error: for each function it appears in.)
>> cdr_addon_mysql.c: In function `usecount':
>> cdr_addon_mysql.c:420: error: `mysql_lock' undeclared (first use in this function)
>> make: *** [cdr_addon_mysql.o] Error 1
>
>Two things:
>
>1. Make sure you have the mysql-devel package installed, or equivalent.
It is installed:
# rpm -qa|grep MySQL
MySQL-cli...
2004 Jun 27
1
asterisk addon mysql
...age class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: `mysql_lock' undeclared (first use in this function)
cdr_addon_mysql.c:108: (Each undeclared identifier is reported only once
cdr_addon_mysql.c:108: for each function it appears in.)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:420: `mysql_lock' undeclared (first use in this function)
make: *** [cdr_addon_mysql.o] Error 1
I have MySQL-server and devel upgraded at version 4.0.20 on a Fedora Core 1. I
would really love to have mysql support....
Harold Workman
------------------------...
2008 Jun 24
2
[LLVMdev] Removal of ConstantExprs
Hi All,
I'm having a bit of trouble with ConstantExprs currently. In particular, a
global variable A is bitcasted and used in the initializer of another global
variable B (as a struct element).
B is unused, so it gets whacked and its initializer gets set to NULL. This
succesfully reduces the usecount of the bitcast to 0, but the bitcast itself
does not get removed then. This means that further on, other transformations
fail because A is still used by the bitcast.
Now I know that there is GlobalValue::removeDeadConstantUsers which the
transformation could be calling, but shouldn't that be...
2004 Jun 11
2
cdr_addon_mysql.c
...function)
cdr_addon_mysql.c: In function `my_unload_module':
cdr_addon_mysql.c:226: `mysql' undeclared (first use in this function)
cdr_addon_mysql.c: In function `my_load_module':
cdr_addon_mysql.c:380: `mysql' undeclared (first use in this function)
cdr_addon_mysql.c: In function `usecount':
cdr_addon_mysql.c:422: `mysql_lock' undeclared (first use in this
function)
make: *** [cdr_addon_mysql.o] Error 1
I then tried using and older version of cdr_addon_mysql.c, and it also
would not compile, but gave me an entirely different set of errors:
]# make clean ; make install
rm -f...
2006 Nov 29
1
Getting app_cepstral to work with Asterisk 1.4.0-beta3
...LOCALUSERS' undeclared
(first use in this function)
app_cepstral.c: At top level:
app_cepstral.c:258: warning: no previous prototype for 'load_module'
app_cepstral.c:263: warning: no previous prototype for 'description'
app_cepstral.c:268: warning: no previous prototype for 'usecount'
app_cepstral.c: In function `usecount':
app_cepstral.c:270: warning: implicit declaration of function
`STANDARD_USECOUNT'
app_cepstral.c: At top level:
app_cepstral.c:305: warning: function declaration isn't a prototype
make[1]: *** [app_cepstral.o] Error 1
make: *** [apps] Error 2...