Compiling /lib/readline.c

Esh, Andrew AEsh at
Mon Nov 26 12:25:03 GMT 2001

Look like a name collision which came in with an update to lib/util.c, in
version It's been in there since the 17th.

I think xmalloc needs to be renamed.

-----Original Message-----
From: Joe Meslovich [mailto:joe at]
Sent: Monday, November 26, 2001 1:40 PM
To: samba-technical at
Subject: Compiling /lib/readline.c

	I am trying to compile the latest CVS version of Samba 2.2 on a
Solaris box with readline-4.2 installed. When I try to compile Samba I get
the following error:

Compiling lib/readline.c
lib/readline.c: In function `smb_readline':
lib/readline.c:34: warning: assignment from incompatible pointer type
Linking bin/smbclient
ld: fatal: symbol `xmalloc' is multiply-defined:
        (file lib/util.o and file
ld: fatal: File processing errors. No output written to bin/smbclient
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `bin/smbclient'

Joe Meslovich						joe at
Associate Network/Systems Engineer	                College Box 499
Tel: (540) 828 - 5343

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba-technical mailing list