List:MySQL++« Previous MessageNext Message »
From:Daniel Kolbo Date:April 21 2008 5:16pm
Subject:Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2
View as plain text  
Warren Young wrote:
> Daniel Kolbo wrote:
>> sqlpp_beemutex.o -MFmysqlpp_beemutex.o.d -MD lib/beemutex.cpp
>> process_begin: CreateProcess(NULL, -c "g++ -c -o mysqlpp_beemutex.o 
>> -g -mthreads
>> -I\"C:\Program Files
>> \MySQL\MySQL Server 5.0\include\"   -MTmysqlpp_beemutex.o 
>> -MFmysqlpp_beemutex.o.
>> d -MD lib/beemutex.cpp", ...) failed.
> > make (e=2): The system cannot find the file specified.
> > mingw32-make: *** [mysqlpp_beemutex.o] Error 2
> This looks like some sort of compiler error; it has nothing to do with 
> beemutex.cpp, that's just the first thing that gets built in the 
> library.  Perhaps CodeBlocks is distributing a version of the MinGW 
> tools different than the ones currently being distributed from 
>, which are broken in some way?
> A quick glance at the CodeBlocks site doesn't tell me which version of 
> MinGW they're distributing.  Can you drop in the official version 
> underneath CodeBlocks, or can you get the version details of what is 
> installed?
g++ is in the PATH

here is the print out of a command that displays g++'s info.

E:\>g++ -v
Reading specs from C:/Program 
Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld 
--with-gnu-as -
-host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads 
--disable-nls --
enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry 
ed --enable-sjlj-exceptions --enable-libgcj --disable-java-awt 
--without-x --ena
ble-java-gc=boehm --disable-libgcj-debug --enable-interpreter 
hronization --enable-libstdcxx-debug

Thread model: win32

gcc version 3.4.5 (mingw-vista special)

Hope that helps you diagnose the issue.

Thanks for the response,

mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo18 Apr
  • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
    • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
    • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo21 Apr
      • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
        • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo25 Apr
          • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young25 Apr
            • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo26 Apr
              • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young27 Apr