View topic - mingw32-make gets error: and\ was unexpected at this time



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 12 Sep 2009, 02:54 

Joined: 25 Feb 2006, 20:09
Code:
C:\MinGW\bin\mingw32-make.exe
Scanning dependencies of target gamedata
and\ was unexpected at this time.
mingw32-make[2]: *** [CMakeFiles/gamedata] Error 255
mingw32-make[1]: *** [CMakeFiles/gamedata.dir/all] Error 2
mingw32-make: *** [all] Error 2


Any ideas? :(


Top
 Offline Profile  
 
PostPosted: 12 Sep 2009, 11:39 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
there should be log files in your build directory under CMakeFiles/CMake*.log, have a lok there please, if they contain more usefull info.

From the current info, it looks like it fails in a bat file, most likely in installer/make_gamedata_arch.bat. This was changed recently.
Could you please give some info about your OS? Which version of windows is mainly interesting here.


Top
 Offline Profile  
 
PostPosted: 13 Sep 2009, 20:06 

Joined: 25 Feb 2006, 20:09
I'm running Windows XP SP3

CMakeError.log
Code:
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp

Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp'

"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_report "C:\Documents and Settings\Administrator\Desktop\spring\binaries\CMakeFiles\CMakeTmp\CMakeFiles" 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.obj

C:\MinGW\bin\gcc.exe   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj   -c "C:\Program Files\CMake 2.6\share\cmake-2.6\Modules\CheckFunctionExists.c"

Linking C executable cmTryCompileExec.exe

"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1

C:\MinGW\bin\gcc.exe     -DCHECK_FUNCTION_EXISTS=pthread_create   CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj  -o cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lpthreads

c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lpthreads

collect2: ld returned 1 exit status

mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1

mingw32-make.exe[1]: Leaving directory `C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp'

mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2



Determining if the function vorbis_bitrate_addblock exists in the vorbis failed with the following output:
Change Dir: C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp

Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp'

"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_report "C:\Documents and Settings\Administrator\Desktop\spring\binaries\CMakeFiles\CMakeTmp\CMakeFiles" 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.obj

C:\MinGW\bin\gcc.exe   -DCHECK_FUNCTION_EXISTS=vorbis_bitrate_addblock   -o CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj   -c "C:\Program Files\CMake 2.6\share\cmake-2.6\Modules\CheckFunctionExists.c"

Linking C executable cmTryCompileExec.exe

"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1

C:\MinGW\bin\gcc.exe     -DCHECK_FUNCTION_EXISTS=vorbis_bitrate_addblock   CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj  -o cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a -Wl,--major-image-version,0,--minor-image-version,0  -lvorbis "C:\Documents and Settings\Administrator\Desktop\spring\mingwlibs\dll\ogg.dll" "C:\Documents and Settings\Administrator\Desktop\spring\mingwlibs\dll\vorbis.dll" "C:\Documents and Settings\Administrator\Desktop\spring\mingwlibs\dll\vorbisfile.dll"

c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lvorbis

collect2: ld returned 1 exit status

mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1

mingw32-make.exe[1]: Leaving directory `C:/Documents and Settings/Administrator/Desktop/spring/binaries/CMakeFiles/CMakeTmp'

mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2



Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.