guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`S_IFSOCK' undeclared


From: Bruce Korb
Subject: `S_IFSOCK' undeclared
Date: Thu, 28 Sep 2000 11:22:01 -0700

$ ./config.guess
i686-pc-sco3.2v5.0.5


  -g -O2 -Wall -Wmissing-prototypes -c posix.c
rm -f .libs/posix.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -O2 -Wall -Wmissing-prototypes -
c posix.c  -fPIC -DPIC -o .libs/posix.lo
posix.c: In function `scm_seteuid':
posix.c:631: warning: implicit declaration of function `seteuid'
posix.c: In function `scm_setegid':
posix.c:655: warning: implicit declaration of function `setegid'
posix.c: In function `scm_mknod':
posix.c:1230: `S_IFSOCK' undeclared (first use in this function)
posix.c:1230: (Each undeclared identifier is reported only once
posix.c:1230: for each function it appears in.)
gmake[1]: *** [posix.lo] Error 1
gmake[1]: Leaving directory `/tools/guile/gl/libguile'
gmake: *** [all-recursive] Error 1

$ egrep 'define[  ]+S_IF' /usr/include/sys/stat.h
#define         S_IFMT  0170000 /* type of file */
#define         S_IFREG 0100000 /* regular */
#define         S_IFBLK 0060000 /* block special */
#define         S_IFDIR 0040000 /* directory */
#define         S_IFCHR 0020000 /* character special */
#define         S_IFIFO 0010000 /* fifo */
#define         S_IFNAM 0050000 /* special named file */
#define         S_IFLNK 0120000 /* symbolic link */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]