c++ - 64 Bit Error? -


Shorten the transfer to fit: R_X86_64_PC32 against `.bss'

me This linker is getting error while compiling G ++:

This definition is not the rest of the code by breaking my compilation. Time function is found in sys / time.h compiled on 64-bit RHEL.

  long ntime () {struct timel tp; Gettimeofday (& amp; nbsp; (Structure Timezone *) 0); Return (tp.tv_sec * 1000 + tp.tv_usec / 1000); }  

Tell me why is this wrong?

Thanks in advance.

Not sure why a linky error is occurring, but whether a specific time frame reason? Making it locally is as fast and maintains your function threads, while preserving the heap (well, BSS) location.

Edit: The problem here is that you have exceeded 2 GB of static heap space allocated some dynamically, or change the memory model. In GCC it can be done by passing the -mcmodel = medium and all the objects should be used on files. It may be somewhat overhead, though.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -