This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
`S_IFSOCK' undeclared
- To: guile-user at gnu dot org
- Subject: `S_IFSOCK' undeclared
- From: Bruce Korb <bkorb at sco dot COM>
- Date: Thu, 28 Sep 2000 11:22:01 -0700
- List-Id: General Guile related discussions <guile-user.gnu.org>
- Organization: The Santa Cruz Operation
$ ./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