> At least you have to add #include <stdlib.h>. Same results.
> Which is your architecture, kernel, and gcc version? hppa (32-bit) Linux mimic 2.4.19-32 #1 Mon Sep 16 12:27:27 MDT 2002 parisc unknown unknown GNU/Linux Reading specs from /usr/lib/gcc-lib/hppa-linux/3.2.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc hppa-linux Thread model: posix gcc version 3.2.2 20030109 (Debian prerelease) > And run 'ldd ./test'. I guess it's your environment problem, please > check which library is used. libc.so.6 => /lib/libc.so.6 (0x40029000) /lib/ld.so.1 => /lib/ld.so.1 (0x40000000) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]