Can not load "pixmap.so"

From: Takahasi Mamoru <taka_at_soum.co.jp>
Date: Sat, 10 Feb 1996 03:57:42 +0900

Hi, folks.

I use STk3.0b2 compiled with `--with-pixmap= ..' option (add pixmap
support for Tk images) on Solaris. When eval the following, error
occurs.

  $ (load "pixmap")
  =>
  *** Error at line 25 of file /usr/local/lib/stk/3.0b2.jp/STk/pixmap.stk:
  Cannot find function "STk_init_pixmap" in object file

By the result of `nm pixmap.so`, it's certain that "pixmap.so" doesn't
contain "STk_init_pixmap" function just as this message. Looking into
this problem, I notice that at the top of the "Extension/pixmap.c"

  #if defined(HAVE_PIXMAP) && defined(USE_TK)

stays, but "USE_TK" is not defined in the compilation of this file.
Consequently "pixmap.so" becomes useless. When delete "&& defined(USE_TK)"
and re-compile, it goes well.

---
--    If you feel my english is strange, please correct me.
-
Received on Fri Feb 09 1996 - 19:59:50 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST