[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
./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[3]: *** [/home/goodman/condor-7.2.0/externals/build/glibc-2.3.2.27.9.7/glibc-2.3.2.27.9.7-build/csu/init-first.o] Error 1


After recreated symlink of asm in
/home/goodman/condor-7.2.0/externals/install/linuxlibcheaders-2.6.9.1/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-2.3.2.27.9.7/glibc-2.3.2.27.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[1]: *** [all] Error 2
make[1]: Leaving directory `/home/goodman/condor-7.2.0/externals/build/glibc-2.3.2.27.9.7/glibc-2.3.2.27.9.7-build'
make failed
ERROR: build_glibc-2.3.2.27.9.7 returned: 1
ERROR: unable to build glibc-2.3.2.27.9.7
ERROR: aborting
make: *** [/home/goodman/condor-7.2.0/externals/triggers/glibc-2.3.2.27.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.

Goodman