problems while compiling samba 2.0.6

Fabio Menegoni fmenegoni at tiscalinet.it
Sat Dec 18 00:29:35 GMT 1999


hi everyone,
I am trying to compile samba 2.0.6 on a Debian Linux 2.1 and I have the
followin result: 

....
Compiling smbd/ssl.c
Compiling lib/fnmatch.c
Linking bin/smbd
libsmb/clientgen.o: In function `cli_reestablish_connection':
libsmb/clientgen.o(.text+0x4f47): undefined reference to `__inet_ntoa'
libsmb/clientgen.o: In function `cli_establish_connection':
libsmb/clientgen.o(.text+0x5051): undefined reference to `__inet_ntoa'
libsmb/clientgen.o(.text+0x50d8): undefined reference to `__inet_ntoa'
libsmb/namequery.o: In function `name_query':
libsmb/namequery.o(.text+0x93a): undefined reference to `__inet_ntoa'
libsmb/namequery.o(.text+0x9fb): undefined reference to `__inet_ntoa'
libsmb/namequery.o: In function `internal_resolve_name':
libsmb/namequery.o(.text+0x1409): undefined reference to `__inet_addr'
libsmb/nmblib.o: In function `debug_nmb_packet':
libsmb/nmblib.o(.text+0x1e1): undefined reference to `__inet_ntoa'
libsmb/nmblib.o: In function `read_packet':
libsmb/nmblib.o(.text+0x1425): undefined reference to `__inet_ntoa'
libsmb/nmblib.o: In function `send_udp':
libsmb/nmblib.o(.text+0x14be): undefined reference to `__inet_ntoa'
libsmb/nmblib.o(.text+0x152f): undefined reference to `__inet_ntoa'
lib/interface.o: In function `add_interface':
lib/interface.o(.text+0xb6): undefined reference to `__inet_ntoa'
lib/interface.o(.text+0x110): more undefined references to `__inet_ntoa' follow
lib/util.o: In function `interpret_addr':
lib/util.o(.text+0x2dbf): undefined reference to `__inet_addr'
lib/util.o: In function `matchname':
lib/util.o(.text+0x3023): undefined reference to `__inet_ntoa'
lib/util_sock.o: In function `read_udp_socket':
lib/util_sock.o(.text+0x363): undefined reference to `__inet_ntoa'
lib/util_sock.o: In function `send_one_packet':
lib/util_sock.o(.text+0x11c5): undefined reference to `__inet_ntoa'
lib/util_sock.o(.text+0x123c): undefined reference to `__inet_ntoa'
lib/util_sock.o: In function `open_socket_in':
lib/util_sock.o(.text+0x1486): undefined reference to `__inet_ntoa'
lib/util_sock.o(.text+0x1613): more undefined references to `__inet_ntoa'
follow
make: *** [bin/smbd] Error 1
jago:/usr/local/src/samba-2.0.6/source# 

Can someone help me?

Thanks in advance.

Fa'  		fmenegoni at tiscalinet.it



More information about the samba mailing list