Author Topic: Compile Problem - Dev_img-1.5  (Read 27530 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« on: January 18, 2005, 05:06:06 pm »
Hope someone can advise...have a feeling that there's something simple I'm overlooking....

Installed Dev_Img-1.5 on my C3000 yesterday. I have used Dev_Img-1.5 successfully a year ago on the C860 I had then....so a bit rusty now...  

Just tried compiling a simple "HelloWorld" file as a test...

Here's the error messages I got...

Code: [Select]
gcc: hello1: No such file or directory

gcc: installation problem, cannot exec `/usr/lib/gcc-lib/armv4l-redhat-linux/2.95.1/cpp': Exec format error

gcc: installation problem, cannot exec `/usr/lib/gcc-lib/armv4l-redhat-linux/2.95.1/cc1plus': Exec format error

gcc: installation problem, cannot exec `as': No such file or directory


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/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #1 on: January 18, 2005, 07:59:48 pm »
Some additional info, maybe this will help someone advise me.....

Here's my etc/fstab file:

Code: [Select]
/dev/mtdblock2             /             jffs2     ro, noatime                   1   1
/dev/mtdblock3             /home     jffs2    defaults, noatime            1   2
none                            /dev/shm tmpfs size=1m,noauto               0   0
/dev/mmcda1              /mnt/card  auto   noauto, owner                 0   0
none                           /dev/pts    devpts gid=5, mode=620           0   0
/mnt/card/Documents  /mnt/dev                   cramfs loop, noauto   0   0
/mnt/card/Documents/dev_img-1.5 /mnt/dev cramfs loop, noauto   0   0
/mnt/card/dev_img-1.5 /mnt/dev                 cramfs loop, noauto    0   0
/mnt/card/dev_img-1.5 /home/zaurus/develop cramfs loop, noauto 0   0

Does this look right??

Any other ideas?

If I want to try installing dev_img-1.5 again, what should I do before trying reinstall?

Thanks,

Mark
« Last Edit: January 18, 2005, 08:01:40 pm 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/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #2 on: January 18, 2005, 08:00:44 pm »
Oooops....

Duplicated post (deleted)....

 

Mark
« Last Edit: January 18, 2005, 09:17:07 pm 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/

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Compile Problem - Dev_img-1.5
« Reply #3 on: January 19, 2005, 01:47:05 am »
Follow cmisip's installation instruction at home.comcast.net/~cmisip/zaurus.htm.

It is the best to date.
« Last Edit: January 21, 2005, 10:38:08 am by freizugheit »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #4 on: January 19, 2005, 10:25:40 am »
Thanks for your help, freizugheit!

However.....

"PAGE UNAVAILABLE

This URL you typed is unavailable at this time."


 


Oh well.....

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
Compile Problem - Dev_img-1.5
« Reply #5 on: January 25, 2005, 03:01:34 pm »
Got reply to PM from cmisip regarding his webpage....

Turns out his instructions were for zgcc anyway, not Dev_Img....  

So could anyone else out there please advise???

Thank!

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
Compile Problem - Dev_img-1.5
« Reply #6 on: January 26, 2005, 11:55:58 am »
Just curious....anyone out there in ZLand got Dev_Img-1.5 working on their C3000?

Meanwhile, anybody out there have any other advice??

Would REALLY like to get Dev_Img-1.5 working on my C3000. It was great having int on my ol' C860....

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
Compile Problem - Dev_img-1.5
« Reply #7 on: January 26, 2005, 07:44:24 pm »
Afternoon Update:

Reinstalled Dev_Img-1.5. Seems like things are working better now...but not quite there yet....

After install, typed
Code: [Select]
./gcc and got
Code: [Select]
gcc: No input files. So as I recall that means install should be OK.

Tried compiling simple 'Hello World' file.

Got the following error messages:

Code: [Select]
gcc: installation problem, cannot exec `as': No such file or directory
/home/zaurus/Documents/Text_Files/hello.cpp: In function `int main(int, char**)':
/home/zaurus/Documents/Text_Files/hello.cpp:8: `QPushbutton' undeclared (first use this function)
/home/zaurus/Documents/Text_Files/hello.cpp:8: (Each declared identifier is reported only once
/home/zaurus/Documents/Text_Files/hello.cpp:8: for each function it appears in.)
/home/zaurus/Documents/Text_Files/hello.cpp:8: parse error before `( '
/home/zaurus/Documents/Text_Files/hello.cpp:9: `hello' undeclared (first use this function)
/home/zaurus/Documents/Text_Files/hello.cpp:14: parse error at end of input
/home/zaurus/Documents/Text_Files/hello.cpp:14: output pipe has been closed

Don't understand the first error message line, what is that about???
( I do see something in the /bin directory names `as'....).

The rest of the error messages relate to the code itself that I wrote, I should be able to fix those issues....

Appreciate any and all input!!

Thanks,

Mark
« Last Edit: January 26, 2005, 07:59:22 pm 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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compile Problem - Dev_img-1.5
« Reply #8 on: January 27, 2005, 04:04:56 am »
Maybe it's a permissions problem? Whan are permissions of as executable in /mnt/dev/bin? Is is executable by user zaurus?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #9 on: January 27, 2005, 10:31:19 am »
Well, maybe I have bigger problems, Maslovsky.....

I typed
Code: [Select]
cd /mnt/dev/bin
and got back
Code: [Select]
No such file or directory
So then I did
Code: [Select]
$ su
#cd /mnt/dev/bin
cd: can't cd to /mnt/dev/bin
#cd /mnt/dev
#ls -l
#lrwxrwxrwx  1  root   root   develop -> /home/zaurus/develop

So wonder if this is installation related problem??

Maybe related to how C3000 is setup versus the C760/C860 are setup relative to the compiler_setup script???

Just some thoughts, but what do I know??  

Really appreciate any help!

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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compile Problem - Dev_img-1.5
« Reply #10 on: January 27, 2005, 02:57:07 pm »
Where there any error messages during setup?  Can you create /mnt/dev directory? Maybe you'll need to remount your partitions to rw before running dev-img setup

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #11 on: January 27, 2005, 04:25:35 pm »
Quote
Where there any error messages during setup? 

Yes, there were some error messages when I first tried to install.

I found some notes I made I think these are from when I was installing Dev_Img-1.5....

Code: [Select]

#cd /mnt/card/Documents
#./image_setup.sh /mnt/card/dev_img-1.5 /mnt/dev
# setting mount point /mnt/dev....
#mounting image /mnt/card/dev_img-1.5
#mount: /mnt/card/Documents: ls a directory
#mount: Could not setup loop device
#Failed to mount image /mnt/card/Documents on /mnt/dev

** I did try to install Dev_Img-1.5 again after getting these error messages. Maybe this is part of the problem too??


Quote
Can you create /mnt/dev directory?

It is there already and has 'develop' inside of it.

Although now I see something that really looks very strange....

I'm using tkcExplorer to literally see all my directories and files. It shows that within /mnt/dev/develop is another 'develop' directory. And then there's another 'develop' directory within that one and so on and so on....

So I assume that something got really messed up during installation and second installation, right??

Quote
Maybe you'll need to remount your partitions to rw before running dev-img setup

OK, so are you saying that I should

A) First remount partitions to rw and then

 Run the 'compiler_setup.sh' script again to reinstall Dev_Img-1.5 ??

Do I need to do anything else before doing this or removing the existing Dev_Img-1.5 installation??

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
Compile Problem - Dev_img-1.5
« Reply #12 on: February 02, 2005, 07:27:26 pm »
OK, would like to try installing dev_img-1.5 one more time on my C3000....

Tried running 'image_setup.sh' and here's what I get:

Code: [Select]
Setting mount point /home/zaurus/develop...
Mounting image /mnt/card/dev_img-1.5...
Mount: Mounting /usr/mnt.rom/card/dev_img-1.5 on /home/zaurus/develop
failed: Block device required
Failed to mount image /mnt/card/dev_img-1.5 on /home/zaurus/develop

When I type 'mount' I get:

Code: [Select]
rootfs on /type rootfs (fw)
/dev/root on /  type jffs2 (ro)
/proc on /proc  type proc (rw)
/dev/mtdblock3 on /home type jffs2 (rw,noatime)
/dev/ram1 on /dev type minix (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda1 on /hdd1 type ext3 (ro, noatime)
/dev/hda2 on /hdd2 type ext3 (rw, noatime)
/dev/hda3 on /hdd3 type vfat (rw, noatime)
none on /dev/pts type devpts (rw)
/dev/mmcda1 on /usr/mnt.rom/card type vfat (rw, noatime)

Any suggestions as to how to get install working???

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/

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Compile Problem - Dev_img-1.5
« Reply #13 on: February 02, 2005, 11:02:26 pm »
OK, this is what you should have start with
I wonder if /home/zaurus is actualy a link to som other directory. Give me the output of ls -l /home command.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Compile Problem - Dev_img-1.5
« Reply #14 on: February 02, 2005, 11:31:38 pm »
Thanks for your help, maslovsky!

OK, output of 'ls -l /home is:

lrwxrwxrwx    1   root   root   15 Oct 27 21:14  QtPalmtop -> /hdd2/QtPalmtop

drwxr-xr-x     7   root   root     0 Oct 27 20:24  dev

drwxr-sr-x    11  root   root     0 Dec 31  1969   etc

drwxr-xr-x     6   root   root     0 Jan 31 09:56  root

drwxr-xr-x     2   root   root     0 Feb  2  17:21 samba

drwxr-xr-x     7   root   root     0 Oct 27 20:24  sharp

drwxr-xr-x     3   root   root     0 Oct 27 21:13  system

lrwxrwxrwx    1   root   root     9 Oct 27 20:24  tmp -> /hdd2/tmp

drwxr-xr-x     2   root   root     0 Oct 27 20:24  userdata

drwx-------     9   zaurus qpe   0 Feb 2   11:49  zaurus


Hope this helps....

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/