Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!sdd.hp.com!hp-pcd!hpfcso!hpfcdc!rodean From: rodean@hpfcdc.HP.COM (Bruce Rodean) Newsgroups: comp.sys.hp Subject: Re: compiling gnuplot under hp-ux 7.03 Message-ID: <5570577@hpfcdc.HP.COM> Date: 24 Feb 91 23:04:51 GMT References: <15532@lanl.gov> Organization: Hewlett-Packard Co., Ft. Collins, CO. Lines: 19 In article <15532@lanl.gov> bxb@lanl.gov (Barry J. Berenberg) writes: > I'm trying to compile gnuplot on an 9000/300 running HP-UX 7.03 > and X11R4. If I understand the procedure, I can't compile it as > an X client without the Athena widgets library, so I'm compiling > it as a plain UNIX program. > > Problem: ld returns an error > undefined external > _getwd > Not being a programmer, I don't know how to trace the problem. > Any suggestions? Has anybody else tried to compile gnuplot? For this one particular problem, add -lBSD to your cc command line. That ought to take care of getwd. Bruce Rodean rodean@hpfclg.fc.hp.com Not an official statement of Hewlett-Packard Co. Brought to you by Super Global Mega Corp .com