Mono 2.4 for ARM

View: New views
7 Messages — Rating Filter:   Alert me  

Mono 2.4 for ARM

by Jon Shemitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to

> ./configure --disable-mcs-build
> make 
> make install DESTDIR=`pwd`/tmptree

in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by vargaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                 Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to

> ./configure --disable-mcs-build
> make 
> make install DESTDIR=`pwd`/tmptree

in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by Jon Shemitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Many thanks. --with-tls=pthread got me past my first hurdle.

 

Alas, now I get

 

mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."

 

and I can’t seem to get past that. I’ve tried

 

./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1

 

and

 

make ARM_FPU_NONE=1

 

and

 

ARM_FPU_NONE=1 make

 

and

 

export ARM_FPU_NONE=1

make

 

and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?

 


From: Zoltan Varga [mailto:vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

 

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                 Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to

> ./configure --disable-mcs-build
> make 
> make install DESTDIR=`pwd`/tmptree

in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by Koushik K. Dutta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Mono-dev] Mono 2.4 for ARM Use:

make -DARM_FPU_NONE


On 6/30/09 3:39 PM, "Jon Shemitz" <Jon.Shemitz@...> wrote:

Many thanks. --with-tls=pthread got me past my first hurdle.
 
Alas, now I get
 
mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."
 
and I can’t seem to get past that. I’ve tried
 
./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1
 
and
 
make ARM_FPU_NONE=1
 
and
 
ARM_FPU_NONE=1 make
 
and
 
export ARM_FPU_NONE=1
make
 
and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?
 


From: Zoltan Varga [vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to
> ./configure --disable-mcs-build
> make
> make install DESTDIR=`pwd`/tmptree
in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list
 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by Jon Shemitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Re: [Mono-dev] Mono 2.4 for ARM

I tried

 

make –D ARM_FPU_NONE

 

but not

 

make –DARM_FPU_NONE

 

however, on Ubuntu 8.04, both give me

 

make: invalid option -- D

 


From: Koushik K. Dutta [mailto:koush@...]
Sent: Tuesday, June 30, 2009 3:54 PM
To: Jon Shemitz; Zoltan Varga
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

 

Use:

make -DARM_FPU_NONE


On 6/30/09 3:39 PM, "Jon Shemitz" <Jon.Shemitz@...> wrote:

Many thanks. --with-tls=pthread got me past my first hurdle.
 
Alas, now I get
 
mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."
 
and I can’t seem to get past that. I’ve tried
 
./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1
 
and
 
make ARM_FPU_NONE=1
 
and
 
ARM_FPU_NONE=1 make
 
and
 
export ARM_FPU_NONE=1
make
 
and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?
 


From: Zoltan Varga [vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to
> ./configure --disable-mcs-build
> make
> make install DESTDIR=`pwd`/tmptree
in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list
 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by vargaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Use:
./configure <...>  CFLAGS=-DARM_FPU_NONE

On Wed, Jul 1, 2009 at 12:39 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

Many thanks. --with-tls=pthread got me past my first hurdle.

 

Alas, now I get

 

mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."

 

and I can’t seem to get past that. I’ve tried

 

./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1

 

and

 

make ARM_FPU_NONE=1

 

and

 

ARM_FPU_NONE=1 make

 

and

 

export ARM_FPU_NONE=1

make

 

and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?

 


From: Zoltan Varga [mailto:vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

 

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                 Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to

> ./configure --disable-mcs-build
> make 
> make install DESTDIR=`pwd`/tmptree

in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Mono 2.4 for ARM

by Jon Shemitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Excellent – thanks!

 

Now I get as far as

 

MCS     [net_2_0] convert.exe

make[2]: *** [convert.exe] Error 1

And I suspect that that is going to have to be between me and our Scratchbox maintainer: I have gmcs outside of Scratchbox but not inside it.

 

(I also suspect that I’ve been a bit spoiled by (once upon a time) Delphi and Visual Studio, and (now) by having a build engineer who maintains our Jamrules – this ./configure && make stuff is not anything I’m used to.)

 


From: Zoltan Varga [mailto:vargaz@...]
Sent: Tuesday, June 30, 2009 4:19 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

 

Hi,

Use:
./configure <...>  CFLAGS=-DARM_FPU_NONE

On Wed, Jul 1, 2009 at 12:39 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

Many thanks. --with-tls=pthread got me past my first hurdle.

 

Alas, now I get

 

mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."

 

and I can’t seem to get past that. I’ve tried

 

./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1

 

and

 

make ARM_FPU_NONE=1

 

and

 

ARM_FPU_NONE=1 make

 

and

 

export ARM_FPU_NONE=1

make

 

and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?

 


From: Zoltan Varga [mailto:vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

 

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                 Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to

> ./configure --disable-mcs-build
> make 
> make install DESTDIR=`pwd`/tmptree

in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 

 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list