Help compiling

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Help compiling

Donald R. Kobayashi
Hello,
I am attmpting to compile octave-2.0.9 on a sun sparc 20 running solaris 2.5.
I am using gcc-2.7.2 with g++ and libg++-2.7.1, and g77-0.5.17. I have
installed gnu make-3.76 and gnuplot-3.5, yet after about 35 minutes into the
'make' I get the following error:

...
making Stack.d from Stack.cc
making SLStack.d from SLStack.cc
making SLList.d from SLList.cc
making Map.d from Map.cc
making BaseSLList.d from BaseSLList.cc
make[2]: Leaving directory  
`/export/mahi/dkobayas/software/octave-2.0.9/src'
make[2]: Entering directory
`/export/mahi/dkobayas/software/octave-2.0.9/src'
make[2]: execvp: make: Bad address
make[1]: *** [src] Error 127
make[1]: Leaving directory `/export/mahi/dkobayas/software/octave-2.0.9'
make: *** [all] Error 2

'configure' runs fine, and my configure.log is:
Octave is now configured for sparc-sun-solaris2.5
 
  Source directory:     .
  Installation prefix:  /usr/local
  C compiler:           gcc  -g -O2 -Wall
  C++ compiler:         c++  -fno-implicit-templates  -g -O2 -Wall
  Fortran compiler:     g77 -O
  Fortran libraries:     -lf2c -lm  -L/usr/ccs/lib -L/usr/lib
-L/usr/localm/lib/gcc-lib/sparc-sun-so
laris2.4/2.7.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/localm/lib -lm -lgcc
-lc
  Use GNU readline:     true
  Use GNU info reader:  true
  Default pager:        less
  gnuplot:              gnuplot
 
  Do internal array bounds checking:       false
  Build shared libraries:                  false
  Minimal kernel option:                   false
  Dynamic Linking (dlopen/dlsym):          true
  Dynamic Linking (shl_load/shl_findsym):  false

This one's got me stumped for now. Any advice out there?  No fun when the
error occurs so far into the make. My usual tactic of trial & error
becomes impractical...  TIA,  Don

==================================================================
Donald R. Kobayashi, Fishery Biologist & EEI Systems Administrator
Ecosystem & Environment Investigation, NMFS/NOAA Honolulu Lab
2570 Dole Street, Honolulu HI 96822-2396  
Voice:808-943-1242 FAX:808-943-1290 ([hidden email])


Reply | Threaded
Open this post in threaded view
|

Help compiling

John W. Eaton-6
On 22-Sep-1997, Donald R. Kobayashi <[hidden email]> wrote:

| I am attmpting to compile octave-2.0.9 on a sun sparc 20 running solaris 2.5.
| I am using gcc-2.7.2 with g++ and libg++-2.7.1, and g77-0.5.17. I have
| installed gnu make-3.76 and gnuplot-3.5, yet after about 35 minutes into the
| 'make' I get the following error:
|
| ...
| making Stack.d from Stack.cc
| making SLStack.d from SLStack.cc
| making SLList.d from SLList.cc
| making Map.d from Map.cc
| making BaseSLList.d from BaseSLList.cc
| make[2]: Leaving directory  
| `/export/mahi/dkobayas/software/octave-2.0.9/src'
| make[2]: Entering directory
| `/export/mahi/dkobayas/software/octave-2.0.9/src'
| make[2]: execvp: make: Bad address
| make[1]: *** [src] Error 127
| make[1]: Leaving directory `/export/mahi/dkobayas/software/octave-2.0.9'
| make: *** [all] Error 2
|
| 'configure' runs fine, and my configure.log is:
| Octave is now configured for sparc-sun-solaris2.5

I'm guessing a bug in Make.  Can you try 3.76.1 and see if that fixes
this problem?

Thanks,

jwe


Reply | Threaded
Open this post in threaded view
|

Re: Help compiling

Donald R. Kobayashi

On Mon, 22 Sep 1997, John W. Eaton wrote:

> On 22-Sep-1997, Donald R. Kobayashi <[hidden email]> wrote:
>
> | I am attmpting to compile octave-2.0.9 on a sun sparc 20 running solaris 2.5.
> | I am using gcc-2.7.2 with g++ and libg++-2.7.1, and g77-0.5.17. I have
> | installed gnu make-3.76 and gnuplot-3.5, yet after about 35 minutes into the
> | 'make' I get the following error:
> | ...
> | make[2]: Entering directory
> | `/export/mahi/dkobayas/software/octave-2.0.9/src'
> | make[2]: execvp: make: Bad address
> | make[1]: *** [src] Error 127
> | make[1]: Leaving directory `/export/mahi/dkobayas/software/octave-2.0.9'
> | make: *** [all] Error 2
> | ...
>
> I'm guessing a bug in Make.  Can you try 3.76.1 and see if that fixes
> this problem?
>

YES, using make-3.76.1 worked just fine, thank you for the help.   Don

==================================================================
Donald R. Kobayashi, Fishery Biologist & EEI Systems Administrator
Ecosystem & Environment Investigation, NMFS/NOAA Honolulu Lab
2570 Dole Street, Honolulu HI 96822-2396  
Voice:808-943-1242 FAX:808-943-1290 ([hidden email])