This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
samba 2.0beta5 compile problems
- To: libc-alpha@cygnus.com
- Subject: samba 2.0beta5 compile problems
- From: "Jack Howarth" <howarth@bromo.med.uc.edu>
- Date: Sun, 3 Jan 1999 14:09:37 -0500
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