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, confirm your email, resolve issues, 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 ➜ Errors to Compliated

Errors to Compliated

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


Posted by Magnefikko   Poland  (38 posts)  Bio
Date Wed 18 Jan 2006 04:22 PM (UTC)
Message
I hawe SmaugFuzz.That's Compliation LOG:

src/fight.c: In function `damage':
src/fight.c:2221: warning: passing arg 1 of `act' makes integer from pointer without a cast
src/fight.c:2221: warning: passing arg 2 of `act' from incompatible pointer type
src/fight.c:2221: error: too few arguments to function `act'
src/fight.c:2229: warning: passing arg 1 of `act' makes integer from pointer without a cast
src/fight.c:2229: warning: passing arg 2 of `act' from incompatible pointer type

src/fight.c:2229: error: too few arguments to function `act'

make.exe: *** [src/o/fight.o] Error 1


Eee....Help:-)

Five'o clock-wisky and tea :-)
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 18 Jan 2006 04:28 PM (UTC)
Message
Can you show us those lines?

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

Posted by Samson   USA  (683 posts)  Bio
Date Reply #2 on Thu 19 Jan 2006 01:28 AM (UTC)
Message
You might also want to look into why your Makefile seems to be compiling things from one level above the src directory as the standard FUSS packages do all that from the src directory itself and the error output when there is a problem does not include mention of the src directory.
Top

Posted by Magnefikko   Poland  (38 posts)  Bio
Date Reply #3 on Fri 20 Jan 2006 08:13 PM (UTC)
Message
Nothing beguile from it. It beguile 'Makefile' and 'Makefile.devcc' in SRC and...

---
make.exe -f "Makefile.devcc" all
gcc.exe -c src/fight.c -o src/o/fight.o -I"C:/Dev-Cpp/include" -DIMC -DIMCSMAUG

src/fight.c: In function `damage':
src/fight.c:2221: warning: passing arg 1 of `act' makes integer from pointer without a cast
src/fight.c:2221: warning: passing arg 2 of `act' from incompatible pointer type
src/fight.c:2221: error: too few arguments to function `act'
src/fight.c:2229: warning: passing arg 1 of `act' makes integer from pointer without a cast
src/fight.c:2229: warning: passing arg 2 of `act' from incompatible pointer type

src/fight.c:2229: error: too few arguments to function `act'

make.exe: *** [src/o/fight.o] Error 1
---

Five'o clock-wisky and tea :-)
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #4 on Sat 21 Jan 2006 03:16 AM (UTC)
Message
See, leaving out that you were using DevC++ in your original post delays any kind of solution you might have received. Since this is still considered experimental and not officially supported we could have possibly worked this out 2 days ago.

Anyway. In order to know what it's complaining about, we will need to see the code in fight.c from lines 2220 through 2230, with the complaining lines in your error messages marked so we can see what's going on.
Top

Posted by Magnefikko   Poland  (38 posts)  Bio
Date Reply #5 on Sat 03 Jun 2006 11:51 AM (UTC)

Amended on Sat 03 Jun 2006 11:52 AM (UTC) by Magnefikko

Message
Building Makefile: "<Patch>Makefile.win"
Wykonywanie make...
make.exe -f "<Path>Makefile.win" all
gcc.exe -c src/update.c -o src/o/update.o -I"C:/Dev-Cpp/include" -ansi -traditional-cpp -w -fno-access-control -fdollar-in-identifiers -fsave-memoized -nostdlib -fmessage-length=0

cc1.exe: error: unrecognized command line option "-fdollar-in-identifiers"
cc1.exe: error: unrecognized command line option "-fsave-memoized"

make.exe: *** [src/o/update.o] Error 1

Wykonanie zakoñczone ["Process End"]

File "Update.o" is in scr/o :-)

Help:-) I hawe Zlib 1.2.1

Five'o clock-wisky and tea :-)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #6 on Sat 03 Jun 2006 12:05 PM (UTC)
Message
Looks like your makefile is trying to use options that your compiler doesn't know about.

1) where did you get your makefile?
2) what compiler are you using? (version, etc.)
3) where did you get your compiler?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Magnefikko   Poland  (38 posts)  Bio
Date Reply #7 on Tue 06 Jun 2006 05:53 AM (UTC)
Message
1.I hawe SmaugFUZZ...makefile
it is built just at,if I have apprehended your question well...
2.I use DevC++ V.4.9.9.2
3.I don't remember:-)

Five'o clock-wisky and tea :-)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #8 on Tue 06 Jun 2006 06:07 AM (UTC)
Message
Is SmaugFUZZ something different from SmaugFUSS? Never heard of the first one...

If we're talking about SmaugFUSS, I'm not sure if DevC++ is supported yet. It's possible that the makefile assumes GCC, and since you're using a different compiler, things might not work. You could just try removing the two offending flags, and see if that works...

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Dace K   Canada  (169 posts)  Bio
Date Reply #9 on Tue 06 Jun 2006 07:06 AM (UTC)
Message
Posted by Ksilyan:
Is SmaugFUZZ something different from SmaugFUSS? Never heard of the first one...



I don't think you apprehend the question well, dude.

ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com

Drop by the area archives and find something for your mud. http://areaarchives.servegame.com
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.


27,167 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.