PDA

View Full Version : samba daemon on tivo -- smbd



spazm
05-18-2002, 02:54 PM
Has anyone managed to cross compile and run
smbd on their tivo? I'm trying to crosscompile
the current [2.2.4] samba source, but there are
problems with smbd.

why you ask? I've got an old SA tivo, and I'd
like to use it to serve up files from the ext2
disk I've added. I'm not trying to directly
serve the MFS partition, etc. Just a quiet $100 fileserver.

thanks

% configure --host=powerpc-TiVo-linux
% make
sr/local/samba/private/smbpasswd.tdb"
Using LIBS = -ldl -lnsl -lcrypt
Compiling smbd/server.c
In file included from ../include/includes.h:214,
from ../smbd/server.c:22:
/usr/local/tivo/powerpc-TiVo-linux/include/netinet/tcp.h:97: warning: `TCP_NODELAY' redefined
/usr/local/tivo/powerpc-TiVo-linux/include/linux/socket.h:205: warning: this is the location of the previous definition
/usr/local/tivo/powerpc-TiVo-linux/include/netinet/tcp.h:98: warning: `TCP_MAXSEG' redefined
/usr/local/tivo/powerpc-TiVo-linux/include/linux/socket.h:206: warning: this is the location of the previous definition
In file included from ../smbd/server.c:22:
../include/includes.h:231: netinet/ip.h: No such file or directory
In file included from ../smbd/server.c:22:
../include/includes.h:300: sys/statvfs.h: No such file or directory
In file included from ../smbd/server.c:22:
../include/includes.h:324: stropts.h: No such file or directory
In file included from ../smbd/server.c:22:
../include/includes.h:830: readline/readline.h: No such file or directory
../include/includes.h:832: readline/history.h: No such file or directory
make: *** [smbd/server.o] Error 1

DaG-LaNd
05-29-2002, 11:22 AM
I've seen pre compiled version of smbd around. I'm almost positive it's not a recent version.

If all your doing is trying to run a file server old versions should work fine...