[gambit-list] ___H_calculate_2d_size redefinition

Bradley Lucier lucier at math.purdue.edu
Mon Feb 19 20:36:21 EST 2007


Did you

(define (calculate-size ...

twice in your code somewhere?

Brad

On Feb 19, 2007, at 8:21 PM, Levi Pearson wrote:

>
> I'm having trouble compiling a program I've written.  There seems  
> to be a redefinition of ___H_calculate_2d_size in the generated C  
> code.  Anyone have any idea why this happened and how I might fix it?
>
> Output:
> $ gsc vm.scm
> vm.c:6411: error: redefinition of '___H_calculate_2d_size'
> vm.c:6075: error: previous definition of '___H_calculate_2d_size'  
> was here
> $
>
> My system:
> Darwin ibook.lan 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8  
> 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power  
> Macintosh powerpc
>
> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
> build 5363)
>
> Gambit version 4.0 beta 20
>
>                --Levi
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list