Missing stack_chk type functions
Reini Urban
rurban@x-ray.at
Wed May 19 18:45:00 GMT 2010
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
More information about the Cygwin
mailing list