This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

`S_IFSOCK' undeclared


$ ./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 */

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]