[Pidgin] #4079: In 2.3.0, libpurple/protocols/bonjour/jabber.c needs sys/sockio.h include for solaris

Pidgin trac at pidgin.im
Sun Dec 9 05:37:21 EST 2007


#4079: In 2.3.0, libpurple/protocols/bonjour/jabber.c needs sys/sockio.h include
for solaris
-----------------------+----------------------------------------------------
  Reporter:  ggravier  |       Owner:  datallah      
      Type:  defect    |      Status:  reopened      
  Priority:  minor     |   Milestone:  2.3.1         
 Component:  Bonjour   |     Version:  2.3.0         
Resolution:            |    Keywords:  sockio solaris
   Pending:  0         |  
-----------------------+----------------------------------------------------
Comment (by ggravier):

 Hi!

 This is what happens :

 make[5]: Entering directory
 `/export/home/ggravier/Downloads/go/pidgin-2.3.1/libpurple/protocols/bonjour'
 source='jabber.c' object='jabber.lo' libtool=yes \
         DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
         /bin/bash ../../../libtool --silent --tag=CC   --mode=compile cc
 -DHAVE_CONFIG_H -I. -I../../..  -I../../../libpurple -I../../../libpurple
 -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include    -I/usr/include/libxml2   -D_REENTRANT
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -c -o
 jabber.lo jabber.c
 "jabber.c", line 1068: undefined symbol: SIOCGIFCONF
 cc: acomp failed for jabber.c
 gmake[5]: *** [jabber.lo] Error 1


 If I edit (as suggested in my initial message) to add the line :

 #include <sys/sockio.h>

 at lign 34 in libpurple/protocols/bonjour/jabber.c

 Then it compiles... and works.

 Gilles.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4079#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list