This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Error building glibc-2.10.1
- From: JohnT <jrt at worldlinc dot net>
- To: libc-help <libc-help at sourceware dot org>
- Date: Wed, 18 Nov 2009 01:40:02 -0600
- Subject: Error building glibc-2.10.1
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
--
http://www.mozilla.org Firefox browser, Thunderbird email, Seamonkey all-in-one, Sunbird calendar and more. Free open-source software for Windows, Linux, Mac OS and other systems