[Freeciv-Dev] Re: client/server authentication (PR#1767)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, May 18, 2003 at 03:53:07AM -0700, ChrisK@xxxxxxxx wrote:
> lockfile.c
> lockfile.c: In function `create_lock':
> lockfile.c:87: `S_IRUSR' undeclared (first use in this function)
> lockfile.c:87: (Each undeclared identifier is reported only once
> lockfile.c:87: for each function it appears in.)
> lockfile.c:87: `S_IWUSR' undeclared (first use in this function)
> make[3]: *** [lockfile.o] Error 1
> make[3]: Leaving directory
> `/home/chris/freeciv/patched/auth6o/server/userdb'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/chris/freeciv/patched/auth6o/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/chris/freeciv/patched/auth6o'
> make: *** [all-recursive-am] Error 2
well, this is awful. What kind of a system do you have there?
S_IRUSR and S_IWUSR are posix. Check your config.h: make sure you have
#define HAVE_SYS_STAT_H 1 If you don't, make sure that .../sys/stat.h
exists on your system. If it does, are S_IRUSR and S_IWUSR defined in the
header? If not, try this program:
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main()
{
int fd = open("test.file", O_RDWR|O_CREAT, S_IREAD|S_IWRITE);
close(fd)
return 0;
}
-mike
- [Freeciv-Dev] Re: client/server authentication (PR#1767), (continued)
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/09
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/17
- [Freeciv-Dev] Re: client/server authentication (PR#1767), ChrisK@xxxxxxxx, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/08
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/17
- [Freeciv-Dev] Re: client/server authentication (PR#1767), ChrisK@xxxxxxxx, 2003/05/18
- [Freeciv-Dev] Re: client/server authentication (PR#1767),
Mike Kaufman <=
- [Freeciv-Dev] Re: client/server authentication (PR#1767), ChrisK@xxxxxxxx, 2003/05/18
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/18
- Message not available
- [Freeciv-Dev] Re: client/server authentication (PR#1767), ChrisK@xxxxxxxx, 2003/05/18
- Message not available
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Jason Short, 2003/05/19
- Message not available
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/19
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/22
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/22
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/23
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Mike Kaufman, 2003/05/23
- Message not available
- [Freeciv-Dev] Re: client/server authentication (PR#1767), Raimar Falke, 2003/05/24
|
|