NFS+gcc

NFS+gcc

Post by J. W » Fri, 19 Oct 2001 22:43:21



I install gcc under /usr/local, it works well.
Then I share this /usr/local. On other machine, I mount this directory
to its own /usr/local. However, when I use g++ or gcc to compile a
very simple file, it says:

/usr/local/pvm3/lib/pvmgetarch: Command not found
In file included from /usr/local/include/g++-v3/bits/std_cstdio.h:41,
                 from /usr/local/include/g++-v3/cstdio:31,
                 from
/usr/local/include/g++-v3/sparc-sun-solaris2.8/bits/c++io.h:35,
                 from /usr/local/include/g++-v3/bits/fpos.h:39,
                 from /usr/local/include/g++-v3/bits/std_iosfwd.h:41,
                 from /usr/local/include/g++-v3/bits/std_ios.h:39,
                 from /usr/local/include/g++-v3/bits/std_ostream.h:39,
                 from
/usr/local/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/local/include/g++-v3/iostream:31,
                 from co.c:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:36:27:
iso/stdio_iso.h: No such file or directory
In file included from /usr/local/include/g++-v3/bits/std_cstdio.h:41,
                 from /usr/local/include/g++-v3/cstdio:31,
                 from
/usr/local/include/g++-v3/sparc-sun-solaris2.8/bits/c++io.h:35,
                 from /usr/local/include/g++-v3/bits/fpos.h:39,
                 from /usr/local/include/g++-v3/bits/std_iosfwd.h:41,
                 from /usr/local/include/g++-v3/bits/std_ios.h:39,
                 from /usr/local/include/g++-v3/bits/std_ostream.h:39,
                 from
/usr/local/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/local/include/g++-v3/iostream:31,
                 from co.c:1:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:107:
syntax
   error before `;' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:113:
syntax
   error before `;' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:123:
syntax
   error before `;' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:194:
syntax
   error before `*' token

and many other things like these.

What is the problem?

Thanks a lot.

J. Wei

 
 
 

NFS+gcc

Post by Phil Edwar » Sat, 20 Oct 2001 09:06:58



> I install gcc under /usr/local, it works well.
> Then I share this /usr/local. On other machine, I mount this directory
> to its own /usr/local. However, when I use g++ or gcc to compile a
> very simple file, it says:

Looks like you didn't install the complete development environment on the
"other machine" (the NFS client).  Are the assembler, linker, header files,
etc, packages installed?

Luck++;
Phil

--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and* the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

 
 
 

1. NFS BW-NFS and PC-NFS

I am having trouble mounting a file system on my linux box.  I have tried
to use either BW-NFS or PC-NFS on several PC's to mount a machine running
Linux (1.1.18).  I have portmapper running along with mountd , and either
PC-NFS or BW-NFS daemons.  

I try to map d: to a file system that is in my exports file and the PC hangs.
Has anyone seen this problem.  I am able to use telnet and ping from these
machines but NFS is not working.

Thomas Glaser
PC/Network Admin.
University Book Store

2. Suse upgrade now Knode freezes

3. GCC 2.7.0 and NFS

4. Intel i960 subsystem

5. Help Please: Q: gcc signal 11 ; Kernel Compile via NFS

6. I am getting a few error lines on boot up that I can't identify.

7. NFS is killing gcc -g

8. ipchains - ipmasqadm

9. RH6.0 - i386-glibc20-linux-gcc or i386-redhat-linux-gcc

10. gcc 2.96 vs. gcc 3.2: namespace, template incompatability

11. gcc 4.1.1 build under Intel Solaris 10 does not build gcc

12. HOWTO build/install GCC 3.1 from SRPM w/o replacing GCC 2.96 ?

13. gcc-2.96/RH7,3 .vs gcc-3.2/RH8.0 portability issues