problems compilation gclib-2.2.5
hello, I have problems with gclib2.2.5
----------------------------------------------------
cd ../glibc-2.2.5
patch -Np1 -i ../glibc-2.2.5.patch
cd $LFS/usr/src/glibc-build
../glibc-2.2.5/configure \
--prefix=/usr --enable-add-ons \
--with-headers=$LFS/usr/include
-----------------------------------------------------------
when I execute make I obtain the following error :
# make
--------------------------------------------------------
syslog.c: In function `vsyslog':
syslog.c:219: `cancel_handler' undeclared (first use in this function)
syslog.c:219: (Each undeclared identifier is reported only once
syslog.c:219: for each function it appears in.)
syslog.c:219: warning: type defaults to `int' in declaration of `__save_FCT'
syslog.c:272: called object is not a function
syslog.c: In function `openlog':
syslog.c:330: parse error before `)'
syslog.c:330: `__save_FCT' undeclared (first use in this function)
syslog.c:330: parse error before `)'
syslog.c:338: `__save_ARG' undeclared (first use in this function)
syslog.c: In function `closelog':
syslog.c:362: parse error before `)'
syslog.c:362: `__save_FCT' undeclared (first use in this function)
syslog.c:362: parse error before `)'
syslog.c:372: `__save_ARG' undeclared (first use in this function)
make[2]: *** [/mnt/lfs/usr/src/glibc-build/misc/syslog.o] Error 1
make[1]: *** [misc/subdir_lib] Error 2
make: *** [all] Error 2
as it can be the problem
|