hi,

i'm building openpbx-trunk (r2546) on osx 10.4.8.

after a successful "./configure",


 setenv LDFLAGS "-bind_at_load -L/usr/local/ssl/lib
-L/usr/local/mysql/lib/mysql -lmysqlclient_r -L/usr/local/sqlite/lib
-lsqlite3 -L."
 setenv CPPFLAGS "-I/usr/local/ssl/include -I/usr/local/mysql/include
-I/usr/local/sqlite/include -I."
 setenv CFLAGS `echo $CPPFLAGS`

      ./configure \
      --prefix=/usr/local/openpbx \
      --disable-debug \
      --with-openpbx-user=openpbx --with-openpbx-group=openpbx \
      --enable-shared --disable-static \
      --enable-ssl=yes \
      --enable-optimization=yes \
      --enable-jabber=no \
      --enable-javascript=no \
      --enable-odbc=no \
      --enable-postgresql=no \
      --enable-mysql=yes \
      --enable-builtin-sqlite3=no \
      --with-sqlite3=/usr/local/sqlite \
      --with-sqlite3-incdir=/usr/local/sqlite/include \
      --with-sqlite3-libdir=/usr/local/sqlite/lib \
      --with-spandsp-includes=/usr/local/spandsp/include \
      --with-spandsp-libs=/usr/local/spandsp/lib \
       --enable-zaptel=no \
       --with-cdr_odbc=no \
       --with-cdr_manager=yes \
       --with-cdr_mysql=yes \
       --with-res_config_odbc=yes \
       --with-res_config_curl=yes \
       --with-res_config_mysql=yes \
       --with-res_jabber=yes \
       --with-res_js=yes \
       --with-res_odbc=yes \
       --with-res_sqlite=yes \
       --with-man-pages=yes \
       --with-readme=yes \
       --with-license=yes \
       --with-credits=no \
       --with-sgml-docs=yes

a following,

      make

fails at,

      ...
      gcc  -o .libs/app_sql_mysql.so -bundle
.libs/app_sql_mysql_la-app_sql_mysql.o  -L/usr/local/ssl/lib
-L/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql/libmysqlclient_r.dylib -L/usr/local/lib
/usr/local/ssl/lib/libssl.dylib /usr/local/ssl/lib/libcrypto.dylib
-L/usr/local/sqlite/lib /usr/local/sqlite/lib/libsqlite3.dylib
-L/usr/ports/openpbx/openpbx/apps -L/usr/local/spandsp/lib
/usr/local/mysql/lib/mysql/libmysqlclient.dylib -lz -lssl -lcrypto
../corelib/.libs/libopenpbx.dylib -L/usr/ports/openpbx/openpbx/corelib
/usr/local/spandsp/lib/libspandsp.dylib -L/usr/local/fftw/lib
/usr/local/lib/libtiff.dylib /usr/local/lib/libjpeg.dylib
-L/usr/ports/openpbx/openpbx/libltdl
-L/usr/ports/openpbx/openpbx/stdtime
/usr/ports/openpbx/openpbx/corelib/jitterbuffer/.libs/libopbxjb.dylib
/usr/local/lib/libz.dylib
-L/usr/ports/openpbx/openpbx/corelib/jitterbuffer
/usr/local/lib/libreadline.dylib /usr/local/lib/libncurses.dylib
-lresolv -lpthread -lreadline -lncurses -lm -lc
      /usr/bin/ld: warning multiple definitions of symbol _PC
      /usr/local/lib/libreadline.dylib(terminal.so) definition of _PC
      /usr/local/lib/libncurses.dylib(lib_tputs.o) definition of _PC
      /usr/bin/ld: warning multiple definitions of symbol _BC
      /usr/local/lib/libreadline.dylib(terminal.so) definition of _BC
      /usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _BC
      /usr/bin/ld: warning multiple definitions of symbol _UP
      /usr/local/lib/libreadline.dylib(terminal.so) definition of _UP
      /usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _UP
      /usr/bin/ld: Undefined symbols:
      _opbx_module_user_add
      _opbx_module_user_hangup_all
      _opbx_module_user_remove
      collect2: ld returned 1 exit status
      make[2]: *** [app_sql_mysql.la] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all-recursive] Error 1


those symbols _look_ like they'd be _internal_ to the openpbx build,
rather than related to an external lib, but, then again, the problem
arises in the *mysql*-related 'make' ...

suggestions?

thanks.
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to