Forums

Linux AMD64/x86_64 Problems?

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Linux AMD64/x86_64 Problems?

Postby ericholmberg » Thu Apr 24, 2008 8:34 pm

Has anybody been able to get Cobra working on amd64 systems?

I'm running Ubuntu 7.10 with the 2.6.22 kernel and Mono 1.2.4 -- I will upgrade to the latest over the weekend and see what happens.

Code: Select all
error: COBRA INTERNAL ERROR / NullReferenceException / A null value was found where an object instance was required.
Compilation failed - 1 error, 0 warnings


Version of Mono

Code: Select all
/tmp/Cobra-0.8.0/HowTo$ mono --version
Mono JIT compiler version 1.2.4 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Architecture:  amd64
        Disabled:      none
 
ericholmberg
 
Posts: 3

Re: Linux AMD64/x86_64 Problems?

Postby Charles » Thu Apr 24, 2008 10:25 pm

What about version of Cobra? 0.8? The source repository?

Also, what Cobra command line and program? Maybe you're doing "mono cobra.exe hello.cobra" in the Cobra install directory, but I won't know until you tell me.

Thanks,
Chuck
Charles
 
Posts: 2510
Location: Los Angeles, CA

Re: Linux AMD64/x86_64 Problems?

Postby themaniac » Fri Apr 25, 2008 2:24 am

I got that too until I upgraded to a more recent version of mono (and it's not an amd64 thing). Upgrading to 1.2.6 fixed it for me
themaniac
 
Posts: 28

Re: Linux AMD64/x86_64 Problems?

Postby ericholmberg » Fri Apr 25, 2008 5:06 am

Hi Chuck,

Sorry, I was a bit tired when I posted the message and editing out the command line. I was just trying to compile the hello-world program included in Cobra 0.8:

Code: Select all
/tmp/Cobra-0.8.0/HowTo$ cobra -c 100-PrintHelloWorld.cobra
error: COBRA INTERNAL ERROR / NullReferenceException / A null value was found where an object instance was required.
Compilation failed - 1 error, 0 warnings


I got that too until I upgraded to a more recent version of mono (and it's not an amd64 thing). Upgrading to 1.2.6 fixed it for me.

Thanks maniac -- I'll upgrade that and give it a try.
ericholmberg
 
Posts: 3

Re: Linux AMD64/x86_64 Problems?

Postby ericholmberg » Sat Apr 26, 2008 10:08 am

Everything works fine with Mono 1.2.6.

Code: Select all
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
   TLS:           __thread
   GC:            Included Boehm (with typed GC)
   SIGSEGV:       altstack
   Notifications: epoll
   Architecture:  amd64
   Disabled:      none


Thanks guys!

-Eric
ericholmberg
 
Posts: 3


Return to Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron