Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!caen!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!uhura!saaf From: saaf@joker.optics.rochester.edu (Lennart Saaf) Newsgroups: comp.sys.hp Subject: Problem calling AGP graphics from C Message-ID: Date: 10 Jan 91 18:50:53 GMT Sender: news@uhura.cc.rochester.edu Distribution: comp Organization: The Institute of Optics, University of Rochester Lines: 38 I'm trying to write some code in C that calls the AGP graphics package. The machine is a 9000/835 running HP-UX 7.0. Here's a program that illustrates the problem: #include #include #include void main() { jbegn(); jend(); } cc test.c -lUPLIB /bin/ld: Unsatisfied symbols: FTN_ATAN$ (code) FTN_LTOL (code) $$divJ (code) FTN_S_STOP (code) $$remJ (code) Compilation exited abnormally with code 1 at Thu Jan 10 13:30:13 It seems that I need to link in an additional library, but I can't find any clues in the docs. And I can't find the unsatisfied symbols in any /usr/lib/libxxx.a file. I found an include file, /usr/graphics/c/cagp1.h, but it just aliases the AGP routines. Any clues would be appreciated. Len -- ------------------------------------------------------------------------ | Len Saaf, The Institute of Optics, Univ. of Rochester, Rochester, NY | | Internet: saaf@joker.optics.rochester.edu Bitnet: SAAF@UOROPT | ------------------------------------------------------------------------