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 _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool