wineX cvs undefined reference to `atexit'

lawson_whitney at juno.com lawson_whitney at juno.com
Sun Jun 17 13:01:42 CDT 2001


On Sun, 17 Jun 2001, Devin Titcomb wrote:

> [root at fnord-rides-again wine]# make
> make[1]: Entering directory `/root/wine/unicode'
> make[1]: `libwine_unicode.so' is up to date.
> make[1]: Leaving directory `/root/wine/unicode'
> make[1]: Entering directory `/root/wine/tools'
> make[2]: Entering directory `/root/wine/tools/specmaker'
> gcc -g -O2 -Wall -o specmaker  dll.o main.o misc.o msmangle.o output.o
> search.o symbol.o
> dll.o: In function `dll_open':
> /root/wine/tools/specmaker/dll.c:83: undefined reference to `atexit'
> output.o: In function `output_spec_preamble':
> /root/wine/tools/specmaker/output.c:30: undefined reference to `atexit'
> output.o: In function `output_header_preamble':
> /root/wine/tools/specmaker/output.c:133: undefined reference to `atexit'
> output.o: In function `output_c_preamble':
> /root/wine/tools/specmaker/output.c:199: undefined reference to `atexit'
> collect2: ld returned 1 exit status
> make[2]: *** [specmaker] Error 1
> make[2]: Leaving directory `/root/wine/tools/specmaker'
> make[1]: *** [specmaker] Error 2
> make[1]: Leaving directory `/root/wine/tools'
> make: *** [tools] Error 2
> [root at fnord-rides-again wine]#

Only guessing, of course, but I guess you have glibc-2.2.x (maybe only
glibc-2.2.3 is affected) and a gcc <2.95.3

If that is the case, this may be the reason:

http://sources.redhat.com/ml/libc-alpha/2001-03/msg00048.html

and this one way to fix it:

http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01187.html

I haven't actually tried the patch, by the time I got glibc-2.2.3,
gcc-2.95.3 was out, and I don't this problem with it.

The patch file for gcc-2.95.3 is only 300k or so, and it is not too
awfully onerous to patch and build it from the gcc-2.95.2 source.  Or
maybe somebody has made a ready-compiled one by now.  Check the distros.

Lawson

If you don't want my peaches, then don't shake my tree.
---cut here---


________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.




More information about the wine-users mailing list