Re: Opteron

I'm not an Opteron expert, but I was under the impression that even on an
Opteron an int is 32 bits; however, iobase should be a pointer, which on
an Opteron is 64 bits. A possible work around would be to change iobase to
a long or maybe a void *.
-Jonathan

On Fri, 5 Sep 2003 bvds_at_bu.edu wrote:

>
> Has anyone else tried to get comedi working on
> an AMD Opteron in 64-bit mode?
> I am running gingin 64 with gcc 3.3 as the compiler.
> I am using kernel version 2.4.22
>
> when I compile, I get hundreds of errors of the form:
>
>  In file included from cb_das16_cs.c:44:
>  8253.h: In function `i8254_mm_load':
>  8253.h:257: warning: cast to pointer from integer of different size
>  8253.h:259: warning: cast to pointer from integer of different size
>  .
>  .
>  .
>
> They all seem to be involved with adding something to dev->iobase
>
> Any ideas, suggestions?
>
> Brett
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2003-09-08Z12:43:07