OK, it finally worked.

Here's what happened:
-- I had a gcc 2.95.3 install that was done using plain vanilla, unpatched
source straight from ftp.gnu.org
-- I had built glibc 2.2.5 using this plain vanilla gcc 2.95.3 install
-- This led to all the undefined crap

Solution:
-- obtain vanilla gcc 2.95.3 source from GNU site
-- obtain gcc patch from LFS (ftp.linuxfromscratch.org) and apply
-- rebuild/reinstall gcc
-- rebuild/reinstall glibc
-- build X 4.2.0

and everyone is happy.

Thanks to all those who provided useful feedback!

One last question: is this gcc problem fixed in gcc 3.0.x?  I'd assume it is
but to test this assumption would require a rebuild of gcc and glibc again.
:)

Regards,
kw.

|-----Original Message-----
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
|Of Keith Warno
|Sent: 09 May 2002, Thursday 15:12
|To: [EMAIL PROTECTED]
|Subject: RE: [Xpert]4.2.0: undefined reference to atexit() (?!?!?)
|
|
||Please refer these messages:
||
|| http://sources.redhat.com/ml/libc-alpha/2001-03/msg00139.html
|| http://sources.redhat.com/ml/libc-alpha/2001-03/msg00140.html
||
|| This is not a bug of XFree86, perhaps you should upgrade gcc.
|
|Hmm I have upgraded gcc -- perhaps incorrectly -- to 3.0.4 and
|still receive
|these errors (more so now than before).
|
|Does anyone have a small piece of source code that will generate this
|undefined reference to atexit?
|
|thanks.
|kw.
|
||--
||ISHIKAWA Mutsumi
|| <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>,
||<[EMAIL PROTECTED]>
|
|_______________________________________________
|Xpert mailing list
|[EMAIL PROTECTED]
|http://XFree86.Org/mailman/listinfo/xpert
|

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to