Code: Show/Hide Compiler: Default compiler Executing make... make.exe -f "Makefile" all ../windeps/install.exe core/backtrace ../build/asss.exe ../build/dbtool.exe ../build/database.dll ../build/funky.dll ../build/pymod.dll ../build/scoring.dll ../build/turf.dll py/exec.py py/fg_turf.py py/fg_wz.py py/fm_password.py py/watchgreen.py ../windeps/zlib1.dll ../windeps/pthreadGC2.dll ../windeps/python24.dll ../windeps/libdb4.dll ../bin process_begin: CreateProcess((null), uname -s, ...) failed. Execution terminated |
Code: Show/Hide Compiler: Default compiler Building Makefile: "E:\ASSS SOURCE\asss-1.4.3\src\Makefile.win" Executing make... make.exe -f "E:\ASSS SOURCE\asss-1.4.3\src\Makefile.win" all gcc.exe -c contrib/auth_vie.c -o contrib/auth_vie.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c contrib/mark.c -o contrib/mark.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c contrib/voices.c -o contrib/voices.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/watchdamage.c -o core/watchdamage.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/admincmd.c -o core/admincmd.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/ap_multipub.c -o core/ap_multipub.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/arenaman.c -o core/arenaman.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/arenaperm.c -o core/arenaperm.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/auth_ban.c -o core/auth_ban.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/auth_file.c -o core/auth_file.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/auth_prefix.c -o core/auth_prefix.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/balls.c -o core/balls.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/banners.c -o core/banners.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/billing.c -o core/billing.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" core/billing.c: In function `check_connected': core/billing.c:972: warning: passing arg 4 of `getsockopt' from incompatible pointer type gcc.exe -c core/billing_ssc.c -o core/billing_ssc.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/bricks.c -o core/bricks.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/buy.c -o core/buy.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/bw_default.c -o core/bw_default.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/bw_nolimit.c -o core/bw_nolimit.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/capman.c -o core/capman.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" gcc.exe -c core/cfghelp.c -o core/cfghelp.o -I"C:/Dev-Cpp/include" -I"E:/asss/asss-1.4.3/src/include" -I"E:/ASSS SOURCE/asss-1.4.3/src" -I"E:/ASSS SOURCE/asss-1.4.3/windeps" -I"E:/ASSS SOURCE/asss-1.4.3/src/include" core/cfghelp.c:8:23: cfghelp.inc: No such file or directory core/cfghelp.c: In function `find_sec': core/cfghelp.c:14: error: `cfg_help_section_count' undeclared (first use in this function) core/cfghelp.c:14: error: (Each undeclared identifier is reported only once core/cfghelp.c:14: error: for each function it appears in.) core/cfghelp.c:15: error: `cfg_help_sections' undeclared (first use in this function) core/cfghelp.c: In function `find_key': core/cfghelp.c:23: error: dereferencing pointer to incomplete type core/cfghelp.c:24: error: dereferencing pointer to incomplete type core/cfghelp.c:25: error: dereferencing pointer to incomplete type core/cfghelp.c: At top level: core/cfghelp.c:29: error: syntax error before "cfghelpint" core/cfghelp.c:31: warning: braces around scalar initializer core/cfghelp.c:31: warning: (near initialization for `cfghelpint') core/cfghelp.c:31: error: `I_CFGHELP' undeclared here (not in a function) core/cfghelp.c:31: warning: excess elements in scalar initializer core/cfghelp.c:31: warning: (near initialization for `cfghelpint') core/cfghelp.c:31: warning: excess elements in scalar initializer core/cfghelp.c:31: warning: (near initialization for `cfghelpint') core/cfghelp.c:31: warning: excess elements in scalar initializer core/cfghelp.c:31: warning: (near initialization for `cfghelpint') core/cfghelp.c:31: warning: excess elements in scalar initializer core/cfghelp.c:31: warning: (near initialization for `cfghelpint') core/cfghelp.c:32: error: `cfg_help_sections' undeclared here (not in a function) core/cfghelp.c:32: warning: excess elements in scalar initializer core/cfghelp.c:32: warning: (near initialization for `cfghelpint') core/cfghelp.c:33: error: `cfg_help_section_count' undeclared here (not in a function) core/cfghelp.c:33: warning: excess elements in scalar initializer core/cfghelp.c:33: warning: (near initialization for `cfghelpint') core/cfghelp.c:34: error: `cfg_help_all_section_names' undeclared here (not in a function) core/cfghelp.c:34: warning: excess elements in scalar initializer core/cfghelp.c:34: warning: (near initialization for `cfghelpint') core/cfghelp.c:35: warning: excess elements in scalar initializer core/cfghelp.c:35: warning: (near initialization for `cfghelpint') core/cfghelp.c:36: warning: excess elements in scalar initializer core/cfghelp.c:36: warning: (near initialization for `cfghelpint') core/cfghelp.c:36: warning: data definition has no type or storage class make.exe: *** [core/cfghelp.o] Error 1 Execution terminated |
Smong wrote: |
cfghelp.inc is correct. During the compilation process some python scripts are run to generate several .inc files. In order to do this from devcpp a custom makefile has to be used. Devcpp doesn't come with uname.exe so the makefile fails. Note, in your second attempt it looks like you disabled the custom makefile.
In the past I think the full version of asss came with the .inc files already generated. I just checked my copy of 143 and they don't seem to be there. What I do on windows is use the precompiled version of asss. I then recompile individual modules when I edit them using a seperate project. |
Code: Show/Hide Compiler: Default compiler Executing make... make.exe -f "Makefile" all process_begin: CreateProcess(NULL, uname -s, ...) failed. Makefile:110: ../build/deps.mk: No such file or directory ../windeps/install.exe -d ../build/ ../windeps/install.exe: cannot create directory `..\build\': File exists make.exe: [../build/.stamp] Error 1 (ignored) ../windeps/install.exe Makefile ../build/.stamp ../windeps/python.exe ../scripts/makedeps.py -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -I../windeps -I../windeps/mysqlinc -I../windeps/pythoninc \ */*.c -P '$(BUILDDIR)/' -o ../build/deps.mk makedeps: ignoring option: -D_REENTRANT makedeps: ignoring option: -D_GNU_SOURCE makedeps: warning: "need_errno.h" not found makedeps: warning: "errno.h" not found makedeps: warning: "unixstuff.h" not found gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/main.o main\main.c process_begin: CreateProcess(NULL, uname -s, ...) failed. gcc: installation problem, cannot exec `cc1': No such file or directory make.exe: *** [../build/main.o] Error 1 Execution terminated |
Quote: |
I'm using Dev-C++ 4.9.9.2. I fixed this error by adding the path of cc1.exe to the compiler's binary paths. Menu bar: "Tools|Compiler Options" Compiler Options dialog: "Directories" tab Directories Tab: "Binaries" sub tab Add path to cc1.exe dir: "C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2" (you'll have to locate it on your system) Shift+F11 |
Quote: |
Compiler: Default compiler Executing make... make.exe -f "Makefile" all process_begin: CreateProcess(NULL, uname -s, ...) failed. Makefile:110: ../build/deps.mk: No such file or directory ../windeps/install.exe -d ../build/ ../windeps/install.exe: cannot create directory `..\build\': File exists make.exe: [../build/.stamp] Error 1 (ignored) ../windeps/install.exe Makefile ../build/.stamp ../windeps/python.exe ../scripts/makedeps.py -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -I../windeps -I../windeps/mysqlinc -I../windeps/pythoninc \ */*.c -P '$(BUILDDIR)/' -o ../build/deps.mk makedeps: ignoring option: -D_REENTRANT makedeps: ignoring option: -D_GNU_SOURCE makedeps: warning: "need_errno.h" not found makedeps: warning: "errno.h" not found makedeps: warning: "unixstuff.h" not found gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/main.o main\main.c process_begin: CreateProcess(NULL, uname -s, ...) failed. main\main.c:4:20: limits.h: No such file or directory main\main.c:5:19: stdio.h: No such file or directory main\main.c:6:20: stdlib.h: No such file or directory main\main.c:7:20: string.h: No such file or directory In file included from include/asss.h:15, from main\main.c:18: include/defs.h:12:20: stddef.h: No such file or directory In file included from include/defs.h:37, from include/asss.h:15, from main\main.c:18: include/util.h:57: error: syntax error before "bytes" include/util.h:59: error: syntax error before "size_t" include/util.h:68: error: syntax error before "size_t" include/util.h:82: error: syntax error before "size_t" include/util.h:337: error: syntax error before "size_t" include/util.h:337: warning: no semicolon at end of struct or union include/util.h:339: error: syntax error before '}' token In file included from include/util.h:346, from include/defs.h:37, from include/asss.h:15, from main\main.c:18: ../windeps/pthread.h:247:18: time.h: No such file or directory ../windeps/pthread.h:256:20: setjmp.h: No such file or directory ../windeps/pthread.h:290:19: errno.h: No such file or directory In file included from ../windeps/pthread.h:317, from include/util.h:346, from include/defs.h:37, from include/asss.h:15, from main\main.c:18: ../windeps/sched.h:119:25: sys/types.h: No such file or directory In file included from ../windeps/pthread.h:317, from include/util.h:346, from include/defs.h:37, from include/asss.h:15, from main\main.c:18: ../windeps/sched.h:152: error: syntax error before "pid" ../windeps/sched.h:154: error: syntax error before "pid" In file included from include/util.h:346, from include/defs.h:37, from include/asss.h:15, from main\main.c:18: ../windeps/pthread.h:905: error: syntax error before "size_t" ../windeps/pthread.h:914: error: syntax error before "size_t" In file included from include/defs.h:37, from include/asss.h:15, from main\main.c:18: include/util.h:397: error: syntax error before "time_t" include/util.h:397: warning: no semicolon at end of struct or union include/util.h:398: warning: type defaults to `int' in declaration of `MMapData' include/util.h:398: warning: data definition has no type or storage class include/util.h:406: error: syntax error before '*' token include/util.h:406: warning: type defaults to `int' in declaration of `MapFile' include/util.h:406: warning: data definition has no type or storage class include/util.h:408: error: syntax error before '*' token include/util.h:411: error: syntax error before '*' token In file included from include/defs.h:200, from include/asss.h:15, from main\main.c:18: include/win32compat.h:7:21: windows.h: No such file or directory include/win32compat.h:8:21: winsock.h: No such file or directory include/win32compat.h:10:20: malloc.h: No such file or directory ... make.exe: *** [../build/main.o] Error 1 Execution terminated |
Quote: |
Compiler: Default compiler Executing make clean process_begin: CreateProcess(NULL, uname -s, ...) failed. Makefile:116: ../build/deps.mk: No such file or directory ../windeps/install.exe -d ../build/ ../windeps/install.exe: cannot create directory `..\build\': File exists make.exe: [../build/.stamp] Error 1 (ignored) ../windeps/install.exe Makefile ../build/.stamp ../windeps/python.exe ../scripts/makedeps.py -I. -Iinclude -IC:/Dev-Cpp/include -IC:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -I../windeps -I../windeps/mysqlinc -I../windeps/pythoninc \ */*.c -P '$(BUILDDIR)/' -o ../build/deps.mk makedeps: ignoring option: -IC:/Dev-Cpp/include makedeps: ignoring option: -IC:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include makedeps: ignoring option: -D_REENTRANT makedeps: ignoring option: -D_GNU_SOURCE makedeps: warning: "need_errno.h" not found makedeps: warning: "errno.h" not found makedeps: warning: "Python.h" not found makedeps: warning: "structmember.h" not found rm -f ../build/* process_begin: CreateProcess(NULL, uname -s, ...) failed. gcc -std=gnu99 -pipe -I. -Iinclude -IC:/Dev-Cpp/include -IC:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/main.o main\main.c ... core\obscene.c: In function `Filter': core\obscene.c:79: warning: initialization discards qualifiers from pointer target type core\obscene.c:97: warning: assignment discards qualifiers from pointer target type gcc -std=gnu99 -pipe -I. -Iinclude -IC:/Dev-Cpp/include -IC:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/deadlock.o core\deadlock.c dlltool.exe --export-all-symbols -D asss.exe -e ../build/export.exp -l ../build/import.imp ../build/main.o ../build/module.o ../build/cmod.o C:/Dev-Cpp/lib/crt2.o ../build/util.o ../build/pathutil.o ../build/protutil.o ../build/rwlock.o ../build/app.o ../build/md5.o ../build/win32compat.o ../build/config.o ../build/prng.o ../build/player.o ../build/core.o ../build/logman.o ../build/idle.o ../build/mainloop.o ../build/net.o ../build/enc_null.o ../build/enc_vie.o ../build/arenaman.o ../build/mapdata.o ../build/mapnewsdl.o ../build/clientset.o ../build/capman.o ../build/lagdata.o ../build/lagaction.o ../build/bw_default.o ../build/bw_nolimit.o ../build/log_file.o ../build/log_console.o ../build/log_sysop.o ../build/log_staff.o ../build/game.o ../build/game_timer.o ../build/chat.o ../build/flagcore.o ../build/balls.o ../build/fm_normal.o ../build/banners.o ../build/bricks.o ../build/objects.o ../build/messages.o ../build/koth.o ../build/fm_lockspec.o ../build/cmdman.o ../build/playercmd.o ../build/admincmd.o ../build/watchdamage.o ../build/buy.o ../build/help.o ../build/notify.o ../build/directory.o ../build/billing.o ../build/billing_ssc.o ../build/pwcache.o ../build/cfghelp.o ../build/filetrans.o ../build/quickfix.o ../build/freqowners.o ../build/arenaperm.o ../build/auth_prefix.o ../build/fake.o ../build/chatnet.o ../build/ap_multipub.o ../build/sendfile.o ../build/auth_ban.o ../build/auth_file.o ../build/obscene.o ../build/deadlock.o gcc -std=gnu99 -pipe ../build/export.exp -o ../build/asss.exe ../build/main.o ../build/module.o ../build/cmod.o C:/Dev-Cpp/lib/crt2.o ../build/util.o ../build/pathutil.o ../build/protutil.o ../build/rwlock.o ../build/app.o ../build/md5.o ../build/win32compat.o ../build/config.o ../build/prng.o ../build/player.o ../build/core.o ../build/logman.o ../build/idle.o ../build/mainloop.o ../build/net.o ../build/enc_null.o ../build/enc_vie.o ../build/arenaman.o ../build/mapdata.o ../build/mapnewsdl.o ../build/clientset.o ../build/capman.o ../build/lagdata.o ../build/lagaction.o ../build/bw_default.o ../build/bw_nolimit.o ../build/log_file.o ../build/log_console.o ../build/log_sysop.o ../build/log_staff.o ../build/game.o ../build/game_timer.o ../build/chat.o ../build/flagcore.o ../build/balls.o ../build/fm_normal.o ../build/banners.o ../build/bricks.o ../build/objects.o ../build/messages.o ../build/koth.o ../build/fm_lockspec.o ../build/cmdman.o ../build/playercmd.o ../build/admincmd.o ../build/watchdamage.o ../build/buy.o ../build/help.o ../build/notify.o ../build/directory.o ../build/billing.o ../build/billing_ssc.o ../build/pwcache.o ../build/cfghelp.o ../build/filetrans.o ../build/quickfix.o ../build/freqowners.o ../build/arenaperm.o ../build/auth_prefix.o ../build/fake.o ../build/chatnet.o ../build/ap_multipub.o ../build/sendfile.o ../build/auth_ban.o ../build/auth_file.o ../build/obscene.o ../build/deadlock.o -L../windeps -lpthreadGC2 -lwsock32 -L../windeps -lzdll -lm ld: crt2.o: No such file: No such file or directory make.exe: *** [../build/asss.exe] Error 1 Execution terminated |
Code: Show/Hide PYTHON_HOME = $C:/python |
Code: Show/Hide # locations of useful programs
INSTALL := install LN := ln PYTHON := $C:/Documents and Settings/tcsoccerman/My Documents/asss-1.4.4/windeps/python.exe REALPATH := readlink -f |
Quote: |
starting asss... asss 1.4.4 built at Oct 29 2007 19:36:26 Loading modules... |
Code: Show/Hide # default options:
debug := yes opt := no prof := no link_db_statically := no symlink_bins := yes # comment out any of these lines if you're missing some libraries: # # if you're missing berkeley db: #have_bdb := yes # # if you're missing mysql: #have_mysql := yes # # if you're missing python: have_python := yes # basic paths. # ASSSHOME should point to the root directory of the asss tree. ASSSHOME = $C:/Documents and Settings/tcsoccerman/My Documents/asss-1.4.4 BINDIR = $(ASSSHOME)/bin BUILDDIR = $(ASSSHOME)/build SCRIPTS = $(ASSSHOME)/scripts PYMOD_HEADERS = $(wildcard */*.h) # locations of useful programs INSTALL := install LN := ln PYTHON := $C:/Documents and Settings/tcsoccerman/My Documents/asss-1.4.4/windeps REALPATH := readlink -f # locations of library dependencies: # change this to the directory of your bdb 4.x install. # freebsd users probably want /usr/local for all of the _HOME variables. DB_HOME = /opt/db-4.0.14 # these probably won't have to change: DB_INC = $(DB_HOME)/include DB_LIB = $(DB_HOME)/lib DB_CFLAGS = -I$(DB_INC) ifneq ($(link_db_statically),yes) # you might have to change -ldb-4 to -ldb4 in the next line: DB_LDFLAGS = -L$(DB_LIB) -Wl,-rpath,$(DB_LIB) -ldb-4 else DB_LDFLAGS = $(DB_LIB)/libdb.a endif # change this to the directory of your mysql install. MYSQL_HOME = /opt/mysql # these probably won't have to change MYSQL_INC = $(MYSQL_HOME)/include MYSQL_LIB = $(MYSQL_HOME)/lib MYSQL_CFLAGS = -I$(MYSQL_INC) MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r # change this to the location of your python 2.2 or higher install. PYTHON_HOME = $C:/python # change this to the major/minor version number of your python install. PYTHON_VERSION = 2.2 # these probably won't have to change PYTHON_INC = $(PYTHON_HOME)/include/python$(PYTHON_VERSION) PYTHON_LIB = $(PYTHON_HOME)/lib/python$(PYTHON_VERSION) PYTHON_CFLAGS = -I$(PYTHON_INC) PYTHON_LDFLAGS = -L$(PYTHON_LIB)/config -lpython$(PYTHON_VERSION) $(UTIL_LIB) -lm # dist: public |
tcsoccerman wrote: | |
i think i found a spot where in system.mk where there is trouble,
the only one i've changed is PYTHON, i'm notto sure what the other one's are. can someone clarify? |
Code: Show/Hide SYS_NAME := MINGW-dev-c++ |
Code: Show/Hide PYTHON := $(WINDEPS)/python.exe |
Code: Show/Hide include $(WINDEPS)/system-windeps.mk |
Code: Show/Hide PYTHON_HOME = C:/Python25
PYTHON_INC = $(PYTHON_HOME)/include |
Quote: |
(You may end up allowing Bloodshed Dev C to use MinGW Make instead of GNU Make) Select the Tools -> Compiler Options menu item Under the Directories -> Binaries tab add two new paths (for MinGW and GCC libexec components):- C:\MinGW\bin C:\MinGW\libexec\gcc\mingw32\3.4.5 |
Quote: |
PATH=....;C:\MinGW\libexec\gcc\mingw32\3.4.5 |
Code: Show/Hide PYTHON_HOME = C:\Python24 PYTHON_INC = $(PYTHON_HOME)\include PYTHON_LIB = $(PYTHON_HOME)\lib PYTHON_CFLAGS = -I$(PYTHON_INC) PYTHON_LDFLAGS = -L$(PYTHON_LIB) -lpython24 |
Code: Show/Hide ifeq ($(findstring MINGW,$(SYS_NAME)),MINGW) # set up paths to point to windeps WINDEPS := ../windeps INSTALL := $(WINDEPS)/install.exe PYTHON := C:/Python24/python.exe symlink_bins := no include $(WINDEPS)/system-windeps.mk run_dlltool = yes PTHREAD_LIB = -L$(WINDEPS) -lpthreadGC2 -lwsock32 ZLIB_LIB = -L$(WINDEPS) -lzdll SO_LDFLAGS = $(call tobuild,import.imp) $(PTHREAD_LIB) EXPORT_SYMBOLS = $(call tobuild,export.exp) EXE = .exe SO = dll W32COMPAT = win32compat EXTRA_INCLUDE_DIRS = -I$(WINDEPS) EXTRA_INSTALL_FILES = $(WINDEPS)/zlib1.dll $(WINDEPS)/pthreadGC2.dll \ $(WINDEPS)/libdb4.dll $(WINDEPS)/python24.dll SYS_NAME := ok endif |
Code: Show/Hide Compiler: Default compiler Executing make... make.exe -f "Makefile" all process_begin: CreateProcess((null), uname -s, ...) failed. core/core.mk:24: warning: overriding commands for target `C:/Documents' core/core.mk:20: warning: ignoring old commands for target `C:/Documents' core/core.mk:24: warning: overriding commands for target `and' core/core.mk:20: warning: ignoring old commands for target `and' core/core.mk:24: warning: overriding commands for target `Settings/Scott/My' core/core.mk:20: warning: ignoring old commands for target `Settings/Scott/My' core/core.mk:24: warning: overriding commands for target `Documents/Death' core/core.mk:20: warning: ignoring old commands for target `Documents/Death' core/core.mk:24: warning: overriding commands for target `Match' core/core.mk:20: warning: ignoring old commands for target `Match' database/database.mk:5: warning: overriding commands for target `C:/Documents' core/core.mk:24: warning: ignoring old commands for target `C:/Documents' database/database.mk:5: warning: overriding commands for target `and' core/core.mk:24: warning: ignoring old commands for target `and' database/database.mk:5: warning: overriding commands for target `Settings/Scott/My' core/core.mk:24: warning: ignoring old commands for target `Settings/Scott/My' database/database.mk:5: warning: overriding commands for target `Documents/Death' core/core.mk:24: warning: ignoring old commands for target `Documents/Death' database/database.mk:5: warning: overriding commands for target `Match' core/core.mk:24: warning: ignoring old commands for target `Match' funky/funky.mk:5: warning: overriding commands for target `C:/Documents' database/database.mk:5: warning: ignoring old commands for target `C:/Documents' funky/funky.mk:5: warning: overriding commands for target `and' database/database.mk:5: warning: ignoring old commands for target `and' funky/funky.mk:5: warning: overriding commands for target `Settings/Scott/My' database/database.mk:5: warning: ignoring old commands for target `Settings/Scott/My' funky/funky.mk:5: warning: overriding commands for target `Documents/Death' database/database.mk:5: warning: ignoring old commands for target `Documents/Death' funky/funky.mk:5: warning: overriding commands for target `Match' database/database.mk:5: warning: ignoring old commands for target `Match' make.exe: *** virtual memory exhausted. Stop. Execution terminated |
Code: Show/Hide Compiler: Default compiler
Executing make... make.exe -f "Makefile" all process_begin: CreateProcess((null), uname -s, ...) failed. make.exe: *** virtual memory exhausted. Stop. Execution terminated |
Code: Show/Hide Compiler: Default compiler
Executing make... make.exe -f "Makefile" all gcc -std=gnu99 -pipe -shared -o ../build/pymod.dll ../build/pymod.o ../build/import.imp -L../windeps -lpthreadGC2 -lwsock32 -LC:/python/lib/python24/config -lpython24 -lm process_begin: CreateProcess((null), uname -s, ...) failed. gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/turf_reward.o turf\turf_reward.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/points_turf_reward.o turf\points_turf_reward.c gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE -g -Wall -c -o ../build/turf_stats.o turf\turf_stats.c gcc -std=gnu99 -pipe -shared -o ../build/turf.dll ../build/turf_reward.o ../build/points_turf_reward.o ../build/turf_stats.o ../build/import.imp -L../windeps -lpthreadGC2 -lwsock32 ../windeps/install.exe core/backtrace ../build/asss.exe ../build/funky.dll ../build/pymod.dll ../build/turf.dll py/exec.py py/fg_turf.py py/fg_wz.py py/fm_password.py py/watchgreen.py ../windeps/zlib1.dll ../windeps/pthreadGC2.dll ../windeps/python24.dll ../windeps/libdb4.dll ../bin Execution terminated |