Compiling problems
Floyd Davidson
floyd at ims.alaska.edu
Sat May 18 17:45:25 AEST 1991
In article <1991May17.224422.15038 at blilly.UUCP> bruce at balilly (Bruce Lilly) writes:
>In article <1991May17.033818.13599 at ims.alaska.edu> floyd at ims.alaska.edu (Floyd Davidson) writes:
>>In article <102 at morwyn.UUCP> forrie at 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.
>
I put them into a local library and use the -l option.
To me it seems a little cleaner...
Floyd
--
Floyd L. Davidson | Alascom, Inc. pays me, |UA Fairbanks Institute of Marine
floyd at ims.alaska.edu| but not for opinions. |Science suffers me as a guest.
More information about the Comp.sys.3b1
mailing list