xiehuc / pidgin-lwqq

a pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol
GNU General Public License v3.0
660 stars 185 forks source link

20150421——dev分支,make时出错。 #635

Closed linux0ne closed 9 years ago

linux0ne commented 9 years ago

o@o-Linux:/opt/pidgin-lwqq/build$ sudo make Scanning dependencies of target webqq [ 12%] Building C object src/CMakeFiles/webqq.dir/trex.c.o [ 25%] Building C object src/CMakeFiles/webqq.dir/webqq.c.o In file included from /usr/local/include/lwqq/lwqq.h:5:0, from /opt/pidgin-lwqq/src/qq_types.h:7, from /opt/pidgin-lwqq/src/webqq.c:13: /opt/pidgin-lwqq/src/webqq.c: In function ‘action_about_webqq’: /opt/pidgin-lwqq/src/webqq.c:226:61: error: ‘lwqq__asyncimpl’ undeclared (first use in this function) format_append(flags, "

eventloop: %s

", lwqqasyncimpl->name); ^ /usr/local/include/lwqq/type.h:549:61: note: in definition of macro ‘format_append’ snprintf(str + strlen(str), sizeof(str) - strlen(str), ##format) ^ /opt/pidgin-lwqq/src/webqq.c:226:61: note: each undeclared identifier is reported only once for each function it appears in format_append(flags, "

eventloop: %s

", lwqq
asyncimpl->name); ^ /usr/local/include/lwqq/type.h:549:61: note: in definition of macro ‘format_append’ snprintf(str + strlen(str), sizeof(str) - strlen(str), ##format) ^ /opt/pidgin-lwqq/src/webqq.c: In function ‘init_plugin’: /opt/pidgin-lwqq/src/webqq.c:3024:7: warning: implicit declaration of function ‘LWQQ_ASYNC_IMPLEMENT’ [-Wimplicit-function-declaration] LWQQ_ASYNC_IMPLEMENT(impl_purple); ^ /opt/pidgin-lwqq/src/webqq.c:3024:28: error: ‘impl_purple’ undeclared (first use in this function) LWQQ_ASYNC_IMPLEMENT(impl_purple); ^ make[2]: * [src/CMakeFiles/webqq.dir/webqq.c.o] 错误 1 make[1]: * [src/CMakeFiles/webqq.dir/all] 错误 2 make: *\ [all] 错误 2

注: lwqq编译选项 cmake .. -DWITH_LIBEV=On -DWITH_MOZJS=On

pidgin-lwqq选项 cmake ..

xiehuc commented 9 years ago

是我的错,pidgin-lwqq dev加入了补丁了。