Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!newstop!texsun!csccat!camdev!sscott From: sscott@camdev.comm.mot.com (Steve Scott) Newsgroups: comp.lang.perl Subject: Re: Config on APOLLO SR10.2 Keywords: ack Message-ID: <308@camdev.comm.mot.com?> Date: 5 Nov 90 14:26:10 GMT References: <1990Nov2.225524.6123@vlsi-mentor.jpl.nasa.gov> <1222@digi.lonestar.org> Distribution: comp Organization: Computer Support Corporation. Dallas,Texas. Lines: 36 kgallagh@digi.lonestar.org (Kevin Gallagher) writes: >In article <1990Nov2.225524.6123@vlsi-mentor.jpl.nasa.gov> dave@vlsi-mentor.jpl.nasa.gov (David Hayes) writes: >>Something's not entirely right about Configure on Apollo's running SR10.2. >>... >>dup2() not found >>fchmod() not found >>fchown() not found >>[more of the same deleted] >>Yet these routines DO exist. Somewhere. I always have to go into config.h >>and fix it up to realize that these routines are there. >> >>Has anyone found a useful way to let Configure know what is really there? >>I really HATE editing config.h.... >The problem is that Apollo's /bin/cc compiler has two C libraries: /lib/clib >and /lib/libc. Configure only finds one and just searches it. It does not >search the other unless told to do so. You need to tell it to do so by >specifying the missing library with the -l option when asked by Configure. >Unfortunately, Configure will add this -l option in the make files, which will >cause the compiler to abort when it encounters the option. So be sure to >delete this -l option from the make files before kicking off the build. >/bin/cc will search both libaries on its own. Interesting, eh? -- +------------------------------------------------------------------------------+ | Steve Scott | Internet: sscott@mot.com | | Fort Worth Research and Development Center | UUCP: uunet!csccat!sscott | | Cellular Infrastructure Group | Internal: TX14/4G | | Radio Telephone Systems Group | Voice: (817) 232-6317 | | Motorola, Inc. | Fax: (817) 232-6081 | +------------------------------------------------------------------------------+