A question not quite answering your question:have you checked the host
system requirements section before your beginning of the building
process?

On 9/1/09, Giorgio Gambino <gambino.gior...@gmail.com> wrote:
> *i've resolved the problem modifyng this commands:*
>
> case `uname -m` in
>   i?86) echo "CFLAGS += -march=i686 -mtune=native" > configparms ;;
> esac
>
>
> cp -v nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S{,.orig}
>
>
> sed -e 's/FUTEX_WAIT\( | FUTEX_CLOCK_REALTIME, reg\)/FUTEX_WAIT_BITSET\1/' \
>         <nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S.orig \
>         >nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S
>
> *now the compilation finishes with success but i don't know if my changes
> have jeopardized something*
>
>
> 2009/9/1 Justin P. Mattock <justinmatt...@gmail.com>
>
>> Giorgio Gambino wrote:
>> > *nothing to do :( the compilation makes the same output*..
>> > *i'm thinking that may be a cpu compatibility problem.. is it possible?*
>> >
>> > 2009/8/31 Justin P. Mattock <justinmatt...@gmail.com
>> > <mailto:justinmatt...@gmail.com>>
>> >
>> >     Giorgio Gambino wrote:
>> >     > *Thanks i've resolved this problem installing gawk but there's
>> >     another..*
>> >     > *sorry for the banality of these problems but I am a beginner :)*
>> >     >
>> >     > make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1/elf'
>> >     > i686-lfs-linux-gnu-gcc   -shared -static-libgcc -Wl,-O1
>>  -Wl,-z,defs
>> >     > -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2
>> >     > -B/mnt/lfs/sources/glibc-build/csu/
>> >     > -Wl,--version-script=/mnt/lfs/sources/glibc-build/libc.map
>> >     > -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro
>> >     > -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main
>> >     > -L/mnt/lfs/sources/glibc-build -L/mnt/lfs/sources/glibc-build/math
>> >     > -L/mnt/lfs/sources/glibc-build/elf
>> >     > -L/mnt/lfs/sources/glibc-build/dlfcn
>> >     > -L/mnt/lfs/sources/glibc-build/nss
>> >     -L/mnt/lfs/sources/glibc-build/nis
>> >     > -L/mnt/lfs/sources/glibc-build/rt
>> >     > -L/mnt/lfs/sources/glibc-build/resolv
>> >     > -L/mnt/lfs/sources/glibc-build/crypt
>> >     > -L/mnt/lfs/sources/glibc-build/nptl
>> >     >
>> >
>> -Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl
>> >     > -o /mnt/lfs/sources/glibc-build/libc.so -T
>> >     > /mnt/lfs/sources/glibc-build/shlib.lds
>> >     > /mnt/lfs/sources/glibc-build/csu/abi-note.o
>> >     > /mnt/lfs/sources/glibc-build/elf/soinit.os
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os
>> >     > /mnt/lfs/sources/glibc-build/elf/sofini.os
>> >     > /mnt/lfs/sources/glibc-build/elf/interp.os
>> >     > /mnt/lfs/sources/glibc-build/elf/ld.so -lgcc
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> `__libc_fork':
>> >     >
>> >
>> /mnt/lfs/sources/glibc-2.10.1/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79:
>> >     > undefined reference to `__sync_bool_compare_and_swap_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     > `__nscd_drop_map_ref':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined
>> >     > reference to `__sync_fetch_and_add_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     `nscd_getpw_r':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd_getpw_r.c:232: undefined
>> >     > reference to `__sync_fetch_and_add_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     > `__nscd_drop_map_ref':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined
>> >     > reference to `__sync_fetch_and_add_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     `nscd_getgr_r':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd_getgr_r.c:321: undefined
>> >     > reference to `__sync_fetch_and_add_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     > `__nscd_drop_map_ref':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined
>> >     > reference to `__sync_fetch_and_add_4'
>> >     >
>> >
>> /mnt/lfs/sources/glibc-build/libc_pic.os:/mnt/lfs/sources/glibc-2.10.1/nscd/nscd_gethst_r.c:413:
>> >     > more undefined references to `__sync_fetch_and_add_4' follow
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     > `__nscd_get_map_ref':
>> >     > /mnt/lfs/sources/glibc-2.10.1/nscd/nscd_helper.c:432: undefined
>> >     > reference to `__sync_val_compare_and_swap_4'
>> >     > /mnt/lfs/sources/glibc-build/libc_pic.os: In function
>> >     > `*__GI___libc_freeres':
>> >     > /mnt/lfs/sources/glibc-2.10.1/malloc/set-freeres.c:39: undefined
>> >     > reference to `__sync_bool_compare_and_swap_4'
>> >     > collect2: ld returned 1 exit status
>> >     > make[1]: *** [/mnt/lfs/sources/glibc-build/libc.so] Error 1
>> >     > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1'
>> >     > make: *** [all] Error 2
>> >     Not sure, you can try and rm the glibc-build directory and start
>> fresh
>> >     to see(or just make clean).
>> >
>> >     Justin P. Mattock
>> >     --
>> >     http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> >     FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> >     Unsubscribe: See the above information page
>> >
>> >
>> Normally undefined reference means
>> that there is an changed/outdated *.h file
>>  in /usr/include. (or somewhere else).
>>
>> Justin P. Mattock
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>


-- 
Regards,
Hugh
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to