Author Topic: A Pdaxrom Development Issue  (Read 2827 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
A Pdaxrom Development Issue
« on: July 03, 2007, 05:48:51 pm »
I'm trying to do some programming in FLTK, but am running into issues. The ZGCC image has FLTK in it (1.1.4), but I built and installed my own(1.1.7). Is there a way to mount the squash file rw so I can remove FLTK from it? I'm getting wierd errors when I try to build apps that stop them from building. I'm assuming it's due to this because the same code compiles fine on my Debian box (FLTK 1.1.7).

Thanks.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
A Pdaxrom Development Issue
« Reply #1 on: July 03, 2007, 06:19:01 pm »
you could maybe mount it, copy it some place, edit it and re squash it. ?
warning, though; pdaX (at least ii13) uses an older squashfs (v2) that won't read from the current version (3)
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
A Pdaxrom Development Issue
« Reply #2 on: July 03, 2007, 06:32:47 pm »
Quote
you could maybe mount it, copy it some place, edit it and re squash it. ?
warning, though; pdaX (at least ii13) uses an older squashfs (v2) that won't read from the current version (3)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164245\"][{POST_SNAPBACK}][/a][/div]
I thought squash was supposed to be RW and cram wassupposed to be RO? So why can't I just edit the file when it's mounted?

As for your suggestion, is it hard to make a squash file? I think I saw a how-to somewhere... Also, do I make a folder called 3.4.6-xscale-softvfp and put the stuff there then make the squashfs, or do I make it out of the contents of that folder?

Thanks for your help.

EDIT: Oh, and if it gets me more help, I may or may not be doing this FLTK programming to make a GUI for Wlanconfig2
« Last Edit: July 03, 2007, 06:34:09 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
A Pdaxrom Development Issue
« Reply #3 on: July 03, 2007, 09:11:12 pm »
yay fltk!

You know-- I'm not sure if you make the squashfs out of the folder or contents... try both? Or look at the script that mounts the image, maybe?

makesquashfs -h  should get you through

btw I'm not sure how you'd make the squashfs out of just the contents leaving the top-level dir out of it.  probably the same as doing it in tar (which I don't know either)
Someone care to explain?  It can't be that tough....

remember-- unless we upgrade the squashfs module on pdax (beta1-3, anyway) you need to use a v.2 compatible squash ( I keep saying this because I run into it on my server making squashes for my Z)

ANyway, making a squash isn't too time consuming, a little trial and error won't lose a big chunk of your day, or anything.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

pungipungi

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://members.cheese.at/woody/zaurus
A Pdaxrom Development Issue
« Reply #4 on: July 04, 2007, 04:05:45 am »
Quote
I'm trying to do some programming in FLTK, but am running into issues. The ZGCC image has FLTK in it (1.1.4), but I built and installed my own(1.1.7). Is there a way to mount the squash file rw so I can remove FLTK from it? I'm getting wierd errors when I try to build apps that stop them from building. I'm assuming it's due to this because the same code compiles fine on my Debian box (FLTK 1.1.7).

Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164242\"][{POST_SNAPBACK}][/a][/div]
As I understand you get errors during compiling or linking?

Have you tried to install includes and library direct on the zaurus and set compiler switches to include and link first against this.

Then you know if that's the issue and can add the apropriate includes and libraries later on to the zgcc system.

By the was: I did also a lot of things in fltk but switched to efltk (see home link below) ...
« Last Edit: July 04, 2007, 04:06:42 am by pungipungi »
SL5500G OZ3.5.3 (GPE) , SD 1G,   D-Link air 660 wlan
C1000 pdaXrom, SD 256, D-Link air 660 wlan
Suse 9.3
My Zaurus Page

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
A Pdaxrom Development Issue
« Reply #5 on: July 04, 2007, 06:10:02 pm »
It seems that my FLTK build somehow got broken, as even after removing the stuff from the zgcc image, it didn't work. I made a new build, and all is well.

As a side note, I discovered that a good way to get the dev env to mount automatically is to make a ~50MB partition on the microdrive and set it to mount to /opt/...
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo