Displaying 9 results from an estimated 9 matches for "mysql_free_result".
2010 Oct 06
3
MYSQL ADDON INSTALLATION ERROR
...0-rc2 on centos 5.5 but getting the following errors.
app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory
app_mysql.c: In function ?mysql_ds_destroy?:
app_mysql.c:135: warning: implicit declaration of function ?mysql_close?
app_mysql.c:138: warning: implicit declaration of function
?mysql_free_result?
app_mysql.c: In function ?aMYSQL_connect?:
app_mysql.c:319: error: ?MYSQL? undeclared (first use in this function)
app_mysql.c:319: error: (Each undeclared identifier is reported only once
app_mysql.c:319: error: for each function it appears in.)
app_mysql.c:319: error: ?mysql? undeclared (first u...
2007 May 23
0
Problems compiling res_config_mysql (asterisk addons)
...65:
undefined reference to `ast_variable_new'
res_config_mysql.o(.text+0x5a4):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:172:
undefined reference to `ast_log'
res_config_mysql.o(.text+0x5c4):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:176:
undefined reference to `mysql_free_result'
res_config_mysql.o(.text+0x695): In function `realtime_multi_mysql':
/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:200: undefined
reference to `ast_log'
res_config_mysql.o(.text+0x6c2):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:206:
undefined reference to `ast_...
2004 Aug 23
1
Problem with mysql and with asterisk
...it declaration of function
`mysql_fetch_row'
mysql-vm-routines.h:71: warning: implicit declaration of function
`mysql_num_fields'
mysql-vm-routines.h:72: warning: implicit declaration of function
`mysql_fetch_fields'
mysql-vm-routines.h:89: warning: implicit declaration of function
`mysql_free_result'
make[1]: *** [app_voicemail.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1
Please help me. I had totaly upset to install the asterisk with cdr. Please
help me because i am now helpless.
With best regards.
Dipak Kumar Paul
Tryarc LLC
______...
2004 Apr 12
1
Voicemail config from database
...plicit declaration of function
`mysql_fetch_row'
mysql-vm-routines.h:72: warning: implicit declaration of function
`mysql_num_fields'
mysql-vm-routines.h:73: warning: implicit declaration of function
`mysql_fetch_fields'
mysql-vm-routines.h:90: warning: implicit declaration of function
`mysql_free_result'
make[1]: *** [app_voicemail.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1
AJ Grinnell
Network Operations Technician
CRT/ Arialink Broadband
1223 Turner Street, Suite A
Lansing, MI 48906
517.346.5041
517.492.1321 direct
2009 Dec 14
1
AGI with PHP
...erforming SQL query
$result = mysql_query($query_duration) or die('Query failed: ' . mysql_error());
// Printing results in HTML
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
foreach ($line as $col_value) {
$minutes = round($col_value/60);
}
}
// Free resultset
mysql_free_result($result);
// Closing connection
mysql_close($link);
echo "$callnum,$minutes";
fwrite(STDOUT,"$callnum,$minutes");
fflush($stdout);
?>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachment...
2010 Nov 26
1
R Tools & Vista_x64: Problem compiling RMySQL?
...SQL.o:RS-MySQL.c:(.text+0x1093): undefined reference to `mysql_errno'
RS-MySQL.o:RS-MySQL.c:(.text+0x109e): undefined reference to `mysql_error'
RS-MySQL.o:RS-MySQL.c:(.text+0x1114): undefined reference to
`mysql_fetch_row'
RS-MySQL.o:RS-MySQL.c:(.text+0x1121): undefined reference to
`mysql_free_result'
RS-MySQL.o:RS-MySQL.c:(.text+0x11f0): undefined reference to `mysql_query'
RS-MySQL.o:RS-MySQL.c:(.text+0x1200): undefined reference to
`mysql_use_result'
RS-MySQL.o:RS-MySQL.c:(.text+0x120b): undefined reference to
`mysql_field_count'
RS-MySQL.o:RS-MySQL.c:(.text+0x128f): undefi...
2003 Oct 03
4
PATCH: mysql authentication
Here's another patch. This one isn't much different from the last patch,
except it tries a little harder to make sure that the required fields
are returned by the query (like the pgsql module does).
One question about how t_strdup works. How and who should memory
returned by t_strdup be freed? My patch has a function my_get_str()
which returns the value of t_strdup, and then I do
2006 Nov 22
11
Rewriting caller ID from database?
Hi
Most of our customers have generic names like "Hospital", so I need to
rewrite their caller ID name by looking up the number in a database on the
Asterisk server, and rewriting the name such as "Reading Hospital" so that
we know who's calling.
Any idea if this can be done with Asterisk, and how to do it?
Thank you.
2004 Apr 12
0
RE: Asterisk-Users digest, Vol 1 #3408 - 12 msgs
...plicit declaration of function
`mysql_fetch_row'
mysql-vm-routines.h:72: warning: implicit declaration of function
`mysql_num_fields'
mysql-vm-routines.h:73: warning: implicit declaration of function
`mysql_fetch_fields'
mysql-vm-routines.h:90: warning: implicit declaration of function
`mysql_free_result'
make[1]: *** [app_voicemail.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/apps'
make: *** [subdirs] Error 1
AJ Grinnell
Network Operations Technician
CRT/ Arialink Broadband
1223 Turner Street, Suite A
Lansing, MI 48906
517.346.5041
517.492.1321 direct
--__--__--
Message: 5...