Compiling /lib/readline.c

Joe Meslovich joe at bridgewater.edu
Mon Nov 26 11:43:03 GMT 2001


	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
/usr/local/lib/libreadline.a(xmalloc.o));
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 bridgewater.edu
Associate Network/Systems Engineer	                College Box 499
Tel: (540) 828 - 5343






More information about the samba-technical mailing list