I would like to compile condor-7.2.0 source codes on a Redhat box:
Type: x86_64 OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 5) gcc: version 3.4.6 20060404 (Red Hat 3.4.6-8)
I updated site.def according to my case. Then,
cd src ./build_init ./configure make and got the following error and make failed: ../linuxthreads/sysdeps/x86_64/pt-machine.h:27:24: asm/prctl.h: No such file or directory
make: *** [/home/goodman/condor-7.2.0/externals/build/glibc-18.104.22.168.9.7/glibc-22.214.171.124.9.7-build/csu/init-first.o] Error 1
After recreated symlink of asm in /home/goodman/condor-7.2.0/externals/install/linuxlibcheaders-126.96.36.199/include
from asm --> asm-i387 to asm --> asm-x86_64
and ran make again, the above error was gone, but there is new error and make failed again
/home/goodman/condor-7.2.0/externals/build/glibc-188.8.131.52.9.7/glibc-184.108.40.206.9.7-build/misc/stub-syscalls.c:4: error: conflicting types for '__arch_prctl'
../linuxthreads/sysdeps/x86_64/pt-machine.h:91: error: previous declaration of '__arch_prctl' was here make: *** [all] Error 2 make: Leaving directory `/home/goodman/condor-7.2.0/externals/build/glibc-220.127.116.11.9.7/glibc-18.104.22.168.9.7-build'
make failed ERROR: build_glibc-22.214.171.124.9.7 returned: 1 ERROR: unable to build glibc-126.96.36.199.9.7 ERROR: aborting make: *** [/home/goodman/condor-7.2.0/externals/triggers/glibc-188.8.131.52.9.7] Error 1
If I choose not to build glibc using ./configure --without-glibc, everything goes smoothly to the end to run make release or make public. I tried to use gcc-3.2.2 as configure.ac suggested, but still stuck at the same place.
So my question is how to build external glibc? Which part do I need to change? Is there any trick to build glibc?
Thanks for reading this email and hope we can work together to solve the challenge task.