[Pidgin] #15360: IRC: Enabling SASL breaks static build

Pidgin trac at pidgin.im
Sun Oct 14 10:31:43 EDT 2012


#15360: IRC: Enabling SASL breaks static build
-------------------------+-------------------------------------------------
 Reporter:  tux          |      Owner:  elb
     Type:  defect       |     Status:  new
Milestone:               |  Component:  IRC
  Version:               |   Keywords:  irc,sasl,build,compile
                         |  error,regression,static
-------------------------+-------------------------------------------------
 I've tried building pidgin ([33422:581716bd2b64]) with:

 "../configure --with-static-prpls="jabber irc" --enable-static --enable-
 cyrus-sasl"

 However since [33404:bbd52f93184e] this fails with the following error
 message:

 {{{
 [...]
 make[4]: Leaving directory `/tmp/pidgin-main/libpurple'
 Making all in tests
 make[4]: Entering directory `/tmp/pidgin-main/libpurple/tests'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/tmp/pidgin-main/libpurple/tests'
 Making all in example
 make[4]: Entering directory `/tmp/pidgin-main/libpurple/example'
   CC     nullclient.o
   CCLD   nullclient
 ../../libpurple/.libs/libpurple.so: undefined reference to
 `sasl_client_step'
 ../../libpurple/.libs/libpurple.so: undefined reference to `sasl_decode'
 ../../libpurple/.libs/libpurple.so: undefined reference to
 `sasl_client_init'
 ../../libpurple/.libs/libpurple.so: undefined reference to `sasl_dispose'
 ../../libpurple/.libs/libpurple.so: undefined reference to `sasl_encode'
 ../../libpurple/.libs/libpurple.so: undefined reference to
 `sasl_errdetail'
 ../../libpurple/.libs/libpurple.so: undefined reference to `sasl_getprop'
 ../../libpurple/.libs/libpurple.so: undefined reference to `sasl_setprop'
 ../../libpurple/.libs/libpurple.so: undefined reference to
 `sasl_client_start'
 ../../libpurple/.libs/libpurple.so: undefined reference to
 `sasl_client_new'
 collect2: error: ld returned 1 exit status
 make[4]: *** [nullclient] Error 1
 make[4]: Leaving directory `/tmp/pidgin-main/libpurple/example'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/tmp/pidgin-main/libpurple'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/tmp/pidgin-main/libpurple'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/tmp/pidgin-main'
 make: *** [all] Error 2
 make -j3  196.42s user 19.90s system 165% cpu 2:10.63 total
 }}}

 Building with "./configure --with-static-prpls="irc" --enable-static
 --enable-cyrus-sasl" or "./configure --with-static-prpls="jabber irc"
 --enable-static" works though.

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15360>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list