1. 64 bit compiler issues (was Langwar crash)

Chris Burch wrote:
> 
> Matt Lewis wrote:
> > 
> > Chris Burch wrote:
> > > 
> > > Hi
> > > 
> > > Eu 3.0.1 (and 3.0.0)
> > > SuSE Linux 10.0 64 bit
> > 
> > <snip>
> > 
> > > Also, I (still) can't translate programs to c - throws lots of undifined
> > > calls
> > > to functions and so on. I suspect this is a feature of 64 bit Linux gcc.
> > > Its
> > > not a big problem, as binding works very nicely.
> > 
> > I've had problems on a linux system (fc5, Ubuntu 5.10) using gcc v4.  It 
> > seems that CLC_TCKS (or whatever that is--I don't have any eu stuff in 
> > front of me right now). It's supposed to be defined in time.h, but if you 
> > take a look, there are comments stating that it's obsolete.  In euphoria.h,
> > 
> > setting a:
> > 
> > #define CLK_TCKS CLOCKS_PER_SEC 
> > 
> > (or whatever the other parameter in that function call comes out to be)
> > seems to make it happy.
> > 
> > Matt Lewis
> 
> Hi
> 
> No, seems to be in the linker, here's the relevant output
> linking
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_machine.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_inline.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_w.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_alloc.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_runtime.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_task.o)'
> is incompatible with i386:x86-64 output
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home/cshme/euphoria/bin/ecu.a(be_callc.o)'
> is incompatible with i386:x86-64 output
> Fdialogs.o: In function `_10wait_key_nn':
> Fdialogs.c:(.text+0x1170): undefined reference to `show_console'
> Fdialogs.o: In function `_10get_key_w':
> Fdialogs.c:(.text+0x14e3): undefined reference to `show_console'
> utilities.o: In function `_17flush_key_buffers':
> utilities.c:(.text+0x77): undefined reference to `show_console'
> datafuncs.o: In function `_19data_insert_client':
> datafuncs.c:(.text+0x2197): undefined reference to `show_console'
> datafuncs.o: In function `_19data_insert_note':
> datafuncs.c:(.text+0x42d3): undefined reference to `show_console'
> invoic_4g_run.o:invoic_4g_run.c:(.text+0x2d05): more undefined references to
> `show_console' follow
> collect2: ld returned 1 exit status
> you can now execute: ./jetvet
> Press any key to continue...
> 
> 
> It would seem that I need a compatible version of ecu.a. Hmmmm, could I make
> one myself?

Nope, doesn't seem I can. Compileing the eu source files, still gives me the
same errors (ie incompatible ecu.a)

What is ecu.a?

Chris
> 
> Chris
> 
> <a href="http://euallegro.wikispaces.com">http://euallegro.wikispaces.com</a>
> <a
> href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> <a
> href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>


http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » topic index » view message » categorize

2. Re: 64 bit compiler issues (was Langwar crash)

Chris Burch wrote

snipped.
> 
> What is ecu.a?
> 
Sorry, that was rambling, I know its the euphoria library, just musing out loud
as to how to actually compile it on this machine.

Chris

http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu