From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5422ea1b26271bec X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-01-25 09:54:02 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.cwix.com!news.idt.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: Albert Chin-A-Young Newsgroups: comp.unix.tru64 Subject: Re: Oddness with cc -pthread and -lldap_r Date: 25 Jan 2001 17:53:31 GMT Sender: Albert Chin-A-Young Message-ID: <94pp6r$l2g$1@bob.news.rcn.net> References: <94k3t5$mhe$1@bob.news.rcn.net> <94lnju$4gv$1@bob.news.rcn.net> X-Trace: UmFuZG9tSVYfIv2TvwCXjHVN+WCJ++TyKEvNd0LdAOmk2xabk4FkpfxQv7mwVnQb X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 25 Jan 2001 17:53:31 GMT User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.18pre21 (i686)) Xref: supernews.google.com comp.unix.tru64:1576 Albert Chin-A-Young wrote: > Mark Garrett wrote: >> You don't explain why you ended up doing this? However you know you can just >> put a -v switch to get the compiler to show each of the programs and >> parameters passed. I'm now on 5.1 so I cant duplicate any problems. >> Just note that the compiler does take parameters is a kind of order ie. >> those -l's are for the linker phase and I would put a -o a.out rather than >> assume some default a.out and see if thats less of a confusion to the 50a >> compiler driver.Try cc -v b.c -o b -lldap_r -pthread >> As your can see here its correct on v5.1 compile :- >> mark@ned> cc -V >> Compaq C V6.3-027 on Compaq Tru64 UNIX V5.1 (Rev. 732) >> Compiler Driver V6.3-026 (sys) cc Driver >> mark@ned> cc -v b.c -lldap_r -pthread > Please try the following for me on your 5.1 system: > $ cc -v b.c -lldap_r -pthread | cat -v > and post the output. BTW, Compaq has confirmed the bug in the C compiler and it has been fixed in the most recent version of the C compiler available as part of the Developers Toolkit. -- albert chin (china at thewrittenword dot com)