分页: 1 / 1

pidgin除了QQ可以登录其他的都不能连接到网络

发表于 : 2008-02-13 13:46
cherry1009
为什么我的pidgin除了QQ可以登录其他的都不能连接到网络?在应用程序->internet里可以进入pidgin,但在添加/删除程序里竟然找不到pidgin,重安也不起作用 :cry: :cry:

发表于 : 2008-02-13 13:47
cherry1009
一个pidgin搞的我头晕……

发表于 : 2008-02-14 16:19
glutious
我与你完全相反,除了QQ我什么都能登陆

发表于 : 2008-02-14 16:39
cherry1009
太奇怪了,为什么我的跟别人的正好相反?

发表于 : 2008-02-19 10:08
one_dust
我的msn就不能登录, qq能上去。。。msn总是说用户名和密码不对, 真是昏了, 绝对是对的

发表于 : 2008-02-19 11:15
cherry1009
编译过程中出现错误

========
In file included from ../../../../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c:23:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:368: error: field `addr' has incomplete type
/usr/include/net/if.h:369: error: field `dstaddr' has incomplete type
gmake[5]: *** [jabber.lo] Error 1
gmake[5]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols/bonjour'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/porter/src/work'
gmake: *** [all] Error 2
========

解决方法:

修改jabber.c

在22行后增加两行:

23 #include <sys/types.h>
24 #include <sys/socket.h>

从原来的:

22 #ifndef _WIN32
23 #include <net/if.h>
24 #include <sys/ioctl.h>
25 #include <sys/socket.h>
26 #include <netinet/in.h>
27 #include <arpa/inet.h>
28 #else
29 #include "libc_interface.h"
30 #endif
31 #include <sys/types.h>
32 #include <glib.h>
33 #include <unistd.h>
34 #include <fcntl.h>

修改为:

22 #ifndef _WIN32
23 #include <sys/types.h>
24 #include <sys/socket.h>
25 #include <net/if.h>
26 #include <sys/ioctl.h>
27 #include <sys/socket.h>
28 #include <netinet/in.h>
29 #include <arpa/inet.h>
30 #else
31 #include "libc_interface.h"
32 #endif
33 #include <sys/types.h>
34 #include <glib.h>
35 #include <unistd.h>
36 #include <fcntl.h>
我的问题解决了,呵呵