home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / internal / 2055 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!ub!galileo.cc.rochester.edu!rochester!rocksanne!vega2!jagodits
  2. From: jagodits@vega2.wrc.Xerox.COM (Thomas Jagodits)
  3. Newsgroups: comp.unix.internals
  4. Subject: Re: SVR4: getminor(D3DK)
  5. Message-ID: <1992Dec14.120638.25587@spectrum.xerox.com>
  6. Date: 14 Dec 92 12:06:38 GMT
  7. References: <1992Dec14.034005.13663@hawkmoon.mn.org>
  8. Sender: news@spectrum.xerox.com
  9. Organization: Xerox
  10. Lines: 37
  11.  
  12. In article <1992Dec14.034005.13663@hawkmoon.mn.org> det@hawkmoon.mn.org (Derek Terveer) writes:
  13. >I am having problems with the getminor() call.  I am making some calls
  14. >to getminor() in order to extract the minor numbers, according to the
  15. >ddi/dki ref manual:
  16. >
  17. >
  18. >#define  dev_to_cont(dev)  (ushort)(((getminor((dev_t)dev))>>10)&3)
  19. >
  20.  
  21.     [some deleted text]
  22.  
  23. >        The UNIX Operating System will now be rebuilt.
  24. >        This will take some time.  Please wait.
  25. >
  26. >Undefined                       first referenced
  27. > symbol                             in file
  28. >__minor                             sdsg/Driver.o
  29. >__major                             sdsg/Driver.o
  30. >__makedev                           sdsg/Driver.o
  31. >ld: ../cf.d/unix: fatal error: Symbol referencing errors. No output written to .
  32. >./cf.d/unix
  33. >ERROR: Can not link-edit unix
  34. >
  35. >Why?
  36. >
  37.  
  38.     Did you miss to include <sys/sysmacros.h> ?
  39.     All the listed undefined are there.
  40.  
  41. >derek
  42. >-- 
  43. >Derek Terveer   Work:    derekt@stpaul.gov    +1 612 292 6009
  44. >        Play:    det@hawkmoon.mn.org    +1 612 683 0413
  45. >"Big business and big government distract us with entertainment;
  46. > they manufacture our consent while we destroy the environment."
  47.  
  48.     thomas.
  49.