Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* shared library linking
@ 2000-09-20  1:09 diadian
  2000-09-21  4:00 ` Tim Mooney
  0 siblings, 1 reply; 2+ messages in thread
From: diadian @ 2000-09-20  1:09 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: shared library linking
  2000-09-20  1:09 shared library linking diadian
@ 2000-09-21  4:00 ` Tim Mooney
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Mooney @ 2000-09-21  4:00 UTC (permalink / raw)


In article <8q92ol$254$1@nnrp1.deja.com>,  <diadian@my-deja.com> wrote:
> 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:

It just says "Warning", it does not say "Error".  That means that the
shared library smbwrapper.so *has* been generated.  ld is just being "helpful"
here.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-21  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-20  1:09 shared library linking diadian
2000-09-21  4:00 ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox