ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: ledest@gmail.com
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] DC Hub (VerliHub)
Date: Fri, 6 Jul 2007 19:53:38 +0300
Message-ID: <200707061953.38587.ledest@gmail.com> (raw)
In-Reply-To: <f0c9ffa90707060943s34b1bd1doe4cef73e39628360@mail.gmail.com>

В сообщении от Friday 06 July 2007 19:43:07 diver написал(а):
> Приветствую,
>
> Потребовалось поставить хаб для сети директконект, погуглил выяснил что
> рекомендуют verlihub.sf.net
>
> Пробую собрать пока себе в хоум.
>
> Вылетает с руганью:
> /bin/sh ../libtool --mode=link g++  -g -O2 -I/usr/src/include/
> -I/usr/include/mysql -pipe -march=i586 -mtune=i686 -fomit-frame-pointer
> -D_FILE_OFFSET_BITS=64 -DHAVE_ERRNO_AS_DEFINE -DONE_THREAD
> -I/usr/include/pcre -I/usr/include   -o verlihub -lpcre -L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -ldl -lcrypt
> -L/usr/lib -lGeoIP  -pthread -rdynamic verlihub.o libverlihub.la -lGeoIP
> -lcrypt
> g++ -g -O2 -I/usr/src/include/ -I/usr/include/mysql -pipe -march=i586
> -mtune=i686 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
> -DHAVE_ERRNO_AS_DEFINE -DONE_THREAD -I/usr/include/pcre -I/usr/include -o
> .libs/verlihub -rdynamic verlihub.o  -L/usr/lib/mysql -lm -L/usr/lib
> -pthread ./.libs/libverlihub.so -lpcre -lmysqlclient -lz -lnsl -lssl
> -lcrypto -ldl -lGeoIP -lcrypt
> ./.libs/libverlihub.so: undefined reference to `pthread_create'
> ./.libs/libverlihub.so: undefined reference to `pthread_mutex_trylock'
> ./.libs/libverlihub.so: undefined reference to `pthread_join'
> collect2: выполнение ld завершилось с кодом возврата 1
> make[2]: *** [verlihub] Ошибка 1
>
>
> Подскажите как собрать, или может кто собирал и поделится спеком?

-pthread переставить после libverlihub.la

___
Led.

       reply	other threads:[~2007-07-06 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 16:53 ` ledest [this message]
2007-07-06 18:40 ` Pavlov Konstantin
2007-07-16 15:37     ` Pavlov Konstantin

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=200707061953.38587.ledest@gmail.com \
    --to=ledest@gmail.com \
    --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