X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,TW_LG X-Spam-Check-By: sourceware.org Message-ID: <4BF42A5A.8060805@x-ray.at> Date: Wed, 19 May 2010 20:13:46 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Missing stack_chk type functions References: <8CCC8F85C5F2784387A32FAD835FB4E602DD771946 AT server03> In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E602DD771946@server03> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com DEWI - N. Zacharias schrieb: > > Hi all, > I tried to install the Win32::GuiTest from cpan. > It did not work because > > g++ -shared GuiTest.o DibSect.o -o blib/arch/auto/Win32/GuiTest/GuiTest.dll \ > /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll -L/usr/lib/w32api -lgdi32 \ > > GuiTest.o:GuiTest.cpp:(.text+0x91f0): undefined reference to `___stack_chk_guard' > GuiTest.o:GuiTest.cpp:(.text+0x96c1): undefined reference to `___stack_chk_fail' > [...] > > I found Re: glibc-2.4 __stack_chk_guard/__pointer_chk_guard from 2006 which is pretty old and refers to using distcc > So I don't know whats the problem today. You need to install gcc4 and set it as default with set-gcc-default-4.sh -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple