[ace-users] ACE_Compression fails during building of ACe with Mingw

Steve Huston shuston at riverace.com
Mon May 4 14:18:43 CDT 2015


That smells like either:

- A mismatch in inline settings between the libACE build and the Compression build
- A mismatch in architecture output generated (32 vs. 64 bit)

Probably the former…

From: ace-users [mailto:ace-users-bounces at list.isis.vanderbilt.edu] On Behalf Of James Franco
Sent: Monday, May 04, 2015 3:15 PM
To: ace-users at list.isis.vanderbilt.edu
Subject: [ace-users] ACE_Compression fails during building of ACe with Mingw

I am getting the following error when attempting to build ACE with Mingw. Although libAce.dll does get created.  At the end of the build I get the following error

make[1]: Leaving directory 'c:/ACE/ACE_wrappers/ace/Compression'
GNUmakefile:53: recipe for target 'ACE_Compression' failed
make: *** [ACE_Compression] Error 2

These are the details of build system.

c:\>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --e
nable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32
-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/
mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv
-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

this is the error that I get after a while when using the make command in MSYS


GNUmakefile: /c/ACE/ACE_wrappers/ace/Compression/GNUmakefile.ACE_Compression MAKEFLAGS=w

g++ -Wnon-virtual-dtor -O3 -g -mthreads -mtune=generic -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unkno
wn-pragmas   -Ic:/ACE/ACE_wrappers -DACE_NO_INLINE -I../.. -DACE_COMPRESSION_BUILD_DLL  -c  -o .shobj/Compressor.o Compressor.cpp
dlltool --dllname libACE_Compression.dll --output-lib libACE_Compression.dll.a .shobj/Compressor.o &&  g++  -Wl,--enable-auto-image-base -Wl,--out-imp
lib,libACE_Compression.dll.a -shared -o libACE_Compression.dll -Wl,--enable-auto-import -L../../lib -L.  -L../../lib  .shobj/Compressor.o -lACE -lws2_
32 -lmswsock -liphlpapi -lwsock32 -lnetapi32
.shobj/Compressor.o: In function `ZN14ACE_CompressorD2Ev':
c:\ACE\ACE_wrappers\ace\Compression/Compressor.cpp:19: undefined reference to `_imp___ZN16ACE_Thread_MutexD1Ev'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7acquireEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:13: undefined reference to `_imp___ZN16ACE_Thread_Mutex7acquireEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7releaseEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:30: undefined reference to `_imp___ZN16ACE_Thread_Mutex7releaseEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7acquireEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:13: undefined reference to `_imp___ZN16ACE_Thread_Mutex7acquireEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7releaseEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:30: undefined reference to `_imp___ZN16ACE_Thread_Mutex7releaseEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7acquireEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:13: undefined reference to `_imp___ZN16ACE_Thread_Mutex7acquireEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7releaseEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:30: undefined reference to `_imp___ZN16ACE_Thread_Mutex7releaseEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7acquireEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:13: undefined reference to `_imp___ZN16ACE_Thread_Mutex7acquireEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7releaseEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:30: undefined reference to `_imp___ZN16ACE_Thread_Mutex7releaseEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7acquireEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:13: undefined reference to `_imp___ZN16ACE_Thread_Mutex7acquireEv'
.shobj/Compressor.o: In function `ZN9ACE_GuardI16ACE_Thread_MutexE7releaseEv':
c:/ACE/ACE_wrappers/ace/Guard_T.inl:30: undefined reference to `_imp___ZN16ACE_Thread_Mutex7releaseEv'
.shobj/Compressor.o: In function `ZN14ACE_CompressorC2E16ACE_CompressorIdj':
c:\ACE\ACE_wrappers\ace\Compression/Compressor.cpp:16: undefined reference to `_imp___ZN16ACE_Thread_MutexC1EPKcP15ACE_mutexattr_t'
collect2.exe: error: ld returned 1 exit status
c:/ACE/ACE_wrappers/include/makeinclude/rules.lib.GNU:242: recipe for target 'libACE_Compression.dll' failed
make[1]: *** [libACE_Compression.dll] Error 1
make[1]: Leaving directory 'c:/ACE/ACE_wrappers/ace/Compression'
GNUmakefile:53: recipe for target 'ACE_Compression' failed
make: *** [ACE_Compression] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/cgi-bin/mailman/private/ace-users/attachments/20150504/ad2f7734/attachment-0001.html>


More information about the ace-users mailing list