[Mono-list] Building Mono for arm (Nokia 770 2006 beta soft) using scratchbox?

George Styles ripnetuk at gmail.com
Fri Jun 16 10:42:10 EDT 2006


Hi,

Im trying to build mono for the Nokia 770 2006 software edition (its
just come out in beta).

I know that Mono has been compiled for this device under the old OS.

Im using scratchbox as my cross compile environment.

Im using mono-1.1.15, but ive tried the stable release as well.

If it build it (in scratchbox) with the i386 as the target, it builds
OK, but when I switch to Arm target, I get a compile error:

make[3]: Entering directory `/gold/projects/maemo/mono/mono-1.1.15/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/gold/projects/maemo/mono/mono-1.1.15/mcs'
make PROFILE=basic all
make[5]: Entering directory `/gold/projects/maemo/mono/mono-1.1.15/mcs'
mono[7777]: GLIB WARNING ** default - _wapi_shm_semaphores_init:
semctl init error: Numerical result out of range - trying again
mono[7777]: GLIB WARNING ** default - _wapi_shm_semaphores_init:
semctl init error: Numerical result out of range - trying again

This loops around (i assume) for ever.

Im not sure if its my configure options - im building on a i386 PC.
Ive tired
./configure --target=arm-linux-linux

and

 --host=arm-linux-linux --build=arm-linux-linux --target=arm-linux-linux

but its the same.

Im unsure as to exactly what the 3 options are. configure --help gives me

  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

so Im guessing that --build is the machine on which im building mono,
but im not sure exactly what I should be putting for the others.

Is 7777 and error code, or a line number>?

any clues? I am a bit of an amateur when it comes to c and makefiles /
autoconf etc (im a c# / delphi programmer).

thanks

George


More information about the Mono-list mailing list