Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ SMAUG ➜ Compiling the server ➜ compiling SWFote 2.0

compiling SWFote 2.0

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Dextermovies   (65 posts)  Bio
Date Sat 10 Sep 2005 10:10 PM (UTC)
Message
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
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sat 10 Sep 2005 10:12 PM (UTC)
Message
Doing a search should find the answer.

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

Also, why not use SWFoTE FUSS?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #2 on Sat 10 Sep 2005 10:38 PM (UTC)
Message
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 ...
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Sat 10 Sep 2005 10:41 PM (UTC)
Message
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

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #4 on Sat 10 Sep 2005 10:49 PM (UTC)
Message
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
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Sat 10 Sep 2005 11:05 PM (UTC)
Message
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

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #6 on Sat 10 Sep 2005 11:23 PM (UTC)
Message
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.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #7 on Sat 10 Sep 2005 11:24 PM (UTC)
Message
Hmm really? If so, then it should have a Makefile Cygwin flag he can toggle on so all those Cygwin errors are ignored.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #8 on Sat 10 Sep 2005 11:29 PM (UTC)
Message
I tried that, it did not work
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #9 on Sun 11 Sep 2005 08:12 AM (UTC)
Message
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

~Nick Cash
http://www.nick-cash.com
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #10 on Sun 11 Sep 2005 04:43 PM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


30,766 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.