Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!csn!boulder!hartzell From: hartzell@boulder.Colorado.EDU (George Hartzell) Newsgroups: comp.unix.ultrix Subject: Re: Dynamic loading in Ultrix (ld -A) Message-ID: <1991Jan16.204250.28184@csn.org> Date: 16 Jan 91 20:42:50 GMT References: Sender: news@csn.org Distribution: comp.unix.ultrix Organization: MCD Biology, U. of CO, Boulder, CO Lines: 23 In-Reply-To: bogaart@lager.serc.nl's message of 16 Jan 91 20:26:40 GMT Nntp-Posting-Host: beagle.colorado.edu In article bogaart@lager.serc.nl (Eugene Bogaart) writes: I have a question about dynamic loading in Ultrix. ! I have tried to load dynamically functions which are in libc.a, such as gethostent ! The loader then complains about: >ld: /lib/libc.a(gethostent.o): object not compiled with -G 0 will not work linking with -A Does anybody know if DEC fixed this in any of the 4.x release of Ultrix. Or in other words: are there versions of libc.a which can be used with dynamic loading or even tools which covert libc.a to a version which can be use with dynamic loading. Try using libc_G0.a instead. It is a -G 0 version of libc. g. -- George Hartzell (303) 492-4535 MCD Biology, University of Colorado-Boulder, Boulder, CO 80309 hartzell@Boulder.Colorado.EDU ..!ncar!boulder!hartzell