From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,14c0c56f432fdbb6 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-06 14:40:07 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!sun.cais.com!io.org!uunet.ca!uunet.ca!torn!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!library.ucla.edu!news.ucdavis.edu!geology.ucdavis.edu!WATERSTRAAT From: waterstraat@geology.ucdavis.edu (Paul Waterstraat) Subject: ld: Unresolved: _OtsDivide32 Message-ID: Sender: usenet@ucdavis.edu (News Guru) Reply-To: waterstraat@geology.ucdavis.edu Organization: Geology Department, U.C. Davis Date: Sat, 6 Aug 1994 00:34:55 GMT Greetings, I've got some code I'm trying to port from SunOS to DEC AXP OSF/1 The particular section that is giving me problems at the moment conststs of a C routine and a Fortran routine. The command from the original makefile to "link" these subprograms included an item -lF77 which OSF did not find. Here's the results, wrapped for viewing: -------------------------------------------------------------------- % cc -O2 -Olimit 2000 mbgrid.o zgrid.o ../../lib/libmbio.a /usr/local/lib/libgmt.a -lnetcdf -lF77 -lm -o ../../bin/mbgrid ld: Can't locate file for: -lF77 -------------------------------------------------------------------- So I took out the -lF77, and got: -------------------------------------------------------------------- % cc -O2 -Olimit 2000 mbgrid.o zgrid.o ../../lib/libmbio.a /usr/local/lib/libgmt.a -lnetcdf -lm -o ../../bin/mbgrid ld: Unresolved: for_stop for_write_seq_lis _OtsDivide32 -------------------------------------------------------------------- I've added a -lfor. That took care of for_stop and for_write_seq_lis, but now I'm left with an unresolved _OtsDivide32: -------------------------------------------------------------------- % cc -O2 -Olimit 2000 mbgrid.o zgrid.o ../../lib/libmbio.a /usr/local/lib/libgmt.a -lnetcdf -lm -lfor -o ../../bin/mbgrid ld: Unresolved: _OtsDivide32 -------------------------------------------------------------------- I've tried a number of other fortran related libraries, but none seems to have _OtsDivide32. Any ideas on where to look next, or what library to use? Any ideas on how I can become more end-user-empowered so that I needn'd bug you folks with this kind of stuff anymore? Thanks in advance. -- Paul Waterstraat Internet: waterstraat@geology.ucdavis.edu Department of Geology BITNET: University of California Voice: (916) 752-7421 Davis, CA 95616-8605 USA FAX: (916) 752-0951 -- "Phenomenal Cosmic Power, little bitty living space" -- The Genie, Aladdin