Since I have many difficult with FC4 and CentO5S, I try to compile
unattended-4.8 on a Fedora Core 8
On FC8, the installed glibc is:   glibc-2.7-2

kernel-2.6.24.3-50.fc8
kernel-headers-2.6.24.4-64.fc8

So in linuxboot/Makefile, I choose:
glibc=glibc-2.6.1
# Awful hack Comment out if glibc > 2.4. 2.4 does not support linuxthreads.
#glibc-linuxthreads=$(strip $(patsubst 
glibc-%,glibc-linuxthreads-%,$(glibc)))


The compilation failed with the message:

<</home/admin/dir.unattended/unattended-4.8/linuxboot/glibc-2.6.1/malloc/set-freeres.c:39:
 
undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[2]: *** 
[/home/admin/dir.unattended/unattended-4.8/linuxboot/build-glibc-2.6.1/libc.so] 
Error 1
make[2]: Leaving directory 
`/home/admin/dir.unattended/unattended-4.8/linuxboot/glibc-2.6.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/admin/dir.unattended/unattended-4.8/linuxboot/build-glibc-2.6.1'
make: *** [build-glibc-2.6.1/libc.so] Error 2
 >>

What version of glibc should I use ?

Régis

-- 
==================================================================
| Régis Gras                 | http://dcm.ujf-grenoble.fr        |
|   D.C.M.                   | mailto:[EMAIL PROTECTED] |
| 301, rue de la chimie      |         --------------            |
| DU BP 53                   | Tel 04 76 51 41 76                |
| 38041 Grenoble Cedex 9     | Fax 04 76 51 40 89                |
==================================================================


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to