home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11005 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.7 KB  |  58 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jiazhang
  3. From: jiazhang@magnus.acs.ohio-state.edu (Jiajie Zhang)
  4. Subject: Problems: software installation using makefile
  5. Message-ID: <1992Sep11.171847.14598@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. Date: Fri, 11 Sep 1992 17:18:47 GMT
  10. Lines: 46
  11.  
  12.  
  13.  
  14.  
  15.  
  16. Many times when I tried to a software using makefile, I always got
  17. compiling error messages.  The following error messages are from
  18. installing lwsrv of cap60, but the same messages were also given to me
  19. for other programs.
  20.  
  21.     cc -o lwsrv  fontlist.o lwsrv.o papstream.o procset.o simple.o
  22.     spmisc.o att_geto pt.o -lcap
  23.     ld: Undefined symbol
  24.        __Q_get_rp_rd
  25.        _dlopen
  26.        _dlclose
  27.        _dlsym
  28.        _nl_langinfo
  29.     *** Error code 2
  30.     make: Fatal error: Command failed for target `lwsrv'
  31.  
  32.  
  33. When I replaced "LD=ld" with "LD=ld -ldl" in the makeifle, I still got
  34. something like 
  35.  
  36.     cc -o lwsrv  fontlist.o lwsrv.o papstream.o procset.o simple.o
  37.     spmisc.o att_geto pt.o -lcap
  38.     ld: Undefined symbol
  39.        __Q_get_rp_rd
  40.        _nl_langinfo
  41.     *** Error code 2
  42.     make: Fatal error: Command failed for target `lwsrv'
  43.  
  44. The machine is a Sun Sparc 2 running SunOs 4.1.  I was told that the
  45. problem might be caused by the shared libraries, which were rebuilt
  46. for Network Name Server (or something like that).  However, because I
  47. am only an end user, I do not know much about the system stuff.
  48.  
  49. Does anyone know how to solve this problem, either temporarily or
  50. permanently?  Any pointers will be greatly appreciated.
  51.  
  52. Jiajie Zhang
  53. jiazhang@magnus.acs.ohio-state.edu
  54.  
  55.  
  56.  
  57.  
  58.