Author Topic: Compiling error  (Read 12943 times)

Thorn

  • Guest
Compiling error
« 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

Code: [Select]
*@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
$


benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Compiling error
« Reply #1 on: December 28, 2006, 12:10:34 am »
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:
Code: [Select]
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.
benmachine

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
Compiling error
« Reply #2 on: December 28, 2006, 02:01:18 am »
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. :)

vcxzet

  • Guest
Compiling error
« Reply #3 on: December 28, 2006, 02:27:40 am »
Quote from: "Risujin"
IANAWD (I am not a Windows developer)

unless you work for microsoft

Thorn

  • Guest
Compiling error
« Reply #4 on: December 28, 2006, 12:47:42 pm »
Fixed

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #5 on: January 09, 2007, 03:11:09 pm »
Could you explain what you did in case others have similar errors? I get Error 258, and I am on a windows box.

Stof

  • Posts: 1343
  • Turrets: +1/-1
Compiling error
« Reply #6 on: January 09, 2007, 04:50:04 pm »
Quote from: "Kuszja"
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.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Thorn

  • Guest
Compiling error
« Reply #7 on: January 09, 2007, 04:50:06 pm »
I didnt have the api

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #8 on: January 09, 2007, 05:54:14 pm »
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.

Stof

  • Posts: 1343
  • Turrets: +1/-1
Compiling error
« Reply #9 on: January 09, 2007, 06:33:14 pm »
Quote from: "Kuszja"
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)
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #10 on: January 09, 2007, 08:18:03 pm »
So do you know how to fix this, or was that just something you coppied from somewhere else? You now confuse me.

Stof

  • Posts: 1343
  • Turrets: +1/-1
Compiling error
« Reply #11 on: January 09, 2007, 08:34:37 pm »
Just give us more information about those errors. A dump of the compile log would be FAR more useful than meaningless numbers.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Thorn

  • Guest
Compiling error
« Reply #12 on: January 09, 2007, 08:41:22 pm »
Install the winapi files

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #13 on: January 09, 2007, 09:50:55 pm »
Code: [Select]
$ 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.

Stof

  • Posts: 1343
  • Turrets: +1/-1
Compiling error
« Reply #14 on: January 09, 2007, 10:21:22 pm »
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
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #15 on: January 10, 2007, 03:08:14 pm »
I redownloaded the source code and compiled it straight out of the .tar.gz. same errors.

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Compiling error
« Reply #16 on: January 17, 2007, 06:55:48 pm »
Does anyone have any pointers at least? Like where to look?