Author Topic: Onboard development problems  (Read 4336 times)

Ashitaka

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://leiber.free.fr
Onboard development problems
« on: July 30, 2004, 06:21:54 am »
As it seemed to solve many problems, I installed dev_img-1.5 on my Zaurus.
But as you can see on the 7th line of the autogen.sh log, probably due to the fact that all this is mounted, m4 called by aclocal throws an error about "no space left on device".
Does anyone know how to get round this problem ? Thanks !

Quote
$ ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while ...
acinclude.m4:5: warning: underquoted definition of COPY_ARCH_SRC
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automak...nding%20aclocal
acinclude.m4:34: warning: underquoted definition of AM_PATH_ESD
configure.in:49: /mnt/dev/bin/m4: ERROR: Copying inserted file: No space left on device
autom4te: /mnt/dev/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
src/Makefile.am:19: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:19:
src/Makefile.am:19: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:19: to `configure.in' and run `aclocal' and `autoconf' again.
/home/zaurus/automake/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/home/zaurus/automake/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
...
...
...

By the way, the 49th line of the configure.in file is :
Quote
AM_PROG_LIBTOOL
Zaurus SL-C760, SL-C860 and SL-6000
Sharp ROM 1.20 JP and pdaXrom RC8
512 MB SD Card, other memory, wireless and ethernet CF cards
www.nautilus6.org/operation/zaurus.html

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Onboard development problems
« Reply #1 on: August 04, 2004, 06:00:21 pm »
How did you install the dev-img? Did you relogin after setup script has finished? What are you building? I wonder why you're not using ./configure script?
« Last Edit: August 04, 2004, 06:01:24 pm by maslovsky »

Ashitaka

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://leiber.free.fr
Onboard development problems
« Reply #2 on: August 04, 2004, 11:52:20 pm »
OK, here is more information. I thought it was maybe a common problem, but it seems not  

- Copied the file on my SD card and did ./image_setup dev_img-1.5 /mnt/dev
- relogged as zarus
- changed the PATH to make it correct (the install script added something like /home/zaurus/dev/-, but everything was installed in /home/zaurus/develop/-) : export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/home/zaurus/develop/bin:/home/zaurus/develop/usr/local/bin.

I tried to compile libSDL from zports (1.2.6-5). I know I could just copy by hand the headers and the objects I have cross-compiled, but that is not the point here.

Quote
$ ./configure
checking build system type... armv5tel-unknown-linux-gnu
checking host system type... armv5tel-unknown-linux-gnu
checking target system type... armv5tel-unknown-linux-gnu
./configure: line 1516: syntax error near unexpected token `AM_INIT_AUTOMAKE(SDL,'
./configure: line 1516: `AM_INIT_AUTOMAKE(SDL, $SDL_VERSION)'

I told myself : just need to rerun autogen.sh for the build informations to adapt to this compiling environment, and I had the problem explained above...
Zaurus SL-C760, SL-C860 and SL-6000
Sharp ROM 1.20 JP and pdaXrom RC8
512 MB SD Card, other memory, wireless and ethernet CF cards
www.nautilus6.org/operation/zaurus.html

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Onboard development problems
« Reply #3 on: August 05, 2004, 03:27:46 am »
Did you try to compile any other package that uses configure script?

Also, I've just noticed that you're running default Sharp ROM. There might be problems, since I've never tested on that version.

Ashitaka

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://leiber.free.fr
Onboard development problems
« Reply #4 on: August 05, 2004, 03:53:40 am »
Unfortunately I HAVE to use that ROM, since we are doing it to use some IPv6 mobility features that were developed by USAGI just for it

Other configures seem to work better, but now I am looking at other problems, I'll post as soon as I have more info...
Zaurus SL-C760, SL-C860 and SL-6000
Sharp ROM 1.20 JP and pdaXrom RC8
512 MB SD Card, other memory, wireless and ethernet CF cards
www.nautilus6.org/operation/zaurus.html

Ashitaka

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://leiber.free.fr
Onboard development problems
« Reply #5 on: August 05, 2004, 04:43:32 am »
OK one of the first problems is that I can not write in the mounted development image. This must be the cause of my first problem with aclocal, and means you can not do most of "make install".
Since I suppose aclocal was not included just to be pretty, it must be usually possible to write in /home/zaurus/develop/, even though I am dubious about writing in a mounted file... Maybe is it because the development image is mounted on a FAT SD card ?

Thank you maslovsky for helping me
« Last Edit: August 05, 2004, 04:44:09 am by Ashitaka »
Zaurus SL-C760, SL-C860 and SL-6000
Sharp ROM 1.20 JP and pdaXrom RC8
512 MB SD Card, other memory, wireless and ethernet CF cards
www.nautilus6.org/operation/zaurus.html