Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!tandem!zorch!hico2!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce From: bruce@balilly (Bruce Lilly) Newsgroups: comp.sys.3b1 Subject: Re: Compiling problems Keywords: 3b1 compile cc ld Message-ID: <1991May17.224422.15038@blilly.UUCP> Date: 17 May 91 22:44:22 GMT References: <102@morwyn.UUCP> <1991May17.033818.13599@ims.alaska.edu> Sender: usenet@blilly.UUCP (News Administrator) Organization: Bruce Lilly, Flushing, NY Lines: 20 Nntp-Posting-Host: balilly In article <1991May17.033818.13599@ims.alaska.edu> floyd@ims.alaska.edu (Floyd Davidson) writes: >In article <102@morwyn.UUCP> forrie@morwyn.UUCP (Forrie Aldrich) writes: >>I had posted a message a short time ago about having problems with >>my compiler, etc. >[...] >>What's happening is this: the loader isn't finding common symbols from >>the c library such as '_doprnt' 'setvbuf' etc... > >If you are using the shared lib, they aren't there. To use the shared library with such a program, modify the makefile to use doprnt.o, setvbuf.o, etc. on the ld line, then add doprnt.o setvbuf.o: /lib/libc.a ar x $? $@ to the makefile, and you should be all set. -- Bruce Lilly blilly!balilly!bruce@sonyd1.Broadcast.Sony.COM