donald-jackson / kannel-pluginbox

Kannel Pluginbox allows users to implement their own business logic for routing, billing, etc in Kannel.
Other
12 stars 9 forks source link

Issue with Compiling #13

Open Prasadkaigala opened 6 years ago

Prasadkaigala commented 6 years ago

Hi Donald,

Facing issue while compiling the pluginbox. Operating system Centos 6 and kannel1.4.4.

Tried with SVN and HTTP based kannel versions.

Below is the error observed. make all-recursive make[1]: Entering directory /usr/local/src/kannel-svn/kannel-pluginbox-master' Making all in gwlib make[2]: Entering directory/usr/local/src/kannel-svn/kannel-pluginbox-master/gwlib' make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/local/src/kannel-svn/kannel-pluginbox-master/gwlib' Making all in gw make[2]: Entering directory `/usr/local/src/kannel-svn/kannel-pluginbox-master/gw' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/home/kannel/kannel-11/include/kannel -fPIC -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -rdynamic -o pluginbox pluginbox.o pluginbox_plugin.o -lgwlib -L/home/kannel/kannel-11/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lrt -lresolv -lnsl -lm -lpthread -lxml2 -lz -lm -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lrt -ldl libtool: link: gcc -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/home/kannel/kannel-11/include/kannel -fPIC -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -rdynamic -o pluginbox pluginbox.o pluginbox_plugin.o -L/home/kannel/kannel-11/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lresolv -lnsl -lxml2 -lz -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -lrt -ldl

/home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_check_status': bb_http.c:(.text+0x10d): undefined reference tobb_status' bb_http.c:(.text+0x11b): undefined reference to bb_status' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_status': bb_http.c:(.text+0x18d): undefined reference to bb_print_status' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_shutdown': bb_http.c:(.text+0x2e4): undefined reference to bb_status' bb_http.c:(.text+0x2f2): undefined reference tobb_status' bb_http.c:(.text+0x2ff): undefined reference to bb_shutdown' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_isolate': bb_http.c:(.text+0x37e): undefined reference to bb_isolate' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_suspend': bb_http.c:(.text+0x421): undefined reference to bb_suspend' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_resume': bb_http.c:(.text+0x4c4): undefined reference to bb_resume' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_restart': bb_http.c:(.text+0x56c): undefined reference to bb_status' bb_http.c:(.text+0x57a): undefined reference tobb_status' bb_http.c:(.text+0x5b3): undefined reference to bb_restart' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In functionhttpd_graceful_restart': bb_http.c:(.text+0x62d): undefined reference to bb_status' bb_http.c:(.text+0x63b): undefined reference tobb_status' bb_http.c:(.text+0x646): undefined reference to bb_restart' bb_http.c:(.text+0x674): undefined reference tobb_graceful_restart' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_flush_dlr': bb_http.c:(.text+0x6e9): undefined reference tobb_flush_dlr' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_stop_smsc': bb_http.c:(.text+0x7b7): undefined reference tobb_stop_smsc' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_remove_smsc': bb_http.c:(.text+0x8c6): undefined reference tobb_remove_smsc' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_add_smsc': bb_http.c:(.text+0x9d5): undefined reference tobb_add_smsc' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_restart_smsc': bb_http.c:(.text+0xae4): undefined reference tobb_restart_smsc' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_reload_lists': bb_http.c:(.text+0xbc8): undefined reference tobb_reload_lists' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_remove_message': bb_http.c:(.text+0xcc7): undefined reference tobb_remove_message' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_serve': bb_http.c:(.text+0x1090): undefined reference tobb_status_linebreak' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpadmin_run': bb_http.c:(.text+0x12f4): undefined reference tobb_status' bb_http.c:(.text+0x1300): undefined reference to bb_shutdown' bb_http.c:(.text+0x13d6): undefined reference tobb_status' collect2: ld returned 1 exit status make[2]: [pluginbox] Error 1 make[2]: Leaving directory `/usr/local/src/kannel-svn/kannel-pluginbox-master/gw' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/kannel-svn/kannel-pluginbox-master' make: *** [all] Error 2