From: Artem Pastukhov <past@yam.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] obexftp build troubles
Date: Mon, 24 Jul 2006 18:26:39 +0400
Message-ID: <200607241826.39121.past@yam.ru> (raw)
In-Reply-To: <20060724122453.GG20069@master.mivlgu.local>
В сообщении от 24 июля 2006 16:24 Sergey Vlasov написал(a):
> On Mon, Jul 24, 2006 at 02:41:28PM +0400, Artem Pastukhov wrote:
> > В сообщении от 22 июля 2006 16:03 Sergey Vlasov написал(a):
> > > On Fri, Jul 21, 2006 at 01:13:14PM +0400, Artem Pastukhov wrote:
> > > > gcc -pipe -Wall -O2 -march=i686 -mtune=pentium4 -W -Wundef
> > > > -Wmissing-declarations -Wmissing-prototypes -Wall -o .libs/obexftp
> > > > obexftp.o
> > > > bt_discovery.o -L/usr/lib ../obexftp/.libs/libobexftp.so
> > > > ../multicobex/.libs/libmulticobex.so ../bfb/.libs/libbfb.so
> > > > -lbluetooth -lopenobex ../obexftp/.libs/libobexftp.so: undefined
> > > > reference to `OBEX_CharToUnicode'
> > >
> > > [...]
> > >
> > > Библиотека libobexftp собрана без указания используемых ей других
> > > библиотек - пропущена как минимум -lopenobex. Необходимо в
> > > соответствующем Makefile.am добавить:
> > >
> > > libobexftp_la_LIBADD = -lopenobex
> > >
> > > (либо добавить -lopenobex к этой переменной, если она там уже
> > > устанавливается). После изменений Makefile.am необходимо перед
> > > вызовом configure ещё вызвать autoreconf -vi (была рекомендация
> > > использовать -fisv, но опция -f может приводить к потере
> > > первоначального содержимого файлов INSTALL, COPYING, ..., если эти
> > > файлы содержали какой-то нестандартный текст).
> >
> > Библиотека libobexftp как раз и не собирается.
>
> Нет, как раз библиотека собралась чуть раньше, а вот при попытке сборки
> программы obexftp, использующей эту библиотеку, обнаруживается, что в
> libobexftp.so есть неопределённые символы.
>
> > OBEX_Init и прчее как раз определяются в libopenobex-devel, насколько я
> > понял.
>
> Да - вот и нужно подключить -lopenobex при сборке libobexftp.
Угу, почти победил, осталась теперь только 1 ошибка:
../obexftp/.libs/libobexftp.so: undefined reference to `cobex_ctrans'
--
С Уважением, Артем Пастухов
past at yam dot ru
next prev parent reply other threads:[~2006-07-24 14:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-21 9:13 Artem Pastukhov
2006-07-21 9:30 ` Eugene A. Suchkov
2006-07-21 9:38 ` Artem Pastukhov
2006-07-21 9:44 ` Eugene A. Suchkov
2006-07-21 10:13 ` Artem Pastukhov
2006-07-21 12:35 ` Artem Pastukhov
2006-07-21 18:35 ` Alexey Rusakov
2006-07-22 12:03 ` Sergey Vlasov
2006-07-24 10:41 ` Artem Pastukhov
2006-07-24 12:24 ` Sergey Vlasov
2006-07-24 14:26 ` Artem Pastukhov [this message]
2006-07-24 15:41 ` Sergey Vlasov
2006-07-25 7:49 ` Artem Pastukhov
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=200607241826.39121.past@yam.ru \
--to=past@yam.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git