Linker Tools Error LNK2008

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Linker Tools Error LNK2008.

Fixup target is not aligned 'symbol_name'

LINK found a fixup target in your object file that was not aligned properly.

This error can be caused by custom secton alignment (for example, #pragma pack), align modifier, or by using assembly language code that modifies secton alignment.

If your code does not use any of the above, this may be caused by the compiler.

Show: