Zaptel-1.2.9.1 build: "Error 136"

I’m trying to build zaptel on an intel emt64 box, fc5. gcc-4.1.1-3, with /usr/src/linux2.6 symlinked to sources:

make linux26

gcc -E -D__GENKSYMS__ -Wp,-MD,/opt/asterisk/zaptel-1.2.9.1/.zaptel.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include

/opt/asterisk/zaptel-1.2.9.1/zaptel.c
8232 Floating point exception| scripts/genksyms/genksyms -a x86_64 >/opt/asterisk/zaptel-1.2.9.1/.tmp_zaptel.ver
make[2]: *** [/opt/asterisk/zaptel-1.2.9.1/zaptel.o] Error 136
make[1]: *** [module/opt/asterisk/zaptel-1.2.9.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2647.fc6-x86_64’
make: *** [linux26] Error 2

Any help appreciated.

sean[/quote]

Since the is a floating point exception, I made sure MMX was NOT enabled.

sean

reverted to an earlier 2.6.17 kernel. Then it built.

However, MMX enabled broke the build ( on an intel box ):

make[1]: Entering directory /usr/src/kernels/2.6.17-1.2187_FC5-x86_64' CC [M] /opt/asterisk/zaptel-1.2.9.1/zaptel.o /opt/asterisk/zaptel-1.2.9.1/zaptel.c:188: warning: ?fcstab? defined but not used {standard input}: Assembler messages: {standard input}:3221: Error: suffix or operands invalid formov’
{standard input}:3222: Error: suffix or operands invalid for mov' {standard input}:3623: Error: suffix or operands invalid formov’