[Samba] cross-compile smbmount problem

hch huangchonggnu at gmail.com
Fri Sep 14 03:30:39 GMT 2007

hi, all
  I just cross-compiled the "smbmount" using "samba-3.0.24" soure,

  1st: run configure
  ./configure --host=arm-linux --prefix=/tmp/samba --with-smbmount

  2nd: fix config.h
  echo "#define HAVE_GETTIMEOFDAY_TZ 1"    >> $CFG
  echo "#define HAVE_IFACE_IFCONF 1" >> $CFG

  3rd: run make && make install

  Then, I ported the "smbmount, smbmnt, smbumount, smbclient" to the arm
  I got following output when runnig "smbmount //

  """# smbmount // /diska/smb
      params.c:OpenConfFile() - Unable to open configuration file
      No such file or directory
      Can't load /tmp/samba/lib/smb.conf - run testparm to debug it
      Can't get /etc/mtab~ lock filesmbmnt failed: 1

I wonder why the smbmount had to check the smb.conf? Anything i can do to
avoid opening the smb.conf when running smbmount?

Another question is when i accessing the "/diska/smb", it says "Input/output
so i can't take any operation with the mounted smbfs. what else i need to


More information about the samba mailing list