Running Fedora 17 on a 64-bit Intel box, with

erdos@dsm:examples$ uname -a
Linux erdos.dsm.fordham.edu 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 
2012 x86_64 x86_64 x86_64 GNU/Linux
erdos@dsm:examples$ rpm -q fltk fltk-devel
fltk-1.3.0-4.fc17.x86_64
fltk-devel-1.3.0-4.fc17.x86_64

Trying to build the hello program out of hello.cxx:

erdos@dsm:examples$ g++ -o hello hello.cxx -lfltk -lXext -lX11 -lm
erdos@dsm:examples$ hello
*** glibc detected *** hello: malloc(): memory corruption: 0x0000000001bcb320 
***
*** glibc detected *** hello: malloc(): memory corruption: 0x0000000001bcb320 
***
^C

What's strange is that on a different Fedora 17 machine:

sobolev@dsm:examples$ uname -a
Linux sobolev.dsm.fordham.edu 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
sobolev@dsm:examples$ rpm -q fltk fltk-devel
fltk-1.3.0-4.fc17.x86_64
fltk-devel-1.3.0-4.fc17.x86_64
sobolev@dsm:examples$ g++ -o hello hello.cxx -lfltk -lXext -lX11 -lm
sobolev@dsm:examples$ hello
   ... runs successfully ...
sobolev@dsm:examples$

Both machines are using the same version of g++
erdos@dsm:examples$ g++ --version
g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
 ....
sobolev@dsm:examples$ g++ --version
g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)

Thoughts?

Thanks.

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to