build problem on AIX 4.1.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

build problem on AIX 4.1.4

John Sherk

I've run into the following problem in attempting to compile octave 2.0.2
on an IBM PowerPC running AIX 4.1.4:

 echo making all in src
 making all in src
 cd src ; make all
 make[2]: Entering directory `/usr/local/src/octave-2.0.2/src'
 c++  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc
 -I../dlfcn -\
 octave.o builtins.o  balance.o  chol.o  colloc.o  dassl.o  det.o  eig.o  
 -L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob
 -L../dlfcn -\
 -loctinterp -loctave -ltinst -lcruft  -lreadline -lkpathsea -lglob
 -ldlfcn -ll \
 -lxlf90 -lxlf  -lcurses -lm
 collect2: ld returned 255 exit status
 ld: 0706-006 Cannot find or open library file: -l dlfcn
        ld:open(): A file or directory in the path name does not exist.
 make[2]: *** [octave] Error 1
 make[2]: Leaving directory `/usr/local/src/octave-2.0.2/src'
 make[1]: *** [src] Error 2
 make[1]: Leaving directory `/usr/local/src/octave-2.0.2'
 make: *** [all] Error 2

I am using gcc 2.7.2, libg++ 2.7.1, gnu make 3.74. Any ideas?