No worries!<br><br>Does something like this make sense for now?<br><br> //ast_verb(3, "Found adaptive CDR table %s@%s.\n", tableptr->table, tableptr->connection);<br> if(opt_verbose > 2) {
<br> ast_verbose(VERBOSE_PREFIX_3, "Found adaptive CDR table %s@%s.\n", tableptr->table, tableptr->connection);<br> }<br><br>Prolly my fault.<br><br>cc -I/usr/src/asterisk/include -I/usr/local/include -DAST_MODULE=\"cdr_adaptive_odbc\" -o cdr_adaptive_odbc.o -c cdr_adaptive_odbc.c
<br>cdr_adaptive_odbc.c: In function 'load_config':<br>cdr_adaptive_odbc.c:159: error: 'opt_verbose' undeclared (first use in this function)<br>cdr_adaptive_odbc.c:159: error: (Each undeclared identifier is reported only once
<br>cdr_adaptive_odbc.c:159: error: for each function it appears in.)<br>cdr_adaptive_odbc.c: In function 'odbc_log':<br>cdr_adaptive_odbc.c:561: error: 'opt_verbose' undeclared (first use in this function)<br>make: *** [cdr_adaptive_odbc.o] Error 1
<br><br><br><br><div><span class="gmail_quote">On 12/25/07, <b class="gmail_sendername">Tilghman Lesher</b> <<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tuesday 25 December 2007 14:11:53 Steve Finkelstein wrote:<br>> Any ideas on how to properly get this linked against my current Asterisk?<br>><br>> catalyst*CLI> module load cdr_adaptive_odbc.so<br>> [Dec 25 15:11:14] WARNING[22722]:
loader.c:363 load_dynamic_module: Error<br>> loading module 'cdr_adaptive_odbc.so':<br>> /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_verb<br>> [Dec 25 15:11:14] WARNING[22722]: loader.c
:649 load_resource: Module<br>> 'cdr_adaptive_odbc.so' could not be loaded.<br><br>Crud, I know what's wrong, but unfortunately I can't fix it right now, as<br>there's a problem with the repository server (I can't connect).
<br><br>In the meantime, you can replace in the source everywhere it says<br> ast_verb(3,<br>with<br> if (opt_verbose > 2)<br> ast_verbose(VERBOSE_PREFIX_3<br><br>Sorry. We'll get this fixed as soon as someone with access to that server
<br>logs on after vacation.<br><br>--<br>Tilghman<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>