Hi, Having all sorts of troubles getting mysql cdr support under OS X. Mysql, DBI and DBD all installed and running ok, privileges all set correctly (I think). Latest asterisk-addons checked out of cvs. Keep getting error on make install (implies gcc doesn't support -shared linking, which is wierd): Anyone got mysql cdr support running on OS X? Cheers Rob apsvr1:/usr/local/src/asterisk-addons root# make install ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` make -C format_mp3 all gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o dct64_i386.o dct64_i386.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o decode_ntom.o decode_ntom.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o layer3.o layer3.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o tabinit.o tabinit.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o interface.o interface.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o format_mp3.o format_mp3.c gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o gcc: unrecognized option `-shared' ld: Undefined symbols: _main _ast_log _ast_format_register _ast_format_unregister _ast_update_use_count make[1]: *** [format_mp3.so] Error 1 make: *** [format_mp3/format_mp3.so] Error 2 Rob Gillan Director DZhoN Pty. Ltd. rob@dzhon.com www.dzhon.com M:+61(402) 332 087 F: +61(2) 9383 8386 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2241 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050319/f1bb6a71/attachment.bin
I fought with this the last several weeks with no luck sadly, if I find a way i'll send it on to the list. I finnaly gave in and just installed postgres and the included module with Asterisk worked fine and moved on the other projects. Regards, -Jed --- Rob Gillan <rob_gillan@optusnet.com.au> wrote:> Hi, > > Having all sorts of troubles getting mysql cdr > support under OS X. > Mysql, DBI and DBD all installed and running ok, > privileges all set > correctly (I think). Latest asterisk-addons checked > out of cvs. Keep > getting error on make install (implies gcc doesn't > support -shared > linking, which is wierd): > > Anyone got mysql cdr support running on OS X? > > Cheers > Rob > > apsvr1:/usr/local/src/asterisk-addons root# make > install > ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE > -I/usr/include/mysql `ls > *.c` > make -C format_mp3 all > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > common.o common.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > dct64_i386.o dct64_i386.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > decode_ntom.o decode_ntom.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > layer3.o layer3.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > tabinit.o tabinit.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > interface.o interface.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -c -o > format_mp3.o format_mp3.c > gcc -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE > -O6 -shared > -Xlinker -x -o format_mp3.so common.o dct64_i386.o > decode_ntom.o > layer3.o tabinit.o interface.o format_mp3.o > gcc: unrecognized option `-shared' > ld: Undefined symbols: > _main > _ast_log > _ast_format_register > _ast_format_unregister > _ast_update_use_count > make[1]: *** [format_mp3.so] Error 1 > make: *** [format_mp3/format_mp3.so] Error 2 > > Rob Gillan > Director > DZhoN Pty. Ltd. > rob@dzhon.com > www.dzhon.com > M:+61(402) 332 087 > F: +61(2) 9383 8386>_______________________________________________> 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
On Sun, 20 Mar 2005, Rob Gillan wrote:> Hi, > > Having all sorts of troubles getting mysql cdr support under OS X. > Mysql, DBI and DBD all installed and running ok, privileges all set > correctly (I think). Latest asterisk-addons checked out of cvs. Keep > getting error on make install (implies gcc doesn't support -shared > linking, which is wierd): > > Anyone got mysql cdr support running on OS X?Rob, Is this with Asterisk-Addons 1.0.7? If so, there was a problem w/ the .tgz file that was dropped and Drumkilla has corrected and re-posted the correct one. You'll want to re-download the file again and give it another try. -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST