[Asterisk-Dev] Zaptel on Sparc

dking at pimpsoft.com dking at pimpsoft.com
Sun Oct 3 16:19:32 MST 2004


Hello, I'm one of the people I'm sure you have read posts from.

This is one of the things I have had trouble on and as far as I can tell the assembler is pouting because its being fed the wrong SPARC based instruction set at the same time. (There are several versions) The code in this case would be due to gcc outputting invalid code in regards to architectural computability with either its input or the abilities or the compiler itself. I'm still looking into it and I think it could be based on the version of gcc your using.

Long story short: I did the work to get asterisk compiled on sparc so that does work if you want to use asterisk in a voIP/network function, but I am still currently working on the zaptel problem. 

Sorry.

If however you want to forward me your full zaptel make output (preferably with the -v flag set for verboseness) and the version information on your kernel/operating system/gcc it may help with my work.

 - D

On 30 Sep 2004 at 10:44, G. Phileomonto wrote:

> Ive been going through the list archives and all i can find are peoples 
> posts on how they havent gotten zaptel to compile for ultrasparc
> I am hoping that i just missed a post somewhere.
> 
> I am trying to get a T100P installed on a UltraSparc II system...i dont 
> know anything about sparc and would greatly appreciate any help with this.
> all I am getting is a whole lot of  "warning: left shift count >= width 
> of type" and "warning: integer constant is too large for "long" type" 
> warnings...
> followed by a bunch of "(Requires v9|v9a|v9b; requested architecture is 
> sparclite.)" errors from the assembler...Im running the Sparc port of 
> Gentoo w/ the 2.4.26 kernel
> 
> 
> here is a small snippet:
> /usr/src/linux/include/asm/pgtable.h: In function `pte_modify':
> /usr/src/linux/include/asm/pgtable.h:224: warning: integer constant is 
> too large for "long" type
> /usr/src/linux/include/asm/pgtable.h: In function `mk_pte_io':
> /usr/src/linux/include/asm/pgtable.h:301: warning: left shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h: In function `sun4u_get_pte':
> /usr/src/linux/include/asm/pgtable.h:327: warning: integer constant is 
> too large for "long" type
> /usr/src/linux/include/asm/pgtable.h:328: warning: integer constant is 
> too large for "long" type
> /usr/src/linux/include/asm/pgtable.h:328: warning: comparison is always 
> true due to limited range of data type
> /usr/src/linux/include/asm/pgtable.h:330: warning: right shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> width of type
> /usr/src/linux/include/asm/pgtable.h:333: warning: integer constant is 
> too large for "long" type
> .
> .
> .
> /tmp/ccx3WBZc.s:11250: Error: Architecture mismatch on "rdpr".
> /tmp/ccx3WBZc.s:11250:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11251: Error: Architecture mismatch on "wrpr".
> /tmp/ccx3WBZc.s:11251:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11381: Error: Architecture mismatch on "wrpr".
> /tmp/ccx3WBZc.s:11381:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11391: Error: Architecture mismatch on "lduwa".
> /tmp/ccx3WBZc.s:11391:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11462: Error: Architecture mismatch on "lduwa".
> /tmp/ccx3WBZc.s:11462:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11715: Error: Architecture mismatch on "rdpr".
> /tmp/ccx3WBZc.s:11715:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> /tmp/ccx3WBZc.s:11716: Error: Architecture mismatch on "wrpr".
> /tmp/ccx3WBZc.s:11716:  (Requires v9|v9a|v9b; requested architecture is 
> sparclite.)
> .
> .
> .
> 
> --
> G. Phileomonto
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 







More information about the asterisk-dev mailing list