From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6d1ba66d482cb162,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-09-19 18:20:09 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!xfer10.netnews.com!netnews.com!news.maxwell.syr.edu!dca1-hub1.news.digex.net!intermedia!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: diadian@my-deja.com Newsgroups: comp.unix.tru64 Subject: shared library linking Date: Wed, 20 Sep 2000 01:09:54 GMT Organization: Deja.com - Before you buy. Message-ID: <8q92ol$254$1@nnrp1.deja.com> NNTP-Posting-Host: 63.23.136.227 X-Article-Creation-Date: Wed Sep 20 01:09:54 2000 GMT X-Http-User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Http-Proxy: 1.0 x58.deja.com:80 (Squid/1.1.22) for client 63.23.136.227 X-MyDeja-Info: XMYDJUIDdiadian Xref: supernews.google.com comp.unix.tru64:417 Hello List, I am trying to compile samba 2.0.7 on a digital unix 4.0D machine. I was able to compile the default parts of the distribution with no problem. However I am getting an error from ld when I try to compile and link smbwrapper.so (which is used by smbsh). Here is what happens: ./configure --with-smbwrapper ./make smbwrapper ...some messages about compiling scroll by, none are errors ...then the linker starts Linking bin/smbsh Linking shared library bin/smbwrapper.so ld: Warning: Unresolved: time getpid pipe getenv iob atoi free malloc exit memset ...and about 80 more symbols that seem to belong to the ...standard c library. I've checked the configure script for smbwrapper and it is using '-shared' as a switch to ld. I think the problem is that ld is not being told to look to libc.so to resolve symbols. Can someone tell me if I even have the right problem? I'm using Digital Unix 4.0D with DEC's CC and LD. Thanks for any help you can provide. Victor. (pls reply to diadian@yahoo.com in addition to this NG since I don't have NG access during the day.) Sent via Deja.com http://www.deja.com/ Before you buy.