This isn't really a Starlink question, but some of you experts out
there will no doubt be able to give me chapter and verse.
My trusty Xubuntu broke when I tried to update it, so I've had to
start again, with Xubuntu 18.04. (I run it on a Windows 10
platform as a guest OS under VirtualBox, but I don't think that's
relevant.)
I've installed PGPLOT (Ubuntu calls it pgplot5) and tried to compile
an existing Fortran program that includes PGPLOT calls. The
compile command uses gfortran, and successfully links to the PGPLOT
library among other things. But it can't find loads of other stuff:
/usr/lib/libpgplot.a(xwdriv.o): In function `xw_cursor_line':
(.text+0x17e): undefined reference to `XCopyArea'
(.text+0x1e8): undefined reference to `XCopyArea'
(.text+0x306): undefined reference to `XCopyArea'
/usr/lib/libpgplot.a(xwdriv.o): In function `del_XWdev':
(.text+0x3d2): undefined reference to `XFreeGC'
(.text+0x44d): undefined reference to `XFree'
(.text+0x466): undefined reference to `XCloseDisplay'
(.text+0x4d8): undefined reference to `XSelectInput'
and so on and so on.
n.b. I've installed X11 (I think that's what xorg is).
Any tips?
Patrick Wallace
____________________________________________________________________
RAL Space +44-1235-531198
STFC Rutherford Appleton Laboratory
Harwell Oxford
Didcot, Oxfordshire, OX11 0QX, UK [log in to unmask]
____________________________________________________________________
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|