Xref: utzoo comp.lang.c++:14228 comp.std.c++:966 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ra!walt.CS.MsState.Edu From: borchert@walt.CS.MsState.Edu (Chris Borchert) Newsgroups: comp.lang.c++,comp.std.c++ Subject: Linking with CC Message-ID: <925@ra.MsState.Edu> Date: 19 Jun 91 00:20:13 GMT Sender: usenet@ra.MsState.Edu Followup-To: comp.lang.c++ Distribution: usa Organization: Mississippi State Univ. Lines: 19 Nntp-Posting-Host: walt.cs.msstate.edu I have a working Sun C (cc) program which uses termios and fnctl calls such as open, close, read, write, and ioctl. The library linked to provide these routines is, of cource, libc.a. I am now trying to slowly convert this program to C++ using Sun's CC translator. My program will compile without error but ld will bomb saying it does know about any of the previously mentioned routines. I know that libC.a is being included and libc.a should also by default. I believe that there must be a confict between the cc and CC libraries, and performing a CC will not be enough. By the way, I do have other C++ programs that run fine with CC. It has something to do with using these routines in particular. Has anyone experienced this problem, and what can I do to correct it. Thanks, Chris Borchert borchert@erc.msstate.edu