64 bit compilation giving errors.

Hi Friends,
I am trying to compile a miniport driver. I am
getting a list of errors. If anybody has seen this
before please give me some pointer over that. I have
tried eliminating the /Oi and /0Z flag while compiling
but it did not work.

d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1568) : warning
C4163: ‘__yield’ : not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1569) : warning
C4163: ‘’ __lfetch: not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1570) : warning
C4163: ‘__lfetchfault’ : not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1571) : warning
C4163: ‘__mf’ : not available as an intrinsic function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(9590) : error
C4013: ‘InterlockedCompareExchange’ undefined;
assuming extern returning int

Thanks in advance,
Amol.


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Amol Tasgaonkar wrote:

Hi Friends,
I am trying to compile a miniport driver. I am
getting a list of errors. If anybody has seen this
before please give me some pointer over that. I have
tried eliminating the /Oi and /0Z flag while compiling
but it did not work.

d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1568) : warning
C4163: ‘__yield’ : not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1569) : warning
C4163: ‘’ __lfetch: not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1570) : warning
C4163: ‘__lfetchfault’ : not available as an intrinsic
function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1571) : warning
C4163: ‘__mf’ : not available as an intrinsic function
d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(9590) : error
C4013: ‘InterlockedCompareExchange’ undefined;
assuming extern returning int

How did you select the Itanium mode? You haven’t really provided enough
information, but my out-of-thin-air guess is that you are trying to
compile Itanium code using the x86 or AMD64 compiler. Did you define
the IA64 symbol on your own, or did you specify the “64” parameter to
setenv.bat?

And did you really mean to build for Itanium, or did you intend to use
AMD64?

And do you realize you are using an antique DDK? You should be using
the Win 2003 SP1 DDK.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hi,
I am using the “64” paramter to setenv.bat. Currenlty
i am trying to cross compile the code for 64 bit
readiness(I am using x86 machine). And i surely intend
it to later build the code on Itanium.
Could you please let me know why this is happening. Is
doing such a thing is wrong, or there any other way by
which i can go by.

Thanks,
Amol.

— Tim Roberts wrote:

> Amol Tasgaonkar wrote:
>
> >Hi Friends,
> >I am trying to compile a miniport driver. I am
> >getting a list of errors. If anybody has seen this
> >before please give me some pointer over that. I
> have
> >tried eliminating the /Oi and /0Z flag while
> compiling
> >but it did not work.
> >
> >d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1568) :
> warning
> >C4163: ‘__yield’ : not available as an intrinsic
> >function
> >d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1569) :
> warning
> >C4163: ‘’__lfetch: not available as an intrinsic
> >function
> >d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1570) :
> warning
> >C4163: ‘__lfetchfault’ : not available as an
> intrinsic
> >function
> >d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(1571) :
> warning
> >C4163: ‘__mf’ : not available as an intrinsic
> function
> >d:/WINDDK\3790\inc\ddk\wnet\ntddk.h(9590) : error
> >C4013: ‘InterlockedCompareExchange’ undefined;
> >assuming extern returning int
> >
> >
>
> How did you select the Itanium mode? You haven’t
> really provided enough
> information, but my out-of-thin-air guess is that
> you are trying to
> compile Itanium code using the x86 or AMD64
> compiler. Did you define
> the IA64 symbol on your own, or did you specify
> the “64” parameter to
> setenv.bat?
>
> And did you really mean to build for Itanium, or did
> you intend to use
> AMD64?
>
> And do you realize you are using an antique DDK?
> You should be using
> the Win 2003 SP1 DDK.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com