Unix Technical Forum

Error compiling dostats SLES 10 x64

This is a discussion on Error compiling dostats SLES 10 x64 within the Informix forums, part of the Database Server Software category; --> Hi, I'm having trouble compiling utils2_ak on 64 bit SuSE Linux Enterprise Server 10. I know there's been similar ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 04:21 PM
goatbadger@googlemail.com
 
Posts: n/a
Default Error compiling dostats SLES 10 x64

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 ‘exchange’:
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 04:21 PM
Clive Eisen
 
Posts: n/a
Default Re: Error compiling dostats SLES 10 x64

goatbadger@googlemail.com wrote:
> 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 ‘exchange’:
> 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


http://www.iiug.org/forums/ids/index.cgi/read/7797

--
Clive
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com