Server Help

ASSS Questions - fg_ctf not loading

Anonymous - Wed May 06, 2009 10:43 am
Post subject: fg_ctf not loading
I can't get the fg_ctf module to load. I've tried loading it in the module.conf (fg_ctf:fg_ctf , fg_ctf , etc) and I've tried ?insmod fg_ctf.

I keep getting

?insmod fg_ctf:fg_ctf
E <cmod> error loading module 'fg_ctf'
Loading module fg_ctf:fg_ctf failed

When loading it through module.conf ASSS crashes when it trys to load the CTF module. I loaded it as the very last module just to make sure all required modules were loaded and it still crashes.

Any ideas?
Bak - Wed May 06, 2009 11:00 am
Post subject:
the version of the modules that fg_ctr was compiled with does not match the version of the modules you loaded. Recompile the module with the source code of the modules you are loading.
Dr Brain - Wed May 06, 2009 12:54 pm
Post subject:
If it's a python module, you'll need "<py> fg_ctf".
Anonymous - Wed May 06, 2009 1:28 pm
Post subject:
its a C Module.

When I try to compile with Dev-C++ I get:

H:\ASSS\src\fg_ctf\Makefile.win [Build Error] [fg_ctf.o] Error 1
Dr Brain - Wed May 06, 2009 1:54 pm
Post subject:
You'll have to post the entire build log. The Error 1 just means it failed.
Anonymous - Wed May 06, 2009 2:22 pm
Post subject:
I'm on Vista btw:

Compiler: Default compiler
Building Makefile: "H:\ASSS\src\fg_ctf\Makefile.win"
Executing make...
make.exe -f "H:\ASSS\src\fg_ctf\Makefile.win" all
gcc.exe -c fg_ctf.c -o fg_ctf.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/bin" -DBUILDING_DLL=1

gcc.exe: installation problem, cannot exec `cc1': No such file or directory

make.exe: *** [fg_ctf.o] Error 1

Execution terminated
Dr Brain - Wed May 06, 2009 3:34 pm
Post subject:
Looks like your compiler isn't installed correctly. Try reinstalling Dev-Cpp.
Bak - Wed May 06, 2009 4:39 pm
Post subject:
find the directory of cc1.exe and add it you your PATH environment variable
Initrd.gz - Wed May 06, 2009 7:22 pm
Post subject:
Or use Dev-C++ Portable like I do icon_smile.gif

Look for it at sourceforge.net
Hakaku - Wed May 06, 2009 8:36 pm
Post subject:
Use wxDev-C++:
http://wxdsgn.sourceforge.net/

(Uninstall your current version of Dev-C++ first though)
Hakaku - Thu May 07, 2009 8:42 pm
Post subject:
I'll add the following information if it helps (for wxDev-C++), since I remember when I was trying to get it to work, I ran in to several problems. I don't remember what solved what anymore, so I'll just put it all:

1.
Copy cc1 from \libexec\gcc\mingw32\ to \bin\.

2.
Go into Tools -> Compiler Options
Move over to the Directories Tab and make sure you have the following for each sub-tab (note: these depend on where you've installed Dev-Cpp):

binaries :
\bin
\
\libexec\gcc\mingw32\3.4.2

libraries :
\
\Lib
\lib\gcc\mingw32\3.4.2

C Includes :
\include
\lib\gcc\mingw32\3.4.2\include

Resource Includes :
\
\include\common
\include

3.
In the Programs tab, verify that the addresses are correct. The C compiler address should be something along the lines of C:\Dev-Cpp\bin\gcc.exe

4.
Copy the files from \mingw32\lib\ to \lib\
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group