From: taa <shinobispb@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] merlin и libdbi
Date: Thu, 11 Feb 2010 11:14:14 +0400
Message-ID: <4B73AE46.8020702@gmail.com> (raw)
Работаю с nagios, и возникла проблема при сборке дополнительного модуля
merlin, для него требуется libdbi и libdbi-devel, который соответственно
был установлен.
Пробовал устноавить на 5.1 и на 4.1 (для которого собрал libdbi, версий
0.8.3, и 1.0 из сизифа), в любом случае выдает
make: Entering directory `/usr/src/RPM/BUILD/merlin-0.6.6'
CC module.o
CC hooks.o
module.c: In function 'nebmodule_init':
module.c:409: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result
CC control.o
CC hash.o
sh gen-version.sh > version.c
CC logging.o
CC cfgfile.o
CC ipc.o
CC shared.o
ipc.c: In function 'ipc_binlog_add':
ipc.c:129: warning: ignoring return value of 'asprintf', declared with
attribute warn_unused_result
ipc.c: In function 'ipc_send_event':
ipc.c:332: warning: dereferencing type-punned pointer will break
strict-aliasing rules
CC io.o
CC protocol.o
CC data.o
CC binlog.o
CC status.o
CC daemonize.o
CC daemon.o
CC net.o
daemon.c: In function 'import_objects_and_status':
daemon.c:247: warning: ignoring return value of 'asprintf', declared
with attribute warn_unused_result
daemon.c:252: warning: ignoring return value of 'asprintf', declared
with attribute warn_unused_result
daemon.c: In function 'polling_loop':
daemon.c:270: warning: 'result' is used uninitialized in this function
CC sql.o
CC db_updater.o
CC version.o
LINK merlin.so
LINK merlind
status.o: In function `store_object_states':
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:34: undefined reference to
`dbi_result_get_numrows'
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:42: undefined reference to
`dbi_result_next_row'
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:46: undefined reference to
`dbi_result_get_string_copy_idx'
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:47: undefined reference to
`dbi_result_get_int_idx'
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:48: undefined reference to
`dbi_result_get_int_idx'
/usr/src/RPM/BUILD/merlin-0.6.6/status.c:42: undefined reference to
`dbi_result_next_row'
sql.o: In function `sql_close':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:236: undefined reference to
`dbi_conn_close'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:238: undefined reference to
`dbi_shutdown'
sql.o: In function `sql_free_result':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:78: undefined reference to
`dbi_result_free'
sql.o: In function `sql_error':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:72: undefined reference to
`dbi_conn_error'
sql.o: In function `sql_init':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:178: undefined reference to
`dbi_initialize'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:187: undefined reference to
`dbi_driver_open'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:194: undefined reference to
`dbi_conn_open'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:200: undefined reference to
`dbi_conn_set_option'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:201: undefined reference to
`dbi_conn_set_option'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:202: undefined reference to
`dbi_conn_set_option'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:203: undefined reference to
`dbi_conn_set_option'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:206: undefined reference to
`dbi_conn_set_option'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:211: undefined reference to
`dbi_conn_connect'
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:205: undefined reference to
`dbi_conn_set_option_numeric'
sql.o: In function `run_query':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:90: undefined reference to
`dbi_conn_query_null'
sql.o: In function `sql_escape':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:53: undefined reference to
`dbi_conn_quote_string_copy'
sql.o: In function `sql_quote':
/usr/src/RPM/BUILD/merlin-0.6.6/sql.c:40: undefined reference to
`dbi_conn_quote_string_copy'
collect2: ld returned 1 exit status
make: *** [merlind] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/merlin-0.6.6'
error: Bad exit status from /usr/src/tmp/rpm-tmp.50817 (%build)
Есть идеи?
next reply other threads:[~2010-02-11 7:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 7:14 taa [this message]
2010-02-11 11:18 ` Boris Savelev
2010-02-11 13:14 ` Michael Shigorin
2010-02-11 14:01 ` taa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B73AE46.8020702@gmail.com \
--to=shinobispb@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git