undefined symbol in preprocessor in mixed C/Asm build
I am trying to understand MPlayer, and am currently rebuilding some of its source code which includes C and asm files.
Most of the preprocessor symbols are defined in the config.h file, created by the configure script.
In the C files, these symbols are visible in the source by including the config.h header file.
However, in the asm files, I don't see any of such inclusion. Since the asm files also use these preprocessor symbols (e.g. ARCH_X86_64), how are they made visible during the build of the asm files?
When I try building the asm source myself, I get many errors such as:
undefined symbol `ARCH_X86_64' in preprocessor
I was wondering how this is to be done, or if someone knows specifically how this is done in the Mplayer build ?
Again, many thanks for any help you can provide!