Did you compile kannel with any database support? You need to recompile & reinstall kannel with appropriate database support.
2012/7/4 danieltoyin <[email protected]> > > Thanks spameden, > I have compiled and installed kannel > After which I also did a 'make install' of the kannel source > > Then I moved to the trunk folder where svn downloaded the opensmppbox to. > I then did trunk]# ./configure --with-kannel-dir=/usr/local/ > After then I did trunk]# make > But this gave me the following error: > > trunk]# make > make all-recursive > make[1]: Entering directory `/opt/kannel/trunk' > Making all in gw > make[2]: Entering directory `/opt/kannel/trunk/gw' > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -D_XOPEN_SOURCE=600 > -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 > -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -rdynamic -o > opensmppbox box-dlr.o opensmppbox.o -L/usr/local/lib/kannel -lgw -lwap > -lgwlib -lrt -lresolv -lnsl -lm -lpthread -lxml2 -lz -lm > gcc -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g > -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= > -I/usr/include/libxml2 > -rdynamic -o opensmppbox box-dlr.o opensmppbox.o -L/usr/local/lib/kannel > -lgw -lwap -lgwlib -lrt -lresolv -lnsl -lpthread -lxml2 -lz -lm > box-dlr.o: In function `box_dlr_shutdown': > /opt/kannel/trunk/gw/box-dlr.c:178: undefined reference to `dbpool_destroy' > collect2: ld returned 1 exit status > make[2]: *** [opensmppbox] Error 1 > make[2]: Leaving directory `/opt/kannel/trunk/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/kannel/trunk' > make: *** [all] Error 2 > > Please, help me. What am I doing wrong? > > Best regards, > Toyin Daniel > > > you need to compile and install kannel before compiling opensmppbox > > -- > View this message in context: > http://old.nabble.com/Installing-opensmppbox-in-Amazon-EC2-instance-tp34113919p34114153.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > >
