Moin Reini,
> Von: Reini Urban [mailto:rur...@x-ray.at] > Gesendet: Mittwoch, 19. Mai 2010 20:14 > An: cygwin@cygwin.com > Betreff: [bulk] - Re: Missing stack_chk type functions > > 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 That was not the solution (gcc4 was already installed ) and running set-gcc-default-4.sh makes no difference g++ -v Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC) Have a nice day Norbert > -- > 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 -------------------------------------------------------------------------- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI GmbH Ebertstrasse 96 26382 Wilhelmshaven Germany Tel.: +49 4421 4808 876 Fax: +49 4421 4808 843 Email: n.zachar...@dewi.de Home: http://http://www.dewi.de DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 Managing Director: Jens Peter Molly Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny P Please consider the environment before printing this email. -- 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