[Asterisk-Dev] compile problems with db
Jason Pyeron
jpyeron at pdinc.us
Mon Oct 10 21:06:53 MST 2005
I have been banging away at this one with no success, does anyone have any
ideas where to start on fixing this?
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 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 plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o ast_expr2.o ast_expr2f.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -lncurses -lm -lssl
db.o: In function `ast_db_deltree':
/tmp/asterisk/db.c:62: undefined reference to `_dbopen'
db.o: In function `ast_db_put':
/tmp/asterisk/db.c:62: undefined reference to `_dbopen'
db.o: In function `ast_db_get':
/tmp/asterisk/db.c:62: undefined reference to `_dbopen'
db.o: In function `ast_db_del':
/tmp/asterisk/db.c:62: undefined reference to `_dbopen'
db.o: In function `database_show':
/tmp/asterisk/db.c:62: undefined reference to `_dbopen'
db.o:/tmp/asterisk/db.c:62: more undefined references to `_dbopen' follow
enum.o: In function `enum_callback':
/tmp/asterisk/enum.c:153: undefined reference to `___dn_expand'
srv.o: In function `srv_callback':
/tmp/asterisk/srv.c:73: undefined reference to `___dn_expand'
dns.o: In function `ast_search_dns':
/tmp/asterisk/dns.c:199: undefined reference to `___res_ninit'
/tmp/asterisk/dns.c:200: undefined reference to `___res_nsearch'
/tmp/asterisk/dns.c:219: undefined reference to `___res_nclose'
utils.o: In function `ast_gethostbyname':
/tmp/asterisk/utils.c:195: undefined reference to `_gethostbyname_r'
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager 7 West 24th Street #100 -
- +1 (443) 921-0381 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately. Any other use of the email by you
is prohibited.
More information about the asterisk-dev
mailing list