ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vyt <vyt_o@mail.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] licq & socks5 again
Date: Mon Feb 19 18:41:14 2001
Message-ID: <01021918401200.00721@vyt> (raw)
In-Reply-To: <01021918244606.00598@serg.office.cint.ru>

19 Февраль 2001 18:21, Sergey написал:
> Ошибка при линковке...
> Может быть надо убрать некоторые параметры из Makefile ?
> Или скорее всего можно попробовать удалить все объектники
> и произвести сборку снова.

Естественно, это все все делалось после make clean, ./configure. А то, что
ниже - это для вывода ошибки (чтобы в письмо вставить :)

> -ldl  - что это за параметр???

Не знаю, опции были ./configure --prefix=/usr --with-socks5 --disable-openssl
Эта ошибка есть при исп.  и gcc-2.95.3, и gcc-2.96

>
> Пнд, 19 Фев 2001, Вы написали:
> > 19 Февраль 2001 17:33, Vyt написал:
> > > > 19 Февраль 2001 16:09, Sergey написал:
> > > >
> > > > Вск, 18 Фев 2001, Вы написали:
> > > > > Hello, All
> > > > >
> > > > > Не могу собрать licq (1.0.2) с поддержкой socks5. Я уже спрашивал,
> > > > > видимо, неточно :)
> > > > > После ./configure --prefix=/usr --with-socks5 --disable-openssl
> > > > > make ругается на socks.h:
> > > > >
> > > > > make  all-recursive
> > > > > make[1]: Вход в каталог `/root/tmp/licq-1.0.2'
> > > > > Making all in share
> > > > > make[2]: Вход в каталог `/root/tmp/licq-1.0.2/share'
> > > > > make[2]: Цель `all' не требует выполнения команд.
> > > > > make[2]: Выход из каталог `/root/tmp/licq-1.0.2/share'
> > > > > Making all in src
> > > > > make[2]: Вход в каталог `/root/tmp/licq-1.0.2/src'
> > > > > c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include
> > > > > -DINSTALL_PREFIX=\"/usr\" -W
> > > > > no-implicit  -fPIC -DPIC -D_REENTRANT  -O2 -fno-exceptions
> > > > > -fno-check-new -c mai
> > > > > n.cpp
> > > > > In file included from main.cpp:15:
> > > > > /usr/include/socks.h:206: field `lastconnect' has incomplete type
> > > > > /usr/include/socks.h:223: `MAXHOSTNAMELEN' was not declared in this
> > > > > scope /usr/include/socks.h:224: field `log' has incomplete type
> > > > > /usr/include/socks.h:232: field `src' has incomplete type
> > > > > /usr/include/socks.h:233: field `dst' has incomplete type
> > > > > /usr/include/socks.h:234: field `packet' has incomplete type
> > > > > /usr/include/socks.h:252: type specifier omitted for parameter
> > > > > /usr/include/socks.h:252: parse error before `*'
> > > > > /usr/include/socks.h:253: type specifier omitted for parameter
> > > > > /usr/include/socks.h:254: type specifier omitted for parameter
> > > > > /usr/include/socks.h:254: parse error before `*'
> > > > > /usr/include/socks.h:255: type specifier omitted for parameter
> > > > > /usr/include/socks.h:255: parse error before `*'
> > > > > /usr/include/socks.h:256: type specifier omitted for parameter
> > > > > /usr/include/socks.h:256: parse error before `)'
> > > > > /usr/include/socks.h:257: type specifier omitted for parameter
> > > > > /usr/include/socks.h:257: parse error before `*'
> > > > > /usr/include/socks.h:260: type specifier omitted for parameter
> > > > > /usr/include/socks.h:413: parse error before `new'
> > > > > make[2]: *** [main.o] Ошибка 1
> > > > > make[2]: Выход из каталог `/root/tmp/licq-1.0.2/src'
> > > > > make[1]: *** [all-recursive] Ошибка 1
> > > > > make[1]: Выход из каталог `/root/tmp/licq-1.0.2'
> > > > > make: *** [all-recursive-am] Ошибка 2
> > > > >
> > > > > Есть мысль, что это от несовместимости gcc. Поставил compat-gcc (и
> > > > > все остальные compat-xxx, похожие на компиляторы :). Если мысль
> > > > > верна, как заставить make компилировать compat-gcc'ом?
> > > > >
> > > > >
> > > > > --
> > > > > Regards, Vyt
> > > > > mailto:vyt_o@mail.ru
> > > > >
> > > > > _______________________________________________
> > > > > Mandrake-russian mailing list
> > > > > Mandrake-russian@linuxteam.iplabs.ru
> > > > > http://linuxteam.iplabs.ru/mailman/listinfo/mandrake-russian
> > > >
> > > > Или ошибка в файле  /usr/include/socks.h - возможно где-то
> > > > синтаксическая ошибка (не хватает или лишняя скобка, точка с
> > > > запятой...) хотя это мало вероятно, но проверить можно.
> > > > Ещё может быть переопределение headers .
> > >
> > > socks.h на redhat 62 понимался великолепно (версию gcc не помню и
> > > посмотреть теперь негде ;), если интересно, посмотрите в аттаче
> >
> > Вру, сорри. Понимался socks.h от www.socks.nec.com. А этот (в аттаче
> > предущего письма) от dante.
> > В общем, замена gcc на kgcc (gcc 2.95.3) помогла (при socks.h от
> > www.socks.nec.com :). Теперь main.cpp собирается нормально, но появились
> > такие ошибки:
> >
> > make  all-recursive
> > make[1]: Вход в каталог `/root/tmp/licq-1.0.2'
> > Making all in share
> > make[2]: Вход в каталог `/root/tmp/licq-1.0.2/share'
> > make[2]: Цель `all' не требует выполнения команд.
> > make[2]: Выход из каталог `/root/tmp/licq-1.0.2/share'
> > Making all in src
> > make[2]: Вход в каталог `/root/tmp/licq-1.0.2/src'
> > /bin/sh ../libtool --mode=link c++  -O2 -fno-exceptions -fno-check-new
> > -o licq -export-dynamic  licq.o main.o icqpacket.o socket.o icqd.o
> > icqd-udp.o icqd-tcp.o icqd-threads.o remoteserver.o icqevent.o buffer.o
> > user.o history.o utility.o countrycodes.o log.o translate.o file.o
> > message.o support.o pthread_rdwr.o onevent.o plugind.o sar.o
> > languagecodes.o icqd-chat.o sighandler.o icqd-filetransfer.o hebrev.o
> > icqcolor.o -lsocks5  -ldl -lpthread -lnsl
> > c++ -O2 -fno-exceptions -fno-check-new -o licq licq.o main.o icqpacket.o
> > socket.o icqd.o icqd-udp.o icqd-tcp.o icqd-threads.o remoteserver.o
> > icqevent.o buffer.o user.o history.o utility.o countrycodes.o log.o
> > translate.o file.o message.o support.o pthread_rdwr.o onevent.o plugind.o
> > sar.o languagecodes.o icqd-chat.o sighandler.o icqd-filetransfer.o
> > hebrev.o icqcolor.o -Wl,--export-dynamic  -lsocks5 -ldl -lpthread -lnsl
> > licq.o: In function `__malloc_alloc_template<0>::_S_oom_malloc(unsigned
> > int)':
> > licq.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
> > int)+0x29): undefined reference to `cerr'
> > licq.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
> > int)+0x31): undefined reference to `ostream::operator<<(char const *)'
> > licq.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
> > int)+0x37): undefined reference to `endl(ostream &)'
> > collect2: ld returned 1 exit status
> > make[2]: *** [licq] Ошибка 1
> > make[2]: Выход из каталог `/root/tmp/licq-1.0.2/src'
> > make[1]: *** [all-recursive] Ошибка 1
> > make[1]: Выход из каталог `/root/tmp/licq-1.0.2'
> > make: *** [all-recursive-am] Ошибка 2
> >
> > > > --
> > > > System Administrator
> > > > Ivanov Sergey  mailto:serg@cint.ru
> > > >
> > > > _______________________________________________
> > > > Mandrake-russian mailing list
> > > > Mandrake-russian@linuxteam.iplabs.ru
> > > > http://linuxteam.iplabs.ru/mailman/listinfo/mandrake-russian
> > >
> > > --
> > > Regards, Vyt
> > > mailto:vyt_o@mail.ru
> >
> > ----------------------------------------
> > Content-Type: text/english; charset="koi8r"; name="socks.h"
> > Content-Transfer-Encoding: base64
> > Content-Description:
> > ----------------------------------------
> >
> > --
> > Regards, Vyt
> > mailto:vyt_o@mail.ru
> >
> > _______________________________________________
> > Mandrake-russian mailing list
> > Mandrake-russian@linuxteam.iplabs.ru
> > http://linuxteam.iplabs.ru/mailman/listinfo/mandrake-russian
>
> --
> System Administrator
> Ivanov Sergey  mailto:serg@cint.ru
>
> _______________________________________________
> Mandrake-russian mailing list
> Mandrake-russian@linuxteam.iplabs.ru
> http://linuxteam.iplabs.ru/mailman/listinfo/mandrake-russian

--
Regards, Vyt
mailto:vyt_o@mail.ru



      reply	other threads:[~2001-02-19 18:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-18 18:33 Vyt
2001-02-19 16:05 ` Sergey
2001-02-19 17:35   ` Vyt
2001-02-19 17:49     ` Sergey
2001-02-19 18:10       ` Vyt
2001-02-19 18:08     ` Vyt
2001-02-19 18:18       ` Sergey
2001-02-19 18:41         ` Vyt [this message]

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=01021918401200.00721@vyt \
    --to=vyt_o@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /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