This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GCC >= 3 problems
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Steve Marotta <Stephen dot J dot Marotta at lmco dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 23 Jan 2002 09:10:48 -0800
- Subject: Re: GCC >= 3 problems
On Wed, Jan 23, 2002 at 08:08:27AM -0500, Steve Marotta wrote:
>
> I'm also running into another problem when it comes to compiling C code
> using the Mesa 3D libraries. Here is the error I receive:
>
> /usr/lib/libglut.so: undefined reference to `atexit'
> collect2: ld returned 1 exit status
> make: *** [maze] Error 1
>
If you use Linux and glibc 2.2, it can be caused by a linker bug. Which
binutils are you using? My Linux binutils has a fix for that.
H.J.