[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] A tough task

Hi all,

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
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[3]: *** [/home/goodman/condor-7.2.0/externals/build/glibc-] Error 1

After recreated symlink of asm in
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- error: conflicting types for '__arch_prctl'
../linuxthreads/sysdeps/x86_64/pt-machine.h:91: error: previous declaration of '__arch_prctl' was here
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/goodman/condor-7.2.0/externals/build/glibc-'
make failed
ERROR: build_glibc- returned: 1
ERROR: unable to build glibc-
ERROR: aborting
make: *** [/home/goodman/condor-7.2.0/externals/triggers/glibc-] 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.