wang@ai.toronto.edu (Huaiqing Wang) (06/17/89)
I got a problem on HP-9000/825 (using HP-UX). Can you help me out? We are installing several new games on our machine and we have ran into the exactly same problem. When I tried to compile a couple of object files into a target file. I keyed in the cc command and according to the installation instruction, gave it a tail of "-lcurses -ltermcap". But the system gave me a error message like this: > -ltermcap not found We also tried "-ltermlib", it gave us the same message: > -ltermlib not found So we decided to threw away the "-ltermcap", we ran into other problem: > /bin/ld: Unsatisfied symbols: > ospeed (data) > random (code) > *** Error code 1 Then we tried to read the manual of termcap. The manual told us that we can find a file called "termcap" in directory /etc. Unfortunely, we can not find the file anywhere. Does the file "termcap" have something to do with the "-ltermcap"??? Did I lose the file??? Does any of your people run into the problem before??? Looking forward for your help. Thanks alot, ------------------------------------------------------------------------------ wang@ai.utoronto.ca
wunder@hp-ses.SDE.HP.COM (Walter Underwood) (06/20/89)
On the s800, -lcurses includes routines that you might expect to be in -ltermlib or -ltermcap (for the System V version of termcap), so the curses library should be enough. HP-UX does not include random(). If you have 4.3 BSD source, you can compile it. Otherwise, you'll need to change the code to use the System V random number stuff. wunder
rer@hpfcdc.HP.COM (Rob Robason) (06/21/89)
For backward compatibility, we intended to ship libtermcap.a and libtermlib.a as links to libcurses.a so that old makefiles would work. While we succeeded in accomplishing this challenging (;-) goal for our Series 300 machines, we flunked the test on the 800! I can only apologize and tell you that the problem has already been identified and solved in the upcoming release. In the mean time, you may create the link yourself. Secondly, /etc/termcap is no longer used by any of our libraries. We did ship it previously on some systems even after we converted over to System V's terminfo technology, mostly as a reference. It is no longer shipped. We do ship a command called untic which may be used to derive the termcap-like source for the terminfo files. See untic(1M). 3rd, I can't find any reference to ospeed in libcurses. Are you sure that it results from curses(3X) functions in your application? Rob Robason