pidgin除了QQ可以登录其他的都不能连接到网络
-
- 帖子: 4
- 注册时间: 2008-02-13 13:35
pidgin除了QQ可以登录其他的都不能连接到网络
为什么我的pidgin除了QQ可以登录其他的都不能连接到网络?在应用程序->internet里可以进入pidgin,但在添加/删除程序里竟然找不到pidgin,重安也不起作用
-
- 帖子: 4
- 注册时间: 2008-02-13 13:35
-
- 帖子: 35
- 注册时间: 2008-01-27 21:33
- 来自: 广西与北京
-
- 帖子: 4
- 注册时间: 2008-02-13 13:35
-
- 帖子: 4
- 注册时间: 2008-02-13 13:35
编译过程中出现错误
========
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>
我的问题解决了,呵呵
========
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>
我的问题解决了,呵呵