Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.unix.questions Subject: Re: System V (3B2), CAP, Streams Message-ID: <1151@vsi.COM> Date: 15 Jul 89 19:46:57 GMT References: <20228@adm.BRL.MIL> <1410@hcr.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 34 In article <20228@adm.BRL.MIL> RSILVERMAN@eagle.wesleyan.edu writes: > > I am trying to get CAP running on an AT&T 3B2 running System V R3.1. > ... but when I attempt to link it, the Streams system calls getmsg, > putmsg and sigset are not found. In article <1410@hcr.UUCP>, larry@hcr.UUCP (Larry Philps) writes: > > Putmsg, getmsg and sigset are system calls under SYSV R3. So, they will be > resolved by the system call stubs in libc.a. This reveals an unfortunate aspect of the 3B world. Compilers are packaged separately from operating systems, and most of the libraries (i.e., libc.a) live with the compiler. Upgrading to a more recent operating system (say, to SVR3.1) means that the operating system supports the new calls, but you can't use them unless your compiler has the hooks in libc.a (or unless you feel like writing some assembly language wrapper functions). You can check your compiler version with: cc -V I believe that Issues 2 and 3, plus C-FP+ are all packaged with Sys V Rel 2 libraries, and that CPLU4.1 and above have the SVR3 libraries. Steve -- Stephen J. Friedl / V-Systems, Inc. / Santa Ana, CA / +1 714 545 6442 3B2-kind-of-guy / friedl@vsi.com / {attmail, uunet, etc}!vsi!friedl ---> vsi!bang!friedl <-- NEW "Hard work is a vastly overrated virtue" - my brother