Error linking Samba 2.0.7 with gcc 2.7.2.3 on Slackware 3.4

Denis Sbragion sbragion at email.com
Wed Apr 26 10:45:02 GMT 2000


Hello,

here what happens:

...
Linking bin/smbd
libsmb/clientgen.o: In function `cli_reestablish_connection':
libsmb/clientgen.o(.text+0x5e6a): undefined reference to `__inet_ntoa'
libsmb/clientgen.o: In function `cli_establish_connection':
libsmb/clientgen.o(.text+0x5f8e): undefined reference to `__inet_ntoa'
libsmb/clientgen.o(.text+0x60b2): undefined reference to `__inet_ntoa'
libsmb/namequery.o: In function `name_query':
libsmb/namequery.o(.text+0xa1e): undefined reference to `__inet_ntoa'
libsmb/namequery.o(.text+0xadc): undefined reference to `__inet_ntoa'
libsmb/namequery.o: In function `internal_resolve_name':
libsmb/namequery.o(.text+0x137d): undefined reference to `__inet_addr'
libsmb/nmblib.o: In function `debug_nmb_packet':
...

I'm pretty sure it is a gcc/slackware problem, it happens also with with 
2.0.6, but don't know how to fix it. Any hint?

Thanks in advance.

Bye!
--
	Denis Sbragion
	InfoTecna
	Tel, Fax: +39 039 2324054
	URL: http://infotecna.home.dhs.org



More information about the samba-technical mailing list