[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pgplot & absoft fortran



has anyone remade the pgplot package using absoft fortran?  

At the moment, I'm stuck using g77.  
Unfortunately, it's missing many  of the matrix features that I need 
(which is part of why this project is in Fortran in the first place: 
it's straightforward bashing of numbers into submission, with plenty of 
matrix multiplication, etc.).  (I really need f95, but we're making do 
with f90).

After some help & hints from 
absoft (their tech support is amazing, by the way.  This time, they 
found  the problem from my posting in the fortran newsgroup and sent me 
a reply), I'm down to one g77 link that's missing:

smithttyp0:graphics>f90 bubbles1.f90 -L /usr/X11R6/lib -YEXT_SFX=_  -YEXT_NAMES=LCS -lpgplot -lX11 -lf2c -lm
/usr/lib/libpgplot.so: undefined reference to `G77_getenv_0'

I've been grepping libraries, but can't find this one.

The next obvious step is to rebuild the library with absoft, but I am 
unable to do so:

dpkg-buildpackge
....
cd debian/tmp && install -d `cat ../dirs`
install -m644 debian/builddir/libpgplot.a  debian/tmp/usr/lib/
install: debian/builddir/libpgplot.a: No such file or directory
make: *** [binary-arch] Error 1
sm


and I can't compile the raw tarball from pgplot (not the debian one) 
with either absoft or g77--the fortran compiles fine, but then it gets 
trouble with the c:

smith:/usr/local/pgplot# make
gcc -c -DPG_PPU -O2 /usr/local/src/pgplot/sys_linux/af77_src/grgetc.c
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c: In function `GRGETC':
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:78: storage size of `tty' isn't known
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:93: `TIOCGETP' undeclared (first use this function)
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:93: (Each undeclared identifier is reported only once
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:93: for each function it appears in.)
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:95: `CBREAK' undeclared (first use this function)
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:96: `TIOCSETP' undeclared (first use this function)
/usr/local/src/pgplot/sys_linux/af77_src/grgetc.c:99: `TIOCFLUSH' undeclared (first use this function)
make: *** [grgetc.o] Error 1
smith:/usr/local/pgplot# 

I'm stuck.  Could I buy a vowel, please? :)

rick


-- 



Reply to: