Building rpm
Hi all,
I am trying to build an rpm from source but stuck with the error below. Can anyone advice to solve the problems? I removed the text " && IS_IN (libc)" and the build went through fine. However I am concern of the implications in doing so. Thank you.
Command
-------
/root/rpmbuild/BUILD/gcc-2.96-20000731/obj-i686-redhat-linux/gcc/xgcc \
-B/root/rpmbuild/BUILD/gcc-2.96-20000731/obj-i686-redhat-linux/gcc/ -B/usr/i686-redhat-linux/bin/ \
-B/usr/i686-redhat-linux/lib/ -isystem /usr/i686-redhat-linux/include -c -O2 -pipe -march=i686 -I. \
-I../../../libio -D_IO_MTSAFE_IO -fpic ../../../libio/iogetline.c -o pic/iogetline.o
Error
-----
/usr/include/bits/stdio-lock.h:47:28: missing binary operator before '&&'
Source
------
#if defined _LIBC && IS_IN (libc)
# define _IO_acquire_lock(_fp) \
_IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \
_IO_flockfile (_fp)
|