msn-pecan-0.0.19 link error on centos 5.3

2 views
Skip to first unread message

xue yong zhi

unread,
Jul 9, 2009, 11:52:08 AM7/9/09
to msn-pecan
Tried 0.0.19 on centos 5.3 and got a link error (see below). 0.0.18
works fine. Thanks.

-bash-3.2# cd msn-pecan-0.0.19
-bash-3.2# make
[CC] msn.o
[CC] nexus.o
[CC] notification.o
[CC] page.o
[CC] session.o
[CC] switchboard.o
[CC] sync.o
[CC] pecan_log.o
[CC] pecan_printf.o
[CC] pecan_util.o
[CC] pecan_error.o
[CC] pecan_status.o
pecan_status.c: In function ‘pecan_timeout_tune_status’:
pecan_status.c:283: warning: implicit declaration of function
‘g_timeout_add_seconds’
[CC] pecan_oim.o
[CC] pecan_ud.o
[CC] cmd/cmdproc.o
[CC] cmd/command.o
[CC] cmd/history.o
[CC] cmd/msg.o
[CC] cmd/table.o
[CC] cmd/transaction.o
[CC] io/pecan_buffer.o
[CC] io/pecan_parser.o
[CC] ab/pecan_group.o
[CC] ab/pecan_contact.o
[CC] ab/pecan_contactlist.o
[CC] io/pecan_stream.o
[CC] io/pecan_node.o
[CC] io/pecan_cmd_server.o
[CC] io/pecan_http_server.o
[CC] io/pecan_ssl_conn.o
[CC] fix_purple.o
[CC] cvr/slp.o
[CC] cvr/slpcall.o
[CC] cvr/slplink.o
[CC] cvr/slpmsg.o
[CC] cvr/slpsession.o
[CC] cvr/pecan_slp_object.o
[CC] lib/libsiren/common.o
[CC] lib/libsiren/dct4.o
[CC] lib/libsiren/decoder.o
[CC] lib/libsiren/huffman.o
[CC] lib/libsiren/rmlt.o
[CC] pecan_siren7.o
[SHLIB] libmsn-pecan.so
pecan_status.o: In function `pecan_timeout_tune_status':
/root/msn-pecan-0.0.19/pecan_status.c:283: undefined reference to
`g_timeout_add_seconds'
collect2: ld returned 1 exit status
make: *** [libmsn-pecan.so] Error 1
-bash-3.2# cat /etc/redhat-
redhat-lsb/ redhat-release
-bash-3.2# cat /etc/redhat-release
CentOS release 5.3 (Final)

Felipe Contreras

unread,
Jul 9, 2009, 12:26:11 PM7/9/09
to xue yong zhi, msn-pecan
On Thu, Jul 9, 2009 at 6:52 PM, xue yong zhi<xue.yo...@gmail.com> wrote:
>
> Tried 0.0.19 on centos 5.3 and got a link error (see below). 0.0.18
> works fine. Thanks.
>
> -bash-3.2# cd msn-pecan-0.0.19
> -bash-3.2# make
> [CC] msn.o
> [CC] nexus.o
> [CC] notification.o
> [CC] page.o
> [CC] session.o
> [CC] switchboard.o
> [CC] sync.o
> [CC] pecan_log.o
> [CC] pecan_printf.o
> [CC] pecan_util.o
> [CC] pecan_error.o
> [CC] pecan_status.o
> pecan_status.c: In function ‘pecan_timeout_tune_status’:
> pecan_status.c:283: warning: implicit declaration of function
> ‘g_timeout_add_seconds’

You probably have an old version of GLib, try adding this
#include "fix_purple.h"

To pecan_status.c.

Cheers.

--
Felipe Contreras

Xue Yong Zhi

unread,
Jul 9, 2009, 2:27:22 PM7/9/09
to Felipe Contreras, msn-pecan
Thanks. That fixes it.

Felipe Contreras

unread,
Jul 9, 2009, 5:24:27 PM7/9/09
to Xue Yong Zhi, msn-pecan
On Thu, Jul 9, 2009 at 6:27 PM, Xue Yong Zhi<xue.yo...@gmail.com> wrote:
> Thanks. That fixes it.

Cool, I'll push the fix.

--
Felipe Contreras

Reply all
Reply to author
Forward
0 new messages