Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Missing files in ASSS.DEV Plus Compile Error
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Antiwarp checking? Post :: Post My Best Continuum Idea Yet!  View next topic  
Author Message
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Fri Apr 06, 2007 3:05 am    Post subject: Missing files in ASSS.DEV Plus Compile Error Reply to topic Reply with quote

There are missing files when try to load ASSS.DEV into Dev C++ 4.9.9.2


1. Bricklayer.c
2. Mapobj.h
3. stats.h




Then when I try to compile ASSS, it fails at: (debug log)

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



My /src, /windeps, and src/include are in the DEV include. Python 2.4 installed as directed. I originally had 2.5 installed, it didn't work then either, so I went 2.4.4 and started FRESH, it still does not finish compiling.


Ok, so I now I try to add the linker ../windeps/pthreadGC2.dll in Project options. This is what I get:

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


Anyone know whats going on?


Last edited by corvey on Fri Apr 06, 2007 4:13 am, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Fri Apr 06, 2007 3:41 am    Post subject: Reply to topic Reply with quote

#include "cfghelp.inc"


Is it a typo in the original package, It should be "cfghelp.c"?


Ok, so I changed it, and it exploded...


It's too long of a debug log to post here. If you want it I can post it biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Apr 06, 2007 10:01 am    Post subject: Reply to topic Reply with quote

I think you might have to update your python location in one of the makefiles. I'll check it out when I get back from class and have a bit of time.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Apr 08, 2007 3:56 pm    Post subject: Reply to topic Reply with quote

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.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Sun Apr 08, 2007 4:34 pm    Post subject: Reply to topic Reply with quote

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.



Do you have the custom makefile solution for ASSS version 1.43?

Which version in the past has the .inc files included, and can they be used in ASSS 1.43?
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Apr 08, 2007 4:43 pm    Post subject: Reply to topic Reply with quote

What I mean by custom makefile is that asss.dev refers to src/Makefile. If you look at the project options then the makefile tab you will see what I mean.

I don't think it's a good idea to use old .inc files, they will almost certainly be out of sync. Of all the versions of win asss I have lying around only 1.3.1 seems to have the inc files.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Sun Apr 08, 2007 5:24 pm    Post subject: Reply to topic Reply with quote

You must forgive me, I am still learning stuff so I can try to make a module.
I was hoping for a trouble free, error free, nothing needed to compile the server is itself, so I could concentrate on learning how to implement what I'm trying to do with the ASSS code and with knowledge that errors to be produce from my code was my fault and has nothing to do with ASSS code itself.

Ok I tried using the makefile in the Project settings. Still come up with uname error.
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Apr 08, 2007 5:44 pm    Post subject: Reply to topic Reply with quote

In that case I don't think you want to recompile the entire the server. I suggest downloading the precompiled version.

Then compile your custom modules in a separate project:
Wiki: Installing new modules: With Dev C++
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Sun Apr 08, 2007 5:52 pm    Post subject: Reply to topic Reply with quote

That is the version I'm working with. I have also read that link before. I will re-read it again though and try to figure it out.

I would still like to know why ASSS server isn't able to be fully compiled on the fly in a complete package.


Thanks
Back to top
View users profile Send private message Add User to Ignore List
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Sun Apr 08, 2007 7:54 pm    Post subject: Reply to topic Reply with quote

It kind of is precompiled when you think about it. You don't HAVE to have it recompiled unless you edit the source to a C file. With subgame you can only edit configuration files and things like that. You're limited to what you can do. A simple make deps, make every now and then won't hurt. It isn't even needed if you use python.

By the way, if you use the make on Linux it compiles with no error. I always have issues with Dev-C++. Try downloading a linux-like compiler for Windows.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Mon Apr 09, 2007 7:37 am    Post subject: Reply to topic Reply with quote

Ok, I successfully compiled and ran a very small test module. Now I have a lot more learning to do!


Thanks for your help.
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Oct 28, 2007 11:31 am    Post subject: Reply to topic Reply with quote

I am getting the same error he is with asss 1.4.4, and i conducted a search for cfghelp.inc and never found it..does someone have a copy of one that i could use?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Oct 28, 2007 12:59 pm    Post subject: Reply to topic Reply with quote

This is the error log of when I try to compile using DevC++.

It does create the /build/ .stamp and deps.mk files.

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

_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Oct 28, 2007 3:05 pm    Post subject: Reply to topic Reply with quote

i don't have deps.mk either..
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Oct 28, 2007 3:36 pm    Post subject: Reply to topic Reply with quote

deps.mk, I had to put the python.exe in the windep's folder.

I fixed my cc1 issue by
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


But now I'm running into the compiler not reading the standard library header files provided by DevC++. The parameters are setup correctly in the environment, but it's not being passed correctly or something.

I'm hitting the comment after the suggestion above-
http://www.neowin.net/forum/lofiversion/index.php/t531328.html

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



edit 1: i've been able to get the *.c files to compile into *.o; but I need to find out how to get the /build/*.o's built with the std library *.o files.

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



Last edited by CypherJF on Sun Oct 28, 2007 8:04 pm, edited 3 times in total
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Oct 28, 2007 4:04 pm    Post subject: Reply to topic Reply with quote

i still need cfghelp.inc....
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Oct 29, 2007 1:23 am    Post subject: Reply to topic Reply with quote

It's been a while but I think I had to edit system.mk to specify some correct paths.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Oct 29, 2007 3:57 pm    Post subject: Reply to topic Reply with quote

yeh you're right, it's just not right in my case. in my case i had the correct path to python it's just i had the wrong version. testing right now

Edit:same problem, i have python 2.4 installed and i put it's location in system file, i put python.exe in windeps and the include folder as well. i restarted computer and did execute->rebuild all in dev c++.

maybe if i knew a little more about this file it would help.

Edit2:cypherjf said he manually edited the scripts to have cfghelp.inc work, can i have those new scripts, or explain to me what needs to be done.

can someone also tell me what needs to be done with my python "items" since i believe that is the problem.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Oct 29, 2007 5:26 pm    Post subject: Reply to topic Reply with quote

Everything I did is up above. I also deleted my installation folder because I wasn't making any progress and figured to scrap it.
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Oct 29, 2007 5:33 pm    Post subject: Reply to topic Reply with quote

i can't find how you solved the cfghelp.inc problem.

also, how do i correctly state where my python home is located, right now this is what i have:

Code: Show/Hide
PYTHON_HOME = $C:/python
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Oct 29, 2007 8:03 pm    Post subject: Reply to topic Reply with quote

i think i found a spot where in system.mk where there is trouble,

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


the only one i've changed is PYTHON, i'm notto sure what the other one's are. can someone clarify?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Oct 29, 2007 8:48 pm    Post subject: Reply to topic Reply with quote

Horray, I got it?

Quote:

starting asss...
asss 1.4.4 built at Oct 29 2007 19:36:26
Loading modules...
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Oct 29, 2007 8:51 pm    Post subject: Reply to topic Reply with quote

nice! is this for linux or what? can you tell me what you did? plz! i can talk about it tomorrow in the zone. i may be able to use winscp to see what you've done if it's the asss that i have access too.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Oct 29, 2007 9:18 pm    Post subject: Reply to topic Reply with quote

It's on windows... I did nothing but reinstall DevC++ with mingw as a separate install and copy python.exe, python24.dll into the /windeps/ folder; and make the appropriate changes to the mk files.
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Oct 30, 2007 4:04 pm    Post subject: Reply to topic Reply with quote

ok my make file is probably not right. wtf does wildcard mean?

here system.mk:

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


i have version 4.9.9.2 of dev cpp, and i have mingw32 included in the compiler.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 15 page(s) served in previous 5 minutes.

phpBB Created this page in 0.476133 seconds : 49 queries executed (88.0%): GZIP compression disabled