I put the Who? in Mishehu
2005-Jul-14 20:28 UTC
[Asterisk-Users] Building zaptel on x86_64
I've searched thru the archives here, and am not seem much related to 64 bit builds (at least according to subject lines), so apologizes if somebody already addressed this issue and I didn't see it. I am running Slamd64 on a Xeon 2.8 with EM64T. I am using kernel 2.6.12.2, which is configured for SMP. I cannot build zaptel 1.0.9, or CVS HEAD that I just downloaded today (2005-07-14). I get the following errors: make[1]: Entering directory `/usr/src/linux-2.6.12.2' CC [M] /usr/local/src/zaptel-1.0.9/zaptel.o {standard input}: Assembler messages: {standard input}:13457: Error: suffix or operands invalid for `mov' {standard input}:13458: Error: suffix or operands invalid for `mov' {standard input}:13953: Error: suffix or operands invalid for `mov' {standard input}:13954: Error: suffix or operands invalid for `mov' {standard input}:14392: Error: suffix or operands invalid for `mov' {standard input}:14393: Error: suffix or operands invalid for `mov' {standard input}:14892: Error: suffix or operands invalid for `mov' {standard input}:14893: Error: suffix or operands invalid for `mov' /usr/local/src/zaptel-1.0.9/zaptel.c:168: warning: 'fcstab' defined but not usedmake[2]: *** [/usr/local/src/zaptel-1.0.9/zaptel.o] Error 1 make[1]: *** [_module_/usr/local/src/zaptel-1.0.9] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.12.2' make: *** [linux26] Error 2 This machine has glibc-2.3.3, gcc-3.4.3, and binutils-2.15.92.0.2 on it. Any help would be greatly appreciated, as I need to get this X101P (digium branded) working asap. -mishehu
asterisk@gatheringpoint.net
2005-Jul-15 15:15 UTC
[Asterisk-Users] Re: Building zaptel on x86_64
On Jul 15, 2005, at 12:58 AM, asterisk-users-request@lists.digium.com wrote:> Subject: [Asterisk-Users] Building zaptel on x86_64 > > I cannot build zaptel 1.0.9, or CVS HEAD that I just downloaded today > (2005-07-14). I get the following errors: > > make[1]: Entering directory `/usr/src/linux-2.6.12.2' > CC [M] /usr/local/src/zaptel-1.0.9/zaptel.o > {standard input}: Assembler messages: > {standard input}:13457: Error: suffix or operands invalid for `mov'I put this question to Digium sales support before ordering a card. They said: "The only thing you'll need to do with regards to compilation is to add: -mcmodel=kernel to the first KFLAGS definition in the Zaptel Makefile. You'll also want to make sure that the TDM card isn't sharing an interrupt with your USB controller. " I've used this on builds from 1.0.4 to 1.0.9 with success on an Opteron SMP system.