Hi,

try changing asm to __asm__

This worked for me (see also http://www.ibiblio.org/gferg/ldp/GCC-In … HOWTO.html)