Jump to content
  • 0

Recompiling errors/warnings


kyleanthonydizon

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

Hi, I get this warnings/errors when I recompile after I updated my version of rAthena to 19679.

make[1]: Warning: File `battle.c` has modification time 5.4e+04s in the future
==============================================================================
make[1]: Warning: Clock skew detected. Your build may be incomplete
==============================================================================
script.c: In function `script_getitem_randomoption`:
script.c:6730: warning: cast from pointer to integer of different size
script.c:6732: warning: cast from pointer to integer of different size
script.c:6734: warning: cast from pointer to integer of different size
==============================================================================
make[1]: Warning: File `.../common/mmo.h` has modification time 5.4e+04s in the future

Attached here is my whole compile log..

compile-May05.log

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

37 minutes ago, kyleanthonydizon said:

Hi, I get this warnings/errors when I recompile after I updated my version of rAthena to 19679.


make[1]: Warning: File `battle.c` has modification time 5.4e+04s in the future
==============================================================================
make[1]: Warning: Clock skew detected. Your build may be incomplete
==============================================================================
script.c: In function `script_getitem_randomoption`:
script.c:6730: warning: cast from pointer to integer of different size
script.c:6732: warning: cast from pointer to integer of different size
script.c:6734: warning: cast from pointer to integer of different size
==============================================================================
make[1]: Warning: File `.../common/mmo.h` has modification time 5.4e+04s in the future

Attached here is my whole compile log..

compile-May05.log

for (i = 0; i < opt_id_n && i < MAX_ITEM_RDM_OPT; i++) {
		it->option[i].id = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_id_id,opt_id_idx+i),opt_id_ref));
		script_removetop(st, -1, 0);
		it->option[i].value = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_val_id,opt_val_idx+i),opt_val_ref));
		script_removetop(st, -1, 0);
		it->option[i].param = (char)__64BPRTSIZE(get_val2(st,reference_uid(opt_param_id,opt_param_idx+i),opt_param_ref));
		script_removetop(st, -1, 0);
	}

here are the lines indicated in script.c

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

For this "Clock skew detected. Your build may be incomplete"

I always run this :

find . -exec touch {} \;

then try to re compile your files.

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

1 minute ago, Radian said:

For this "Clock skew detected. Your build may be incomplete"

I always run this :


find . -exec touch {} \;

then try to re compile your files.

How about for this one?

script.c: In function `script_getitem_randomoption`:
script.c:6730: warning: cast from pointer to integer of different size
script.c:6732: warning: cast from pointer to integer of different size
script.c:6734: warning: cast from pointer to integer of different size

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

DId you try to re compile already? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  02/12/17
  • Last Seen:  

On 5/5/2017 at 11:56 AM, Radian said:

DId you try to re compile already? 

I have the same error. I updated the emulator and the database, but while compiling the script.c gives me errors. I used the command that you provided but no effects...

 CC      script.c
script.c: In function script_getitem_randomoption’:
script.c:6730:22: warning: cast from pointer to integer of different size [-Wpoi                                                                                                                                                             nter-to-int-cast]
   it->option[i].id = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_id_id,op
                      ^
script.c:6732:25: warning: cast from pointer to integer of different size [-Wpoi                                                                                                                                                             nter-to-int-cast]
   it->option[i].value = (short)__64BPRTSIZE(get_val2(st,reference_uid(opt_val_i
                         ^
script.c:6734:25: warning: cast from pointer to integer of different size [-Wpoi                                                                                                                                                             nter-to-int-cast]
   it->option[i].param = (char)__64BPRTSIZE(get_val2(st,reference_uid(opt_param_

Im using ubuntu server 16.04, 32 bits..

Please help :(

regards :)

Edited by Bucle
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...