patz1495 Posted August 2, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 07/22/12 Last Seen: August 16, 2013 Share Posted August 2, 2013 (edited) I added Xantara's @itemmap package. I'm using revision 17420. When I recompiled, I got this error. *http://rathena.org/board/files/file/2242-package-itemmap-getitem-map/ CC atcommand.c atcommand.c: In function âatcommand_itemmapâ: atcommand.c:1306: warning: suggest parentheses around && within || atcommand.c:1327:37: error: macro "msg_txt" requires 2 arguments, but only 1 given atcommand.c:1327: error: âmsg_txtâ undeclared (first use in this function) atcommand.c:1327: error: (Each undeclared identifier is reported only once atcommand.c:1327: error: for each function it appears in.) atcommand.c:1353:39: error: macro "msg_txt" requires 2 arguments, but only 1 given atcommand.c:1363:39: error: macro "msg_txt" requires 2 arguments, but only 1 given atcommand.c:1381:36: error: macro "msg_txt" requires 2 arguments, but only 1 given make[1]: *** [obj_sql/atcommand.o] Error 1 make[1]: Leaving directory `/root/rathena/src/map' make: *** [map_sql] Error 2 Any ideas on how to fix this? A quick help would really be appreciated. Thanks! Edited August 2, 2013 by patz1495 Quote Link to comment Share on other sites More sharing options...
Checkmate Posted August 3, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted August 3, 2013 atcommand.c: In function âatcommand_itemmapâ: Is that normal?..? Cuz i do recompile but nothing like that word coming out... Btw did you have any backup for your source??? Try to put 1 cmd and then recompile,then put one again then recompile in order to find error. ^ ^(Hard Way) Btw according to this error atcommand.c:1353:39: error: macro "msg_txt" requires 2 arguments, but only 1 given Mean something inside the atcommand need 2 argument ( , or ; or } ) but one 1 is supplement to it... Try to take alook inside those atcommand... Quote Link to comment Share on other sites More sharing options...
Jasc Posted August 3, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 270 Reputation: 20 Joined: 12/10/11 Last Seen: June 28, 2022 Share Posted August 3, 2013 Did you diff your files manually? Quote Link to comment Share on other sites More sharing options...
patz1495 Posted August 4, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 07/22/12 Last Seen: August 16, 2013 Author Share Posted August 4, 2013 Solved the problem with the error when compiling. But the .patch does not seem to work. I don't know why. Any ideas on how to implement that? Quote Link to comment Share on other sites More sharing options...
Question
patz1495
I added Xantara's @itemmap package. I'm using revision 17420. When I recompiled, I got this error.
*http://rathena.org/board/files/file/2242-package-itemmap-getitem-map/
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.