Tremulous Forum
Mods => Modding Center => Topic started by: Thorn on December 28, 2006, 12:04:25 am
-
I get the following error after the doing make. It says a file is missing and the file is indeed missing, my problem is...where will i find this file? Evidence below. Hmm, it also says svn not found at start aswell as file missing o.O
*@THORN ~
$ cd E:/
*@THORN /e
$ cd mod
*@THORN /e/mod
$ make
/bin/sh.exe: svnversion: command not found
make -C src/tools/lcc install
make[1]: Entering directory `/e/mod/src/tools/lcc'
install -s -m 0755 build-mingw32-x86/q3lcc.exe ../
install -s -m 0755 build-mingw32-x86/q3cpp.exe ../
install -s -m 0755 build-mingw32-x86/q3rcc.exe ../
make[1]: Leaving directory `/e/mod/src/tools/lcc'
make -C src/tools/asm install
make[1]: Entering directory `/e/mod/src/tools/asm'
install -s -m 0755 q3asm.exe ../
make[1]: Leaving directory `/e/mod/src/tools/asm'
make targets B=build/release-mingw32-x86 CFLAGS=" -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -DUSE_CURL=1 -DCURL_STATICLIB -m32 -DUSE_LOCAL_HEADERS=1 -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD"
/bin/sh.exe: svnversion: command not found
make[1]: Entering directory `/e/mod'
gcc -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -DUSE_CURL=1 -DCURL_STATICLIB -m32 -DUSE_LOCAL_HEADERS=1 -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD -o build/release-mingw32-x86/client/win_gamma.o -c src/win32/win_gamma.c
In file included from src/win32/win_gamma.c:30:
src/win32/win_local.h:37:20: dinput.h: No such file or directory
src/win32/win_local.h:38:20: dsound.h: No such file or directory
make[1]: *** [build/release-mingw32-x86/client/win_gamma.o] Error 1
make[1]: Leaving directory `/e/mod'
make: *** [build_release] Error 2
*@THORN /e/mod
$
-
If you'll excuse me for asking a stupid question, do you have subversion? Does it work properly?
I got this error recently when I forgot to edit PATH, which apparently I need to do for the mac client to work
The command I use is:
PATH=$PATH:/usr/local/bin
export PATH
if I recall correctly. I need to do this every time I login until I can be bothered to alter the somethingorother file.
But that's just me. If you don't use a mac, it's unlikely to be the same problem.
edit - having reread the thing you posted it looks like you use windows (I think, not much experience). It won't be the same problem but it might be similar. Do a test to make sure subversion is working.
-
IANAWD (I am not a Windows developer) but isnt that the DirectX SDK you're missing? You either didn't download it or don't have your IDE setup correctly. :)
-
IANAWD (I am not a Windows developer)
unless you work for microsoft
-
Fixed
-
Could you explain what you did in case others have similar errors? I get Error 258, and I am on a windows box.
-
Could you explain what you did in case others have similar errors? I get Error 258, and I am on a windows box.
Error 258 is cause by a non respect of the language rules 752, 1499 and 5578b. At that point the compiler produces a category 9 object file which will cause that error 258 at link time. The solution is to apply the standard procedure 12B followed by the procedure 11A ( in that order ! ) and all should be well.
-
I didnt have the api
-
I think I get the idea of what you mean but I don't know what standard procedures 12B or 11A are. I also ran mingw32-make -B and got Error 2 instead.
-
I think I get the idea of what you mean but I don't know what standard procedures 12B or 11A are. I also ran mingw32-make -B and got Error 2 instead.
I don't know either, then again, I doubt you'll find someone here who knows what is the error 258 or the error 2 8)
-
So do you know how to fix this, or was that just something you coppied from somewhere else? You now confuse me.
-
Just give us more information about those errors. A dump of the compile log would be FAR more useful than meaningless numbers.
-
Install the winapi files
-
$ mingw32-make
File not found - *.d
C:/msys/1.0/mingw/bin/mingw32-make.exe -C src/tools/lcc install
File not found - *.d
mingw32-make.exe[1]: Entering directory `c:/bbx/tremulous-1.1.0-src/src/tools/lcc'
install -s -m 0755 build-mingw32-x86/q3lcc.exe ../
install -s -m 0755 build-mingw32-x86/q3cpp.exe ../
install -s -m 0755 build-mingw32-x86/q3rcc.exe ../
mingw32-make.exe[1]: Leaving directory `c:/bbx/tremulous-1.1.0-src/src/tools/lcc'
C:/msys/1.0/mingw/bin/mingw32-make.exe -C src/tools/asm install
mingw32-make.exe[1]: Entering directory `c:/bbx/tremulous-1.1.0-src/src/tools/asm'
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
install -s -m 0755 q3asm.exe ../
mingw32-make.exe[1]: Leaving directory `c:/bbx/tremulous-1.1.0-src/src/tools/asm'
C:/msys/1.0/mingw/bin/mingw32-make.exe targets B=build/release-mingw32-x86 CFLAGS=" -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN=1 -m32 -DUSE_LOCAL_HEADERS=1 -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 -fstrength-reduce -MMD"
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
C:\msys\1.0\mingw\bin\mingw32-make.exe: *** [build_release] Error 258
It did more durring the first run, same errors, just hasn't compiled everything again since. Thorn, I installed w32api.
-
Wow : /usr/bin/sh: -c: line 3: syntax error: unexpected end of file
Looks like a corrupt file or something. Maybe a problem with DOS/UNIX line endings. Try to reinstall the Tremulous source code :D
-
I redownloaded the source code and compiled it straight out of the .tar.gz. same errors.
-
Does anyone have any pointers at least? Like where to look?