Jump to content
  • 0

compiling error


huptiq

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  11/19/22
  • Last Seen:  

Hi,
in before "google it": I did, alot.

I am trying to compile rAthena on a raspberry pi and for some reason I run into this error.
Since I am a noob when it comes to coding I was following this guide: https://habilisbest.com/rathena-setting-up-ragnarok-online-private-server

And this is the error message
 

Quote

In file included from clif.cpp:24980:

clif_packetdb.hpp: In function ‘void packetdb_readdb()’:

clif_packetdb.hpp:1061:10: error: ‘HEADER_ZC_ITEM_PICKUP_PARTY’ was not declared in this scope; did you mean ‘HEADER_ZC_ITEM_PICKUP_ACK’?

 1061 |  packet( HEADER_ZC_ITEM_PICKUP_PARTY, sizeof( struct PACKET_ZC_ITEM_PICKUP_PARTY ) );

      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

clif_packetdb.hpp:7:48: note: in definition of macro ‘packet’

    7 |  #define packet(cmd,length) packetdb_addpacket(cmd,length,NULL,0)

      |                                                ^~~

clif_packetdb.hpp:1061:39: error: invalid application of ‘sizeof’ to incomplete type ‘packetdb_readdb()::PACKET_ZC_ITEM_PICKUP_PARTY’

 1061 |  packet( HEADER_ZC_ITEM_PICKUP_PARTY, sizeof( struct PACKET_ZC_ITEM_PICKUP_PARTY ) );

      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

clif_packetdb.hpp:7:52: note: in definition of macro ‘packet’

    7 |  #define packet(cmd,length) packetdb_addpacket(cmd,length,NULL,0)

      |                                                    ^~~~~~

make[1]: *** [Makefile:113: obj/clif.o] Error 1

make[1]: Leaving directory '/home/rathena/rAthena/src/map'

make: *** [Makefile:53: map] Error 2

any possible way to fix that? Is there a more up-to-date guide that I should consider?

Thank you so much!

edit: Additional info: I run these commands aswell
./configure --enable-packetver=20070521 --enable-prere=yes
make clean
make server (this is where it "breaks")

Edited by huptiq
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...