From: Christopher M. <chr...@ya...> - 2003-02-21 20:43:04
|
Or you can simply comment out the "#include_next <asm/posix_types.h>" statement in: /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include/asm/posix.h resulting in this posix_types.h file: /* This file fixes __FD_ZERO bug for glibc-1.x. */ #ifndef _POSIX_TYPES_H_WRAPPER #include_next <asm/posix_types.h> #if defined(__FD_ZERO) && !defined(__GLIBC__) #undef __FD_ZERO #define __FD_ZERO(fdsetp) \ do { \ int __d0, __d1; \ __asm__ __volatile__("cld ; rep ; stosl" \ : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "0" (__FDSET_LONGS), \ "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \ } while (0) #endif #define _POSIX_TYPES_H_WRAPPER #endif /* _POSIX_TYPES_H_WRAPPER */ Chris Marshall --- Jeff Dike <jd...@ka...> wrote: > be...@co... said: > > /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include/asm/posix_types.h:3, > > from /usr/local/src/uml/linux-2.4.19/include/linux/posix_types.h:46, > > from /usr/local/src/uml/linux-2.4.19/include/linux/types.h:8, > > from /usr/local/src/uml/linux-2.4.19/include/linux/kernel.h:13, > > from /usr/local/src/uml/linux-2.4.19/include/linux/wait.h:13, > > from /usr/local/src/uml/linux-2.4.19/include/linux/fs.h:12, > > from hppfs_kern.c:6: > > /usr/include/features.h:283: sys/cdefs.h: No such file or directory > > /usr/include/features.h:312: gnu/stubs.h: No such file or directory > > This is apparently the result of a botched gcc installation on Slackware. > > As a workaround, you can disable hppfs (and maybe hostfs) since the problem > only seems to happen there. > > Jeff > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |