Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Compiling #13

Open
Prasadkaigala opened this issue May 24, 2018 · 0 comments
Open

Issue with Compiling #13

Prasadkaigala opened this issue May 24, 2018 · 0 comments

Comments

@Prasadkaigala
Copy link

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 to bb_status'
bb_http.c:(.text+0x11b): undefined reference to bb_status' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_status':
bb_http.c:(.text+0x18d): undefined reference to bb_print_status' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_shutdown':
bb_http.c:(.text+0x2e4): undefined reference to bb_status' bb_http.c:(.text+0x2f2): undefined reference to bb_status'
bb_http.c:(.text+0x2ff): undefined reference to bb_shutdown' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_isolate':
bb_http.c:(.text+0x37e): undefined reference to bb_isolate' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_suspend':
bb_http.c:(.text+0x421): undefined reference to bb_suspend' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_resume':
bb_http.c:(.text+0x4c4): undefined reference to bb_resume' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_restart':
bb_http.c:(.text+0x56c): undefined reference to bb_status' bb_http.c:(.text+0x57a): undefined reference to bb_status'
bb_http.c:(.text+0x5b3): undefined reference to bb_restart' /home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_graceful_restart':
bb_http.c:(.text+0x62d): undefined reference to bb_status' bb_http.c:(.text+0x63b): undefined reference to bb_status'
bb_http.c:(.text+0x646): undefined reference to bb_restart' bb_http.c:(.text+0x674): undefined reference to bb_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 to bb_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 to bb_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 to bb_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 to bb_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 to bb_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 to bb_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 to bb_remove_message'
/home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpd_serve': bb_http.c:(.text+0x1090): undefined reference to bb_status_linebreak'
/home/kannel/kannel-11/lib/kannel/libgw.a(bb_http.o): In function httpadmin_run': bb_http.c:(.text+0x12f4): undefined reference to bb_status'
bb_http.c:(.text+0x1300): undefined reference to bb_shutdown' bb_http.c:(.text+0x13d6): undefined reference to bb_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant