Greetings all
i require some assistance compiling the fake player bug tool. mainly because i am adding a few features to it. simple rudimentary, yet useful features. Any who, i do not use command line compiler so i am lost :-(
This is the Batch file i am using to compile
Code:
@echo off
set FILE_PATH=c:\Documents" "and" "Settings\Owner\Desktop\swbfp\
set GSLIST_MINGW_OPT=-s -O2 -Wall -Wextra -Wunused -Wshadow -Wno-sign-compare -Wno-unused-parameter
set GSLIST_MINGW_PATH=c:\mingy
set GSLIST_MINGW_LIBS=gslist_icon.o "%GSLIST_MINGW_PATH%\lib\stristr.c" %GSLIST_MINGW_PATH%\lib\libz.a" "%GSLIST_MINGW_PATH%\lib\libws2_32.a"
set GSLIST_FILES= %FILE_PATH%show_dump.h %FILE_PATH%rwbits.h %FILE_PATH%swbcrc.h %FILE_PATH%swbfp.c %FILE_PATH%winerr.h
"%GSLIST_MINGW_PATH%\bin\windres" gslist_icon.rc gslist_icon.o
echo ----------
echo - attack! -
echo ----------
"%GSLIST_MINGW_PATH%\bin\gcc" %GSLIST_MINGW_OPT% -o %FILE_PATH%bugz.exe %GSLIST_FILES% %GSLIST_MINGW_LIBS%
i have just scavenged this off of the gslist batch compiler.
And this is what the compiler is spitting out at me.
Code:
C:\Documents and Settings\Owner\Desktop\swbfp>compa
gcc: gslist_icon.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
c:\mingy\bin\windres: no resources
----------
- attack! -
----------
gcc: c:\mingy\lib\libz.a c:\mingy\lib\libws2_32.a: Invalid argument
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:35: error: syntax error before
"FILE"
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h: In function `show_dump':
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:36: warning: `static' is not
at beginning of declaration
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:42: error: `data' undeclared
(first use in this function)
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:42: error: (Each undeclared id
entifier is reported only once
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:42: error: for each function
it appears in.)
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:42: error: `len' undeclared
(first use in this function)
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:65: warning: implicit declarat
ion of function `fwrite'
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:65: error: `stream' undeclared
(first use in this function)
c:\Documents and Settings\Owner\Desktop\swbfp\swbcrc.h: In function `swbcrc':
c:\Documents and Settings\Owner\Desktop\swbfp\swbcrc.h:43: warning: `static' is not at
beginning of declaration
In file included from c:\Documents and Settings\Owner\Desktop\swbfp\swbfp.c:25:
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h: In function `show_dump':
c:\Documents and Settings\Owner\Desktop\swbfp\show_dump.h:36: warning: `static' is not
at beginning of declaration
In file included from c:\Documents and Settings\Owner\Desktop\swbfp\swbfp.c:26:
c:\Documents and Settings\Owner\Desktop\swbfp\swbcrc.h: In function `swbcrc':
c:\Documents and Settings\Owner\Desktop\swbfp\swbcrc.h:43: warning: `static' is not at
beginning of declaration
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h: In function `std_err':
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:15: warning: implicit declaration
of function `WSAGetLastError'
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:68: warning: implicit declaration
of function `fprintf'
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:68: error: `stderr' undeclared
(first use in this function)
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:68: error: (Each undeclared ident
ifier is reported only once
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:68: error: for each function it
appears in.)
c:\Documents and Settings\Owner\Desktop\swbfp\winerr.h:69: warning: implicit declaration
of function `exit'
Any thoughts or suggestions?
Thanks