From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mcDOOmOn+By5ek85omd9fVf/ktgNhcsUsONGQ6LFK14=; b=w3qqXZPPVf90lQYf8tfkAhGXhPXeSMdZo10BeKXy/3Q8hKHI5/39nDYuUn0ADfDvJK /QNr+pjjEH0NZpl5PjIjXA80Ofj2iwYMx0ceKUsVNJuY4xoEQEvFruDrQzL07DtVC6qu pouhAizPfY+AUh6kjstwp5t8AgE8uLLwSgjvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ahNRkTuyK7l/FVDIQ0rOC5Ci3fcu+H7gnr9uFzE8pwcKSaiAS7eYXc5egP3bc0H797 EkLeMp9PERYSwL9dj/vBpXVvI2n8Kx/aHZDCkEodVarkWoJdMyKLO01ghDw0VhRRu2tK j/Tl/UeJsJ/fJkW8OZORYyTBD3FZBMnf3WN/A= MIME-Version: 1.0 In-Reply-To: <201009151500.31655.ashen@novoross.multinex.ru> References: <201009151438.19869.ashen@novoross.multinex.ru> <201009151500.31655.ashen@novoross.multinex.ru> Date: Wed, 15 Sep 2010 14:30:05 +0300 Message-ID: From: Igor Zubkov To: =?KOI8-R?B?+8XOw8XXIOHMxcvTxcog98zBxMnNydLP18ne?= , ALT Linux Sisyphus discussions Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: Re: [sisyphus] cmdiag X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 11:30:12 -0000 Archived-At: List-Archive: List-Post: 15 =D3=C5=CE=D4=D1=C2=D2=D1 2010 =C7. 14:00 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5= =CC=D8 =FB=C5=CE=C3=C5=D7 =E1=CC=C5=CB=D3=C5=CA =F7=CC=C1=C4=C9=CD=C9=D2=CF= =D7=C9=DE =CE=C1=D0=C9=D3=C1=CC: > g++ -Wall -O2 -c cmdiag.cpp > cmdiag.cpp: In function 'int main(int, char**)': > cmdiag.cpp:29: warning: deprecated conversion from string constant to 'ch= ar*' > cmdiag.cpp:30: warning: deprecated conversion from string constant to 'ch= ar*' > cmdiag.cpp:31: warning: deprecated conversion from string constant to 'ch= ar*' > cmdiag.cpp:32: warning: deprecated conversion from string constant to 'ch= ar*' > cmdiag.cpp:46: warning: deprecated conversion from string constant to 'ch= ar*' > cmdiag.cpp:46: warning: deprecated conversion from string constant to 'ch= ar*' > g++ -Wall -O2 -c bar.cpp > g++ -Wall -O2 -c pbar.cpp =F7=CF=D4 =DA=C4=C5=D3=D8 =C2=D9=CC=C1 =D0=D2=CF=D0=D5=DD=C5=CE=C1 =CF=DE= =C5=CE=D8 =D7=C1=D6=CE=C1=D1 =D3=D4=D2=CF=CB=C1 =DE=D4=CF =CE=C5=D4 =C8=C5= =C4=C5=D2=CF=D7 =CF=D4 net snmp. # apt-get install libnet-snmp-devel =C9 =D5 =CD=C5=CE=D1 =D0=CF=DE=D4=C9 =D3=CF=C2=D2=C1=CC=CF=D3=D8. > cmodem.cpp: In member function 'char* CModem::snmp_session_init(const cha= r*, > char*, char*)': > cmodem.cpp:63: error: aggregate 'snmp_session session' has incomplete typ= e and > cannot be defined =EF=D3=D4=C1=CC=CF=D3=D8 =CC=C9=CE=CB=CF=D7=CB=D5 =D0=CF=DE=C9=CE=C9=D4=D8. [icesik@prometheus cmdiag-0.2]$ make g++ -Wall -O2 -lncurses cmdiag.o bar.o pbar.o cmodem.o func.o -o cmdiag `net-snmp-config --libs` `net-snmp-config --external-libs` cmdiag.o: In function `main': cmdiag.cpp:(.text+0x66): undefined reference to `initscr' cmdiag.cpp:(.text+0x6b): undefined reference to `cbreak' =CE=C1=C4=CF =D0=D2=CF=D3=D4=CF -lncurses =D0=C5=D2=C5=CE=C5=D3=D4=C9 =D7 = =CB=CF=CE=C5=C3. --=20 Igor Zubkov http://hi.im/ice