QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 724|回复: 4

gaim-myicq编译时出错..帮帮忙.

[复制链接]
发表于 2003-1-8 18:57:30 | 显示全部楼层 |阅读模式
解压后直接configure, make
make时出下信息:

Making all in myicq
make[4]: Entering directory `/home/walte/dl/tmp/gaim-myicq-0.2.0/src/protocols/myicq'
/bin/sh ../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../..     -g -O2 -I/usr/local/include -I/opt/include -I../../.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I\../../../src   -c myicq.c
myicq.c: In function `myicq_write':
myicq.c:209: parse error before `len'
myicq.c: In function `myicq_msg_text_encode':
myicq.c:244: parse error before `char'
myicq.c:248: `cursor' undeclared (first use in this function)
myicq.c:248: (Each undeclared identifier is reported only once
myicq.c:248: for each function it appears in.)
myicq.c:248: `n' undeclared (first use in this function)
myicq.c:248: `text' undeclared (first use in this function)
myicq.c: In function `myicq_msg_text_decode':
myicq.c:279: parse error before `char'
myicq.c:280: `buf' undeclared (first use in this function)
myicq.c:281: parse error before `char'
myicq.c:282: `b' undeclared (first use in this function)
myicq.c: In function `myicq_packet_encrypt':
myicq.c:352: parse error before `i'
myicq.c:355: `cc' undeclared (first use in this function)
myicq.c: In function `myicq_send_packet':
myicq.c:396: parse error before `struct'
myicq.c:398: `packet' undeclared (first use in this function)
myicq.c: In function `myicq_sendqueue_timeout_callback':
myicq.c:480: parse error before `*'
myicq.c:485: `list' undeclared (first use in this function)
myicq.c:488: `packet' undeclared (first use in this function)
myicq.c:514: `msg' undeclared (first use in this function)
myicq.c:543: `nowtime' undeclared (first use in this function)
myicq.c: In function `myicq_addFriendAuthReq_accept':
myicq.c:974: parse error before `char'
myicq.c:975: `bud' undeclared (first use in this function)
myicq.c: In function `myicq_process_recvMessage':
myicq.c:1001: parse error before `char'
myicq.c:1002: `msg' undeclared (first use in this function)
myicq.c:1010: parse error before `char'
myicq.c:1012: `b' undeclared (first use in this function)
myicq.c:1014: `group' undeclared (first use in this function)
myicq.c:1023: parse error before `char'
myicq.c:1024: `a' undeclared (first use in this function)
myicq.c:1028: parse error before `struct'
myicq.c:1029: `aa' undeclared (first use in this function)
myicq.c: In function `myicq_send_addFriendAuthReq_ok':
myicq.c:1060: parse error before `struct'
myicq.c:1061: `aa' undeclared (first use in this function)
myicq.c: In function `myicq_process_addFriendReply':
myicq.c:1086: parse error before `char'
myicq.c:1088: `bud' undeclared (first use in this function)
myicq.c:1089: `b' undeclared (first use in this function)
myicq.c:1091: `group' undeclared (first use in this function)
myicq.c:1100: parse error before `char'
myicq.c:1101: `def' undeclared (first use in this function)
myicq.c:1102: parse error before `struct'
myicq.c:1103: `aa' undeclared (first use in this function)
myicq.c: In function `myicq_process_updateContactReply':
myicq.c:1148: parse error before `struct'
myicq.c:1151: `list' undeclared (first use in this function)
myicq.c:1153: `updateinfo' undeclared (first use in this function)
myicq.c: In function `myicq_packet_process':
myicq.c:1348: parse error before `ackseq'
myicq.c:1349: `ackseq' undeclared (first use in this function)
myicq.c:1350: `seq' undeclared (first use in this function)
myicq.c: In function `myicq_got_connected':
myicq.c:1485: parse error before `struct'
myicq.c:1487: `addr' undeclared (first use in this function)
myicq.c:1487: `len' undeclared (first use in this function)
myicq.c: In function `myicq_login':
myicq.c:1515: parse error before `char'
myicq.c:1516: `pass' undeclared (first use in this function)
myicq.c: In function `myicq_list_icon':
myicq.c:1625: parse error before `int'
myicq.c:1630: `dir' undeclared (first use in this function)
myicq.c:1630: `uin' undeclared (first use in this function)
myicq.c:1631: parse error before `*'
myicq.c:1632: `file' undeclared (first use in this function)
myicq.c:1634: `faceindex' undeclared (first use in this function)
myicq.c:1642: `status' undeclared (first use in this function)
myicq.c: In function `myicq_get_info':
myicq.c:1792: parse error before `*'
myicq.c:1794: `list' undeclared (first use in this function)
myicq.c:1796: `updateinfo' undeclared (first use in this function)
myicq.c:1832: parse error before `*'
myicq.c:1833: `file' undeclared (first use in this function)
myicq.c:1836: parse error before `char'
myicq.c:1837: `buf' undeclared (first use in this function)
myicq.c:1840: parse error before `struct'
myicq.c:1842: `info' undeclared (first use in this function)
myicq.c:1843: `a' undeclared (first use in this function)
make[4]: *** [myicq.lo] 错误 1
make[4]: Leaving directory `/home/walte/dl/tmp/gaim-myicq-0.2.0/src/protocols/myicq'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/walte/dl/tmp/gaim-myicq-0.2.0/src/protocols'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/walte/dl/tmp/gaim-myicq-0.2.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/walte/dl/tmp/gaim-myicq-0.2.0'
make: *** [all-recursive-am] 错误 2
发表于 2003-1-8 20:17:53 | 显示全部楼层
我编译通过,没遇到问题
回复

使用道具 举报

发表于 2003-1-8 20:40:00 | 显示全部楼层
是函数变量声明必须放到最前面的问题,我里面变量声明都是c++风格的,现在新版的gcc3.2没问题,不过gcc2.96,2.95都不行。
我慢慢改吧。
刚才又加了修改个人资料时改自己头像的功能 :)
回复

使用道具 举报

发表于 2003-1-8 21:10:44 | 显示全部楼层

gaim-myicq-0.2.1

加了修改个人资料时改自己头像的功能。
修正了在gcc2.96上不能编译的问题。

只提供几个有改动的源文件,覆盖到gaim-myicq-0.2.0/src/protocal/myicq里就行了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2003-1-10 09:31:32 | 显示全部楼层

Re: gaim-myicq-0.2.1

[quote:12df046ba0="huzheng"]加了修改个人资料时改自己头像的功能。
修正了在gcc2.96上不能编译的问题。

只提供几个有改动的源文件,覆盖到gaim-myicq-0.2.0/src/protocal/myicq里就行了。[/quote]
解压缩不了。。。
请重新上传一遍~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 19:37 , Processed in 0.047463 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表