libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: having a lot of mingw build problems with atexit - what does it mean


From: Ralf Wildenhues
Subject: Re: having a lot of mingw build problems with atexit - what does it mean?
Date: Tue, 5 Dec 2006 08:35:41 +0100
User-agent: Mutt/1.5.13 (2006-11-01)

Hello Ed,

* Ed Hartnett wrote on Tue, Dec 05, 2006 at 12:43:25AM CET:
> 
> I am having a lot of trouble building my library with libtool under
> mingw. I keep getting these errors relating to atexit. Can anyone
> enlighten me as to what that is?

> libtool: link: (cd ".libs" && rm -f "libnetcdf.lib" && ln -s
> "libnetcdf-0.dll" "libnetcdf.lib")

Without checking much, this strikes me as a little odd.  Do you have a
tarball URL available, so we can see what you're doing?  Alternatively,
the Makefile.am's that are responsible for libnetcdf.la and t_nc?

> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -o t_nc.exe
> t_nc-t_nc.o libnetcdf.la 
> libtool: link: gcc -g -O2 -o .libs/t_nc.exe t_nc-t_nc.o
> ./.libs/libnetcdf.lib -L/usr/local/lib
> ./.libs/libnetcdf.lib(.text+0x160):crtstuff.c: multiple definition of
> `atexit'
> /mingw/lib/crt2.o(.text+0x2b0):crt1.c: first defined here
> ./.libs/libnetcdf.lib(.text+0x190):crtstuff.c: multiple definition of
> `_onexit'
> /mingw/lib/crt2.o(.text+0x2c0):crt1.c: first defined here

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]