samba 2.0beta5 compile problems

Jack Howarth howarth@bromo.med.uc.edu
Thu Apr 1 00:00:00 GMT 1999


 Has anyone managed to patch the samba 2.0 betas to build under the
glibc 2.1 alphas? There are at beta5 now which is next to the release
version apparently and still have compile problems in smbwrapper/smbw.c.
It appears that they are expecting struct stat64 to have fields that
don't exist in glibc 2.1's definition. Thanks for any hints.
                             Jack
ps This is the code that is having problems...

#ifdef HAVE_STAT64
/* this can't be in wrapped.c because of include conflicts */
 void stat64_convert( struct stat *st, struct stat64 *st64)
{
        st64->st_size = st->st_size;
        st64->st_mode = st->st_mode;
        st64->st_ino = st->st_ino;
        st64->st_dev = st->st_dev;
        st64->st_rdev = st->st_rdev;                                                    st64->st_nlink = st->st_nlink;
        st64->st_uid = st->st_uid;
        st64->st_gid = st->st_gid;
        st64->st_atime = st->st_atime;
        st64->st_mtime = st->st_mtime;
        st64->st_ctime = st->st_ctime;
        st64->st_blksize = st->st_blksize;
        st64->st_blocks = st->st_blocks;
}
#endif

-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474



More information about the Libc-alpha mailing list