Error compiling dostats SLES 10 x64

Error compiling dostats SLES 10 x64

Post by goatbadge » Wed, 21 Mar 2007 04:40:39


Hi,

I'm having trouble compiling utils2_ak on 64 bit SuSE Linux Enterprise
Server 10.
I know there's been similar posts before, but I thought this one had
been resolved in the latest version.
I get the following errors:
make dostats
INFORMIXC=gcc esql -DHAVE_GNU_GETOPT=1 -o dostats dostats.ec
getopt.c
getopt.c: In function xchange:
getopt.c:241: warning: cast to pointer from integer of different size
/tmp/ccoGiDW6.o: In function `exchange':
getopt.c:(.text+0x31): undefined reference to `__alloca'
collect2: ld returned 1 exit status
make: *** [dostats] Error 1

Similar errors are thrown up for the other programs in the package.

Thanks for any help.

Versions:
Linux dionysus 2.6.16.27-0.9-smp #1 SMP Tue Feb 13 09:35:18 UTC 2007
x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 4.1.0 (SUSE Linux)
glibc is 2.4
 
 
 

Error compiling dostats SLES 10 x64

Post by Clive Eise » Wed, 21 Mar 2007 19:13:05


http://www.yqcomputer.com/

--
Clive