Gentoo Archives: gentoo-user-ru

From: "Vladimir G. Dmitrichenkov" <wan@××××.ru>
To: "doro@××××××××××××.ua" <gentoo-user-ru@l.g.o>
Subject: Re: [gentoo-user-ru] gcc 3.4.4 & licq
Date: Thu, 08 Dec 2005 06:21:09
Message-Id: 1286528327.20051208112021@sngb.ru
In Reply to: [gentoo-user-ru] gcc 3.4.4 & licq by doro@doro.poltava.ua
1 Здравствуйте, doro.
2
3 Вы писали 8 декабря 2005 г., 11:12:38:
4
5 > Всем привет !
6
7 > при переходе на gcc-3.4.4
8 > не компилиться licq
9
10 > при переходе все делал как описано в
11 > http://www.gentoo.org/proj/en/base/x86/gcc-upgrading-guide.xml
12 > по 3 пункту
13
14 > сообщение при компиляции
15 > i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall
16 > -I../include -DINSTALL_PREFIX=\"/usr\" -fPIC -DPIC -D_REENTRANT
17 > O3 -march=pentium4 -fomit-frame-pointer -pipe -fno-exceptions
18 > -fno-check-new -c -o socket.o est -f socket.cpp || echo './'ocket.cpp
19 > socket.cpp: In member function ool TCPSocket::SecureConnect()':
20 > socket.cpp:1081: error: ISO C++ forbids cast to non-reference type used as lvalue
21 > socket.cpp: In member function ool TCPSocket::SecureListen()':
22 > socket.cpp:1114: error: ISO C++ forbids cast to non-reference type used as lvalue
23 > make[2]: *** [socket.o] Error 1
24 > make[2]: Leaving directory
25 > /var/tmp/portage/licq-1.2.7/work/licq-1.2.7/src'
26 > make[1]: *** [all-recursive] Error 1
27 > make[1]: Leaving directory
28 > /var/tmp/portage/licq-1.2.7/work/licq-1.2.7'
29 > make: *** [all] Error 2
30
31 > !!! ERROR: net-im/licq-1.2.7 failed.
32 > !!! Function src_compile, Line 60, Exitcode 2
33 > !!! (no error message)
34 > !!! If you need support, post the topmost build error, NOT this status message.
35
36 > Что посоветуете ?
37
38 была такая заморочка,.. долго мучался, потом попробовал из make.conf
39 убрать всё, кроме -pipe...... заработало,........
40 убери -fomit-frame-pointer
41
42 --
43 С уважением,
44 Vladimir

Replies

Subject Author
Re: [gentoo-user-ru] gcc 3.4.4 & licq Vladimir Solomatin <littleslash@×××××.ru>
Re: [gentoo-user-ru] gcc 3.4.4 & licq doro@××××××××××××.ua