JohnT wrote:
Since the current or previous release of Centos (Redhat Enterprise)
used glibc-2.5x, I thought it would be considered recent, but here's
a glibc-2.10.1 problem I encountered. The configuration settings were:
--prefix=/usr CFLAGS=" -O2 -march=i686"
/home2/on07/bldlib210/libc_pic.os: In function `fallocate':
(.text+0xaedb4): undefined reference to `__call_fallocate'
/home2/on07/bldlib210/libc_pic.os: In function `__fallocate64_l64':
(.text+0xaedc5): undefined reference to `__call_fallocate'
collect2: ld returned 1 exit status
make[1]: *** [/home2/on07/bldlib210/libc.so] Error 1
make[1]: Leaving directory `/home2/on07/glibc-2.10.1'
make: *** [all] Error 2
Again, help in resolving this so I can get a successful build would
be appreciated. The assembler syntax change was a very good tip, not
obvious from binutils or gas changelog.
John Tellefson
not sure whats happening, but by
just glancing I see that:
libc_pic.os was/is being built
with no idea about __call_fallocate'
maybe a header file, or a library
that's been built with the wrong dependencies.
Justin P. Mattock