Up: SGI apps Frequently Asked Questions (FAQ)
Next: -38- Where's 'edge' in IRIX 5.x? What can I use instead?
Previous: -36- Where's CHILD_MAX in IRIX 4.0.5?
Subject:   -37- Why doesn't application X understand NIS (Yellow Pages)
                in IRIX 4.0.x?
Date: 19 Dec 1993 00:00:01 EST

  If you run NIS (aka Yellow Pages), you need to link programs which
  access files served by NIS with -lsun. The functions in libc.a which
  deal with these files are not NIS-aware; the NIS versions are in
  libsun.a. Using libsun.a usually means adding '-lsun' to the variable
  LIBS or LDFLAGS in one's Makefile. If '-lc' or '-lc_s' (libc_s.a is
  the shared version of libc.a) is given explicitly, '-lsun' must
  precede it.

  This is only true for IRIX 4.0.x; IRIX 5.x's libc.a is NIS-aware.

Up: SGI apps Frequently Asked Questions (FAQ)
Next: -38- Where's 'edge' in IRIX 5.x? What can I use instead?
Previous: -36- Where's CHILD_MAX in IRIX 4.0.5?