Author Topic: Native Gcc Compiler For X/qt  (Read 56155 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #15 on: April 16, 2006, 12:03:29 pm »
Exactly, DaemonsGR, I mention in my previous that I should remove loop6 and 7....so that I keep just loop5....

As to why I need it (or at least one..) I installed OpenOffice after I installed X/Qt/Debian...

So how do you delete a loop device??

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #16 on: April 18, 2006, 11:09:44 am »
OK, finally got rid of my extra loop devices.....

Now when I tried installing zgcc again, I get the following:

Code: [Select]
#./install.sh
Installing zgcc 2.95.2 to /hdd3
mount: Mounting /hdd3/zgcc-95-2.squashfs on /mnt/zgcc failed: no such device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env


Any suggestions???

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #17 on: April 19, 2006, 12:26:05 am »
Quote
OK, finally got rid of my extra loop devices.....

Now when I tried installing zgcc again, I get the following:

Code: [Select]
#./install.sh
Installing zgcc 2.95.2 to /hdd3
mount: Mounting /hdd3/zgcc-95-2.squashfs on /mnt/zgcc failed: no such device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env


Any suggestions???

Thanks,

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123646\"][{POST_SNAPBACK}][/a][/div]

now
Code: [Select]
mount: Mounting /hdd3/zgcc-95-2.squashfs on /mnt/zgcc failed: no such deviceshould be /hdd3/zgcc2-95-2.squashfs
there is a 2 missing?
try editing /etc/fstab and removing all the references to zgcc and try again, or alternatively mount it manually

Code: [Select]
mount -o loop -t squashfs /hdd3/zgcc2-95-2.squashfs /mnt/zgccand then run
Code: [Select]
/mnt/zgcc/zgcc-config
source /mnt/zgcc/zgcc-env
« Last Edit: April 19, 2006, 03:17:32 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Native Gcc Compiler For X/qt
« Reply #18 on: April 19, 2006, 03:03:00 am »
tried it and failed.  some odd reason cannot find file.  I did recheck my commands and i did find a few errors while before initiating.  Just can't put my finger.  tride hdd3, documents, etc and still says cannot find file.  Ill try again.  I may be too tired.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #19 on: April 19, 2006, 01:17:51 pm »
Thanks for your help, Meanie!

Tried what you suggested and deleted all references in 'etc/fstab' and then tried again but here's what I got:

Code: [Select]
#./install.sh
Installing zgcc 2.95.2 to /hdd3
Can't find /mnt/zgcc in /etc/fstab
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env

So tried to mount manually as you suggested and got:

Code: [Select]
#mount -o loop -t squashfs /hdd3/zgcc2-95-2.squashfs /mnt/zgcc
mount: Mounting /hdd3/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device

Now what should I do???

Thanks,

Mark

Quote
Quote
OK, finally got rid of my extra loop devices.....

Now when I tried installing zgcc again, I get the following:

Code: [Select]
#./install.sh
Installing zgcc 2.95.2 to /hdd3
mount: Mounting /hdd3/zgcc-95-2.squashfs on /mnt/zgcc failed: no such device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env


Any suggestions???

Thanks,

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123646\"][{POST_SNAPBACK}][/a][/div]

now
Code: [Select]
mount: Mounting /hdd3/zgcc-95-2.squashfs on /mnt/zgcc failed: no such deviceshould be /hdd3/zgcc2-95-2.squashfs
there is a 2 missing?
try editing /etc/fstab and removing all the references to zgcc and try again, or alternatively mount it manually

Code: [Select]
mount -o loop -t squashfs /hdd3/zgcc2-95-2.squashfs /mnt/zgccand then run
Code: [Select]
/mnt/zgcc/zgcc-config
source /mnt/zgcc/zgcc-env
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123717\"][{POST_SNAPBACK}][/a][/div]
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #20 on: April 20, 2006, 12:58:41 am »
I  just found some problems with the compiler when compiling gnome dependant apps so I am rebuilding it and all seems fine now. I will upload a new image soon.

ArchiMark: did you install the squashfs module?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #21 on: April 20, 2006, 09:37:11 am »
Meanie,

Just checked and I see that have installed squashfs2 v.1.0.....

Is that the right one???

Look forward to your new image soon....

Thanks,

Mark


Quote
I  just found some problems with the compiler when compiling gnome dependant apps so I am rebuilding it and all seems fine now. I will upload a new image soon.

ArchiMark: did you install the squashfs module?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123859\"][{POST_SNAPBACK}][/a][/div]
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #22 on: April 22, 2006, 07:35:57 pm »
The newly fixed compiler image has been uploaded
I know it works because I build pdaXqtrom with it  

download from the following locations:
http://zaurus.daemons.gr/menaie/mirror/stuff/
http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #23 on: April 22, 2006, 08:09:42 pm »
Hi Meanie,

Thanks for the new image...but unfortunately, still getting the same error messages when I install either with your install script or manually per your instructions above.....

 


Code: [Select]
$ su
#cd /hdd3
# ./install.sh
Installing zgcc 2.95.2 to/hdd3
mount: Mounting /hdd3/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env
#mount -o loop -t squashfs /hdd3/zgcc2-95-2.squashfs /mnt/zgcc
Mount: Mounting /hdd3/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device

Any idea why I keep having the same problem???

What else I should try???

Seems very strange..... I copied both the install script and the zgcc file over to /hdd3 before trying to install again....

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #24 on: April 22, 2006, 09:06:03 pm »
Quote
Hi Meanie,

Thanks for the new image...but unfortunately, still getting the same error messages when I install either with your install script or manually per your instructions above.....

 


Code: [Select]
$ su
#cd /hdd3
# ./install.sh
Installing zgcc 2.95.2 to/hdd3
mount: Mounting /hdd3/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device
./install.sh: /mnt/zgcc/zgcc-config: not found
.: Can't open /mnt/zgcc/zgcc-env
#mount -o loop -t squashfs /hdd3/zgcc2-95-2.squashfs /mnt/zgcc
Mount: Mounting /hdd3/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device

Any idea why I keep having the same problem???

What else I should try???

Seems very strange..... I copied both the install script and the zgcc file over to /hdd3 before trying to install again....

Thanks,

Mark
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

maybe a problem with your squashfs module? can you mount any other squashfs images?
or try the cramfs image that will be uploaded to the pdaxqtrom section later.
[a href=\"http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/]http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/[/url]
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #25 on: April 22, 2006, 10:16:16 pm »
Quote
maybe a problem with your squashfs module? can you mount any other squashfs images?
or try the cramfs image that will be uploaded to the pdaxqtrom section later.
http://www.thegrinder.ws/Meanies_XQT/pdaxqtrom/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124233\"][{POST_SNAPBACK}][/a][/div]


You were right, Meanie!

I uninstalled the version of squashfs I was using and installed a newer version and Voila! It installed OK this time!!

Thanks!!

Now onto your new pdaxqtrom.....

 

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #26 on: May 02, 2006, 09:51:01 am »
Finally have some time to try out compiling with zgcc.....but having problem compiling with gcc or g++  compiling sample 'hello' file...

I can cd to /mnt/zgcc and see the various directories in it, including /bin, sample, etc....

When I try to compile the 'hello' file using:

Code: [Select]
#g++  -o hello hello.cpp
g++ : Not found

or

Code: [Select]
#gcc  -o hello hello.cpp
gcc : Not found

I've tried both cd'ing to the /sample/hello directory and trying this and cd'ing to the /mnt/zgcc/bin directory, both ways I get the same result as above.

FWIW, I was able to compile in the past (about a year ago...) using the 'dev-img' file...so not sure what I'm doing wrong here...

What should I be doing to compile???

Thanks for any suggestions!

Mark
« Last Edit: May 02, 2006, 09:51:57 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #27 on: May 02, 2006, 10:48:44 am »
Quote
Finally have some time to try out compiling with zgcc.....but having problem compiling with gcc or g++  compiling sample 'hello' file...

I can cd to /mnt/zgcc and see the various directories in it, including /bin, sample, etc....

When I try to compile the 'hello' file using:

Code: [Select]
#g++  -o hello hello.cpp
g++ : Not found

or

Code: [Select]
#gcc  -o hello hello.cpp
gcc : Not found

I've tried both cd'ing to the /sample/hello directory and trying this and cd'ing to the /mnt/zgcc/bin directory, both ways I get the same result as above.

FWIW, I was able to compile in the past (about a year ago...) using the 'dev-img' file...so not sure what I'm doing wrong here...

What should I be doing to compile???

Thanks for any suggestions!

Mark
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125408\"][{POST_SNAPBACK}][/a][/div]


you need to set the path.
either manually run
Code: [Select]
source /mnt/zgcc/zgcc-envor add it to the end of your .profile file to have it loaded automatically whenever you start a shell
« Last Edit: May 02, 2006, 10:49:29 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Native Gcc Compiler For X/qt
« Reply #28 on: May 02, 2006, 10:52:01 pm »
Thanks for the input, Meanie!

OK, tried doing what you suggest and here's what happens when I tried compiling 'Hello':

Code: [Select]
# gcc -o hello hello.cpp
as: error while loading shared libraries: libopcodes-2.9.5.0.31.so: cannot load share object file:
No such file or directory
#

Any suggestions how to deal with this error message??

Thanks,

Mark



Quote
you need to set the path.
either manually run
Code: [Select]
source /mnt/zgcc/zgcc-envor add it to the end of your .profile file to have it loaded automatically whenever you start a shell
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125419\"][{POST_SNAPBACK}][/a][/div]
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Native Gcc Compiler For X/qt
« Reply #29 on: May 02, 2006, 11:49:54 pm »
Quote
Thanks for the input, Meanie!

OK, tried doing what you suggest and here's what happens when I tried compiling 'Hello':

Code: [Select]
# gcc -o hello hello.cpp
as: error while loading shared libraries: libopcodes-2.9.5.0.31.so: cannot load share object file:
No such file or directory
#

Any suggestions how to deal with this error message??

Thanks,

Mark



Quote
you need to set the path.
either manually run
Code: [Select]
source /mnt/zgcc/zgcc-envor add it to the end of your .profile file to have it loaded automatically whenever you start a shell
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125419\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125509\"][{POST_SNAPBACK}][/a][/div]

run ldconfig and then try again
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K