New CVS Update giving errors..

Tim Radigan rad2921 at cup.edu
Tue Dec 7 01:25:02 GMT 1999


i just used cvs to update the samba source so i could test a couple of
things out.. but when i 'make install', samba gives me these compile errors
when compiling server.c:

In file included from include/includes.h:58,
		from smbd/server.c:22:
/usr/include/sys/un.h:41: parse error before `u_char'
/usr/include/sys/un.h:41: warning:no semicolon at end of struct or union
/usr/include/sys/un.h:42: warning: data definition has no type or storage
class
/usr/include/sys/un.h:44: parse error before `}'
*** Error Code 1

when i checked the header file, i didn't see anything wrong.. but then again
i'm only human and i might have missed it.. but here is the beginning code
of /usr/include/sys/un.h:

#ifndef _SYS_UN_H_
#define _SYS_UN_H_

struct	sockaddr_un {
		u_char	sun_len;
		u_char	sun_family;
		char		sun_path[104];
};

those are lines 37 - 44.. right at the beginning of the header file after
the comment.. if anyone can help, it'd be appreciated..



More information about the samba-ntdom mailing list