Re: [lfs-support] glibc-2.15 make error undefined reference to `__rela_iplt_start' undefined reference to `__rela_iplt_end'

2012-05-16 Thread Eleanore Boyd

On 5/16/2012 12:22 AM, lei huang wrote:

help help!!!

On Tue, May 15, 2012 at 10:01 AM, lei huangcode.huang...@gmail.com  wrote:

system: centos5.8 linux2.6.18 gcc44

lfs: binutils-2.22 gcc-4.7.0 glibc-2.15

lfs-man Linux From Scratch - Version SVN-20120513

build glibc erro:

gcc44 -nostdlib -nostartfiles -static -o
/myos/user/tools_src/build-glibc/elf/sln
/myos/user/tools_src/build-glibc/csu/crt1.o
/myos/user/tools_src/build-glibc/csu/crti.o `gcc44
--print-file-name=crtbegin.o`
/myos/user/tools_src/build-glibc/elf/sln.o  -Wl,--start-group
/myos/user/tools_src/build-glibc/libc.a -lgcc -lgcc_eh
-Wl,--end-group `gcc44  --print-file-name=crtend.o`
/myos/user/tools_src/build-glibc/csu/crtn.o
/myos/user/tools_src/build-glibc/libc.a(elf-init.o): In function
`__libc_csu_irel':
/myos/user/tools_src/glibc-2.15/csu/elf-init.c:88: undefined reference
to `__rela_iplt_end'
/myos/user/tools_src/glibc-2.15/csu/elf-init.c:88: undefined reference
to `__rela_iplt_start'
/myos/user/tools_src/build-glibc/libc.a(elf-init.o): In function `elf_irela':
/myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:43:
undefined reference to `__rela_iplt_start'
/myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
undefined reference to `__rela_iplt_start'
/myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
undefined reference to `__rela_iplt_start'
/myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
undefined reference to `__rela_iplt_start'
collect2: ld returned 1 exit status
make[2]: *** [/myos/user/tools_src/build-glibc/elf/sln] Error 1
make[2]: Leaving directory `/myos/user/tools_src/glibc-2.15/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/myos/user/tools_src/glibc-2.15'

how to fix it??

Thanks,

huanglei
This will sound very mean, but: Learn CentOS inside and out first. Find 
all the different ways it works. /Then/ try building LFS again.


Or, try a copy+paste method, and keep an eye out for replace_me, which 
need the appropriate value for the system in the line (pointy brackets 
not required).


Either way, trying to customize LFS from the start doesn't seem to be 
working on your system. It usually ends in failure if you're new to the 
book (and if you're new to Linux).


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


Re: [lfs-support] glibc-2.15 make error undefined reference to `__rela_iplt_start' undefined reference to `__rela_iplt_end'

2012-05-15 Thread lei huang
help help!!!

On Tue, May 15, 2012 at 10:01 AM, lei huang code.huang...@gmail.com wrote:
 system: centos5.8 linux2.6.18 gcc44

 lfs: binutils-2.22 gcc-4.7.0 glibc-2.15

 lfs-man Linux From Scratch - Version SVN-20120513

 build glibc erro:

 gcc44 -nostdlib -nostartfiles -static -o
 /myos/user/tools_src/build-glibc/elf/sln
 /myos/user/tools_src/build-glibc/csu/crt1.o
 /myos/user/tools_src/build-glibc/csu/crti.o `gcc44
 --print-file-name=crtbegin.o`
 /myos/user/tools_src/build-glibc/elf/sln.o  -Wl,--start-group
 /myos/user/tools_src/build-glibc/libc.a -lgcc -lgcc_eh
 -Wl,--end-group `gcc44  --print-file-name=crtend.o`
 /myos/user/tools_src/build-glibc/csu/crtn.o
 /myos/user/tools_src/build-glibc/libc.a(elf-init.o): In function
 `__libc_csu_irel':
 /myos/user/tools_src/glibc-2.15/csu/elf-init.c:88: undefined reference
 to `__rela_iplt_end'
 /myos/user/tools_src/glibc-2.15/csu/elf-init.c:88: undefined reference
 to `__rela_iplt_start'
 /myos/user/tools_src/build-glibc/libc.a(elf-init.o): In function `elf_irela':
 /myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:43:
 undefined reference to `__rela_iplt_start'
 /myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
 undefined reference to `__rela_iplt_start'
 /myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
 undefined reference to `__rela_iplt_start'
 /myos/user/tools_src/glibc-2.15/csu/../sysdeps/x86_64/dl-irel.h:40:
 undefined reference to `__rela_iplt_start'
 collect2: ld returned 1 exit status
 make[2]: *** [/myos/user/tools_src/build-glibc/elf/sln] Error 1
 make[2]: Leaving directory `/myos/user/tools_src/glibc-2.15/elf'
 make[1]: *** [elf/others] Error 2
 make[1]: Leaving directory `/myos/user/tools_src/glibc-2.15'

 how to fix it??

 Thanks,

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