Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4964926
  • 博文数量: 1696
  • 博客积分: 10870
  • 博客等级: 上将
  • 技术积分: 18357
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 15:16
文章分类
文章存档

2017年(1)

2016年(1)

2015年(1)

2013年(1)

2012年(43)

2011年(17)

2010年(828)

2009年(568)

2008年(185)

2007年(51)

分类: LINUX

2008-02-29 13:38:29

undefined reference to `__libc_csu_fini'


  • From: "RAMAKRISHNA JANARDHANA GORTHI"
  • To: taroon-list redhat com
  • Subject: undefined reference to `__libc_csu_fini'
  • Date: 1 Sep 2004 11:34:07 -0000

Hi,
I was facing some problems, which have symptoms very much similar to that described in the following link:


Initially, I was getting errors of the type:
undefined reference to `__ctype_b

However, after I followed the suggestions in the above link, the errors went away, and I started getting the following errors:

gcc -I../include -I/usr/include -I/usr/lib/i386-redhat-linux7/include -DLINUX -D_GCC3 -o 32/a.out a.c -L../lib -L/ram/ibm/ldap/V6.0/lib -L/usr/lib/i386-redhat-linux7/lib -lpthread -ldl

/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0xc): In function `_start':: undefined reference to `__libc_csu_fini'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x11): In function `_start':: undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status

I had precisely upgraded the compat-glibc and and linked the software against it
(-I/usr/lib/i386-redhat-linux7/include/ -L/usr/lib/i386-redhat-linux7/lib/ )

Do you have any idea, why I'm getting the error of the undefined references (__libc_csu_fini)??

The reason, I'm writing this mail is that I tried to re-open the bug 111928, but wasn't authorised to do the same!
I tried to open a new Bug, but it used to errneously update me that I had to mention a Component. I gave the Component on multiple accounts, but with no success.

Here's some additional information:

'rpm -qa | grep -i libstd' lists:
libstdc++-3.2.3-20
compat-libstdc++-7.3-2.96.122
libstdc++-ssa-3.5ssa-0.20030801.41
libstdc++-devel-3.2.3-20
compat-libstdc++-devel-7.3-2.96.122
libstdc++-ssa-devel-3.5ssa-0.20030801.41

'rpm -qa | grep -i glibc' lists:
glibc-utils-2.3.2-95.3
glibc-profile-2.3.2-95.6
compat-glibc-7.x-2.2.4.32.6
glibc-common-2.3.2-95.3
glibc-kernheaders-2.4-8.34
glibc-devel-2.3.2-95.3
glibc-headers-2.3.2-95.6
glibc-2.3.2-95.3

'rpm -qa | grep -i gcc' lists:
gcc-g77-ssa-3.5ssa-0.20030801.41
libgcc-ssa-3.5ssa-0.20030801.41
gcc-gnat-3.2.3-20
gcc-g77-3.2.3-20
gcc-objc-ssa-3.5ssa-0.20030801.41
gcc-objc-3.2.3-20
compat-gcc-c++-7.3-2.96.122
gcc-java-3.2.3-20
gcc-c++-ssa-3.5ssa-0.20030801.41
libgcc-3.2.3-24
gcc-ssa-3.5ssa-0.20030801.41
compat-gcc-7.3-2.96.122
gcc-c++-3.2.3-20
gcc-java-ssa-3.5ssa-0.20030801.41
gcc-3.2.3-20

Please let me know if you can assist me in this front. Also let me know if you need any further information on the same!

Thanks and Regards,
Ramakrishna.

阅读(4259) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~