OESF Portables Forum
General Forums => General Discussion => Topic started by: Lumune on August 10, 2004, 11:25:04 am
-
I was trying to setup zgcc on my C860, and one of the steps is to run the follow code:
mount -t cramfs /mnt/card/zgcc2Bin.cramfs /mnt/card/.zgcc -o loop
mount -t cramfs /mnt/card/zgcc2Inc.cramfs /mnt/card/.include -o loop
but I did something wrong, and I want to run these code again,
then bash said I don't have spare loop device
so, I assume I have to free the loop devices first
but I don't know how to do that, can somebody plz help me?
BIG THX~~
Original install instructions can be found in here (http://s91215199.onlinehome.us/zaurus/zgcc2install.html)
Eric
-
Note that the Zaurus has only two loop devices (/dev/loop0 and /dev/loop1) set up in its default configuration. You can set up more -- use the command
mknod /dev/loop2 b 7 2
I just got my onboard development set up and running last Friday so this was still fresh in my mind.
-
Note that the Zaurus has only two loop devices (/dev/loop0 and /dev/loop1) set up in its default configuration. You can set up more -- use the command
mknod /dev/loop2 b 7 2
I just got my onboard development set up and running last Friday so this was still fresh in my mind.
I know I can add extra loop device, but the problem is even I add new loop device(loop2 & loop3)
the "old" mount is still using 2 loop device(loop0 & loop1), and I wanna free those 2 loop device
but thx for the advice
-
umount /mnt/card/.zgcc
umount /mnt/card/.include
You might want to read up on some linux commnds if you plan to develop with linux, otherwise you're gonig to have a hard time of it
Stu
-
Please follow cmisip's instruction at http://cmisip.home.insightbb.com/zaurus.htm (http://cmisip.home.insightbb.com/zaurus.htm) for the installation.
Before activting tmake, you need to install Perl 5.8 on the Zaurus.
I hope the above will help.
-
umount /mnt/card/.zgcc
umount /mnt/card/.include
You might want to read up on some linux commnds if you plan to develop with linux, otherwise you're gonig to have a hard time of it
Stu
I have tried this before, but it gave me an error, something like "/mnt/card/.zgcc: Invalid xxx" (can't remember what xxx was)
anyway, i restored a backup and start all over again
but thx for ur help~~!
-
Correction: Perl 5.8.0 is already available if dev-img-1.5 is properly installed.
As tmake requires perl to be under /usr/bin, the following step help check dev-img-1.5 installaion and acitvate symbolic linkage for perl :
- To check the installation by typing "which make", it should show "/mnt/card/.zgcc/bin/make" for my case
- To activate symbolic linkage for perl:
ln -s /mnt/card/perl/perl5.8.0/bin/perl /usr/bin/perl
The following has been tested with the t1 tutorial from qt.
- Type "tmake t1.pro > Makefile"
- Type "make" to compile and link the program and the resultant file is t1
- Type "./t1" to activate your qt application.