egcs-980205 on m68k-next-nextstep3 dies when building libU77's getuid(ENOSYS undeclared)

Toon Moene toon@moene.indiv.nluug.nl
Mon Feb 9 14:46:00 GMT 1998


The full message:

/Users/toon/Unix/compilers/egcs-980205/gcc/xgcc  
-B/Users/toon/Unix/compilers/egcs-980205/gcc/ -c -DSkip_f2c_Undefs  
-I. -I. -I./../libI77 -I..  -DHAVE_CONFIG_H -g -O2 getuid_.c
getuid_.c: In function `G77_getuid_0':
getuid_.c:38: `ENOSYS' undeclared (first use this function)
getuid_.c:38: (Each undeclared identifier is reported only once
getuid_.c:38: for each function it appears in.)
make[3]: *** [getuid_.o] Error 1

ENOSYS is declared in:

/usr/include/bsd/sys/errno.h

as follows:

#ifdef _POSIX_SOURCE
        #define ENOSYS          87      /* Function not implemented. */
#endif  /* _POSIX_SOURCE */

I hope this is enough information for you autoconf guru's to  
determine what to change ...

Cheers,
Toon.



More information about the Gcc mailing list