compiling SWFote 2.0

Posted by Dextermovies on Sat 10 Sep 2005 10:10 PM — 11 posts, 44,392 views.

#0
When I compile swfote 2.0 I get these errors

save.c:2308: error: dereferencing pointer to incomplete type
save.c:2310: error: dereferencing pointer to incomplete type

Here is the code

if ( de->d_name[0] != '.' )
{
sprintf(strArea, "%s%s", CORPSE_DIR, de->d_name );

My guess is it has something to do with the de->d_name

any help appreciated
USA #1
Doing a search should find the answer.

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3007

Also, why not use SWFoTE FUSS?
#2
Ok, now I get this error.

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ldl

because I get an issues with make file ... and 2.0 is supposed to have all thge fixes + some that fuss does not ...
USA #3
Uh, FUSS = Fixed up SWR Source. I think you're better off with that. It supports Cygwin, and it seems like 2.0 does not.

Another search should help you with your problem.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5764
#4
ok, here is why I do bnot use the fuss ... I have tried changin the dir, but I think is something to do with the make file.

make[1]: *** No rule to make target `/usr/lib/gcc/i386-redhat-linux/4.0.1/include/stdarg.h', needed by `o/imc.o'. Stop.

the "usr/lib/gcc/i386-redhat-linux/4.0.1/include/stdarg.h" is found in .depend
USA #5
On your topic on the FUSS forums:

Quote:
He is getting that from the .depend
while in the src directory type

rm .depend
make
make

Yea you have to do two makes the first one will fail because of no .depend (it then makes it empty)
so the second make can continue fine
USA #6
Zeno, he is correct. I'm pretty sure FotE 2.0 was built off of 1.2 fuss, so it contains all of the fixes. And it seems like they keep it up to date, or at least post fixes within the forum for FotE.
USA #7
Hmm really? If so, then it should have a Makefile Cygwin flag he can toggle on so all those Cygwin errors are ignored.
#8
I tried that, it did not work
USA #9
Cygwin instructions for 2.0 can be found on the SWFotE forums I do believe.

Follow the URL and go to the bulletin board section:
http://swfote.sourceforge.net
USA #10
Actually 2.0 was not built off of 1.2. They ran through the bugfix list and cherry-picked most of what they wanted but there are still some things they have not incorporated, such as the reset system fix among others. When they started the project they took a copy of regular FOTE 1.1 and built from that.