On 8. 5. 2015 2:18, James Franco wrote: > Here is the problem though > This is the result using msystem2. and below it is the result using msystem
The correct names are msys2 and msys (possibly with different capitalization). In the case of msys and mingw, there's a bunch of similar names with different meanings, so it's best to stick with the official names. Just a friendly reminder. > *....* > *...* > *System_Time.o .shobj/Task.o .shobj/Thread.o .shobj/Thread_Adapter.o > .shobj/Thread_Control.o .shobj/Thread_Exit.o .shobj/Thread_Hook.o > .shobj/Thread_Manager.o .shobj/Thread_Mutex.o .shobj/Thread_Semaphore.o > .shobj/Throughput_Stats.o .shobj/Time_Policy.o .shobj/Time_Value.o > .shobj/Timeprobe.o .shobj/TLI.o .shobj/TLI_Acceptor.o .shobj/TLI_Connector.o > .shobj/TLI_Stream.o .shobj/Token.o .shobj/TP_Reactor.o .shobj/Trace.o > .shobj/TSS_Adapter.o .shobj/TTY_IO.o .shobj/UNIX_Addr.o > .shobj/UPIPE_Acceptor.o .shobj/UPIPE_Connector.o .shobj/UPIPE_Stream.o > .shobj/WFMO_Reactor.o .shobj/WIN32_Asynch_IO.o .shobj/WIN32_Proactor.o > .shobj/XTI_ATM_Mcast.o .shobj/ace.rc.o -lws2_32 -lmswsock -liphlpapi > -lwsock32 -lnetapi32* > *C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: > cannot find .: Permission denied* > *collect2.exe: error: ld returned 1 exit status* > *C:/ACE/ACE_wrappers/include/makeinclude/rules.lib.GNU:242: recipe for target > 'libACE.dll' failed* > *make64[1]: *** [libACE.dll] Error 1* > *make64[1]: Leaving directory 'C:/ACE/ACE_wrappers/ace'* > *GNUmakefile:45: recipe for target 'ACE' failed* > *make64: *** [ACE] Error 2* > * > * > *admin@US01WKS03044 MSYS /c/ACE/ACE_wrappers/ace* > *$ gcc -v* > *Using built-in specs.* > *COLLECT_GCC=C:\mingw64\bin\gcc.exe* > *COLLECT_LTO_WRAPPER=C:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.2/lto-wrapper.exe* > *Target: x86_64-w64-mingw32* > *Configured with: ../../../src/gcc-4.8.2/configure --host=x86_64-w64-mingw32 > --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 > --with-sysroot=/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64 > --with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ > --enable-shared --enable-static --disable-multilib > --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto > --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp > --enable-libatomic --enable-lto --enable-graphite --enable-checking=release > --enable-fully-dynamic-string --enable-version-specific-runtime-libs > --disable-isl-version-check --disable-cloog-version-check > --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap > --disable-rpath --disable-win32-registry --disable-nls --disable-werror > --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona > --with-tune=core2 --with-libiconv --with-system-zlib > --with-gmp=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-mpfr=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-mpc=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-isl=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-cloog=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --enable-cloog-backend=isl --with-pkgversion='x86_64-win32-seh-rev3, Built by > MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 > CFLAGS='-O2 -pipe > -I/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64/opt/include > -I/c/mingw482/prerequisites/x86_64-zlib-static/include > -I/c/mingw482/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 > -pipe -I/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64/opt/include > -I/c/mingw482/prerequisites/x86_64-zlib-static/include > -I/c/mingw482/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS= > LDFLAGS='-pipe -L/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64/opt/lib > -L/c/mingw482/prerequisites/x86_64-zlib-static/lib > -L/c/mingw482/prerequisites/x86_64-w64-mingw32-static/lib '* > *Thread model: win32* > *gcc version 4.8.2 (x86_64-win32-seh-rev3, Built by MinGW-W64 project)* > > > > This is the result using the regular msystem > The library builds fine > and this is the output of the build system > admin@US01WKS03044 ~ > $ export PATH=/c/mingw64/bin:$PATH > > admin@US01WKS03044 ~ > $ gcc -v > Using built-in specs. > COLLECT_GCC=c:\mingw64\bin\gcc.exe > COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.2/lto-wrapper.exe > Target: x86_64-w64-mingw32 > Configured with: ../../../src/gcc-4.8.2/configure --host=x86_64-w64-mingw32 > --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw3 > -with-sysroot=/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64 > --with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ > ble-static --disable-multilib > --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto > --enable-libstdcxx-time=yes --enable-threads= > p --enable-libatomic --enable-lto --enable-graphite --enable-checking=release > --enable-fully-dynamic-string --enable-version-spec > isable-isl-version-check --disable-cloog-version-check > --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --dis > win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as > --with-gnu-ld --with-arch=nocona --with-tune=core2 > h-system-zlib --with-gmp=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-mpfr=/c/mingw482/prerequisites/x86_64-w64-min > c=/c/mingw482/prerequisites/x86_64-w64-mingw32-static > --with-isl=/c/mingw482/prerequisites/x86_64-w64-mingw32-static --with-cloog > sites/x86_64-w64-mingw32-static --enable-cloog-backend=isl > --with-pkgversion='x86_64-win32-seh-rev3, Built by MinGW-W64 project' > sourceforge.net/projects/mingw-w64 > <http://sourceforge.net/projects/mingw-w64> CFLAGS='-O2 -pipe > -I/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64/opt/include -I/c/mingw > _64-zlib-static/include > -I/c/mingw482/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 > -pipe -I/c/mingw482/x86_64-4 > v3/mingw64/opt/include -I/c/mingw482/prerequisites/x86_64-zlib-static/include > -I/c/mingw482/prerequisites/x86_64-w64-mingw32-stat > LDFLAGS='-pipe -L/c/mingw482/x86_64-482-win32-seh-rt_v3-rev3/mingw64/opt/lib > -L/c/mingw482/prerequisites/x86_64-zlib-static/lib > isites/x86_64-w64-mingw32-static/lib ' > Thread model: win32 > gcc version 4.8.2 (x86_64-win32-seh-rev3, Built by MinGW-W64 project) > > Any suggestions ? You could've included a link to the software you're building (there seem to be multiple open-source projects of the name ACE). I'm assuming it's <http://www.cs.wustl.edu/~schmidt/ACE.html>. Anyway, to the point. Building ACE in MSYS2 works for me (I'm using "gcc version 4.9.2 (Rev5, Built by MSYS2 project)"). Judging from the error, maybe it's a global issue -- are you able to successfully link anything with ld in MSYS2? Can you provide an small example for us to test? The example would ideally be just two or three small files. Building a big third-party project isn't exactly a quick way to test hypotheses. -- David Macek
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
