Undefined symbol

Alfredo Ramos ralf at is.rice.edu
Fri Jan 7 19:14:45 GMT 2000


Hello samba gurus, have a couple of questions if you will please!

First:

I'm trying to run 2.0.5a or 2.0.6 on a Solaris 2.5 box and smbd bails out
with an "invalid argument" error when reading socket data.

[2000/01/06 09:00:58, 3] smbd/oplock.c:open_oplock_ipc(86)
  open_oplock_ipc: opening loopback UDP socket.
[2000/01/06 09:00:58, 3] lib/util_sock.c:open_socket_in(865)
  bind succeeded on port 0
[2000/01/06 09:00:58, 3] smbd/oplock.c:open_oplock_ipc(114)
  open_oplock ipc: pid = 19996, global_oplock_port = 37829
[2000/01/06 09:00:58, 0] lib/util_sock.c:read_socket_data(474)
  read_socket_data: recv failure for 4. Error = Invalid argument
[2000/01/06 09:00:58, 3] smbd/process.c:timeout_processing(861)
  receive_smb error (Invalid argument) exiting
[2000/01/06 09:00:58, 2] smbd/server.c:exit_server(408)
  Closing connections
[2000/01/06 09:00:58, 3] smbd/server.c:exit_server(435)
  Server exit (normal exit)

This happens with 2.0.5a and 2.0.6, but only on a Solaris 2.5 box
(production). I can run both releases on a test box running Solaris 2.6
without any problems whatsoever.

The only difference I see between the newer releases of samba and 2.0.4b
(the one running in production) is the read_socket_data function in the
util_sock.c module, the one causing the problems. And ofcourse the
difference in OS's.

I guess my first question is: does anybody know what's happenning here,
and how do I get around it?


The second question is in regards to the TNG cvs BRANCH code.

make crashes when linking bin/smbd:
..
..
..
Compiling tdb/tdb.c
mkdir bin
Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
inet_aton                           libsmb/clientgen.o
ld: fatal: Symbol referencing errors. No output written to bin/smbd
*** Error code 1
make: Fatal error: Command failed for target `bin/smbd'
 
I have samba-MAIN and samba-TNG from cvs. Downloaded them today. Compiling
them as per Lars Kneschke's instructions on his web page: 
www.kneschke.de/projekte/samba_tng/index.php3, --Thanks for the page
Lars--, produces the previous fatal error.

My question here is:

Why is 'bin/smbd' being created in TNG if smbd is suppossed to be created
in MAIN and copied to TNG? This is according to the web page instructions.

Am I doing it wrong?

Please help!

Al Ramos.

---------------------------------------------------------------------------------
                                           | Alfredo Ramos
This space available for rent.             | New Media & Student Computing
Get your product moving. Advertise here!   | Rice University.
                                           | Email: ralf at is.rice.edu
---------------------------------------------------------------------------------



More information about the samba-ntdom mailing list