Jump to content
  • 0

Compile issues with Fedora 33 & Raspberry Pi 3.


behelit

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

Hi! As the title says, I'm using Fedora 33 for ARM on a Raspberry Pi 3 (model b, rev2). I was able to get things working (barely) using code from an old server, so I know it technically works with this setup... But I'm running into issues when I try to compile a fresh server from scratch. No errors when compiled normally. Then, with --enable-debug, I'll get almost to the end and this happens:
 

	CXX	instance.cpp
In file included from instance.cpp:12:
instance.cpp: In function ‘int instance_npcinit(block_list*, va_list)’:
../common/nullpo.hpp:45:27: error: invalid cast from type ‘va_list’ to type ‘void*’
   45 |  if (nullpo_chk(NLP_MARK, (void *)(t))) {return(ret);}
      |                           ^~~~~~~~~~~
instance.cpp:308:2: note: in expansion of macro ‘nullpo_retr’
  308 |  nullpo_retr(0, ap);
      |  ^~~~~~~~~~~
instance.cpp: In function ‘int instance_npcdestroy(block_list*, va_list)’:
../common/nullpo.hpp:45:27: error: invalid cast from type ‘va_list’ to type ‘void*’
   45 |  if (nullpo_chk(NLP_MARK, (void *)(t))) {return(ret);}
      |                           ^~~~~~~~~~~
instance.cpp:322:2: note: in expansion of macro ‘nullpo_retr’
  322 |  nullpo_retr(0, ap);
      |  ^~~~~~~~~~~
instance.cpp: In function ‘int instance_addnpc_sub(block_list*, va_list)’:
../common/nullpo.hpp:45:27: error: invalid cast from type ‘va_list’ to type ‘void*’
   45 |  if (nullpo_chk(NLP_MARK, (void *)(t))) {return(ret);}
      |                           ^~~~~~~~~~~
instance.cpp:336:2: note: in expansion of macro ‘nullpo_retr’
  336 |  nullpo_retr(0, ap);
      |  ^~~~~~~~~~~
make[1]: *** [Makefile:84: obj/instance.o] Error 1
make[1]: Leaving directory '/home/ragnarok/rAthena/src/map'
make: *** [Makefile:50: map] Error 2

The end result is, when I attempt to start the server, the map server will disconnect after a few seconds, kicking all the offline vendors off and preventing new logins. 

Has anyone had this issue before? Any insight into resolving this issue would be greatly appreciated. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

Link to comment
Share on other sites

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...