IRIX 6 doezn't appear to need -lbsd aymore, IRIX 5 still needs it? tabmath fails: no EOF on getc ? IRIX man cannot coexist with our MANPATH method?
On some machines (slackware3.1) -ldl is not found. You should look at $NEMOBIN/cc and change set link=lib/libdl.so.1; also you may need to add gnumalloc.so to that line if your malloc is bad. (see whatsnew (16 February 1997) for links to my patches. This would give you: set link="$NEMOLIB/gnumalloc.so /lib/libdl.so.1" Another fix is to fix the symlink in /lib: ln -s /lib/libdl.so.1.7.14 /lib/libdl.so
NEMO shared library: always needs a yapp (e.g. use yapp_null.o if you link non-graphics program. Examples Linux: cc -g -o prog prog.c $NEMOLIB/yapp_null.o -lnemo -lm Solaris: cc -g -o prog prog.c $NEMOLIB/yapp_null.o -lnemo -lm -R$NEMOLIB there is no f77 script, as opposed to a cc script. This means f77 code should not be added to shared libraries. (in e.g. rotcurves) a potential can only be loaded once. If you need to load it twice, make a copy from $NEMOOBJ/potential, and rename the object file e,g, cp $NEMOOBJ/potential/plummer.o plummer_1.o this works for C code, but not for most fortran code since they often use a common block to share data and share subroutine names that are public/global. Advice: stick to C.
cp $NEMO/src/scripts/make.sgi $NEMOBIN/make cp $NEMO/src/scripts/ranlib.sgi $NEMOBIN/ranlib
cd $NEMO/src/kernel/yapp /bin/make yapp_gl.o CFLAGS="-DSGI -g" cp yapp_gl.o $NEMOLIBand add
setenv YAPPLIB "$NEMOLIB/yapp_gl.o -lgl -lX11"to your NEMORC.local
cc -o snapplot snapplot.c -lnemo $YAPPLIB -lnemo -lmThis is really annoying.
cp $NEMO/src/scripts/ranlib.sun5 $NEMOBIN/ranlib rehash
Back to: NEMO Home page , the What's New , the What's Up , or the What's Down page.