• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
..about how to compile the DEC 21140 example driver using CodeWarrior IDE 4.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

..about how to compile the DEC 21140 example driver using CodeWarrior IDE 4.0


  • Subject: ..about how to compile the DEC 21140 example driver using CodeWarrior IDE 4.0
  • From: 王淑伶-vivian <email@hidden>
  • Date: Thu, 11 Mar 2004 15:28:43 +0800

Hi:
I am developing ethernet adapter driver for MAC OS 9.2.
I have downloaded the example driver from
<ftp://ftp.apple.com/developer/Development_Kits/OpenTransport/OT2.6/Open
_Transport_SDK_2.6.img.hqx> Open Transport SDK on
http://developer.apple.com/sdk/ <http://developer.apple.com/sdk/>
I open the DEC21140.proj by CodeWarrior 4.0 from /Open Transport
SDK2.6/Module Developes/Apple Enet SDk/Dec 21140 Driver/DEC21140.proj. I
compile it,but I get lots of errors .
Can CodeWarrior 4.0 open the DEC21140.proj correctly? Does there any
option need to be set. Or I need to get other compiler.

The errors from the compiler as follow:
Error : ';'expected
DlpiEnet.h line 41 extern OTInt32 DlpiStreamWput(queue_t* , mblk_t *);

Error : ';'expected
DlpiEnet.h line 45 extern OTInt32 DlpiStreamWsrv(queue_t* );

Error : ';'expected
DlpiEnet.h line 55 extern OTInt32 DlpiStreamRsrv(queue_t* );

Error : ';'expected
DlpiEnet.h line 58 extern OTInt32 DlpiStreamClose(queue_t* ,OTInt32
flag,cred_t * );

Error : ';'expected
DlpiEnet.h line 62 extern OTInt32 DlpiStreamOpen(Dlpi ptr,queue_t
*,dev_t *,OTInt32 flag,OtInt32 sflag,cred_t * );

Error : Object ,'OTInt32'redefined
DlpiDriver.c line 125 StreamOpen(queue_t * q,dev_t *devp,OTInt32
flag,OtInt32 sflag,cred_t * credp);

and others errors....

Thanks for your help

from vivian
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: ..about how to compile the DEC 21140 example driver using CodeWarrior IDE 4.0
      • From: Quinn <email@hidden>
  • Prev by Date: Re: localhost comm btwn X and Classic w/o LAN??
  • Next by Date: Re: kStreamIoctlEvent and T_MEMORYRELEASED question
  • Previous by thread: Re: localhost comm btwn X and Classic w/o LAN??
  • Next by thread: Re: ..about how to compile the DEC 21140 example driver using CodeWarrior IDE 4.0
  • Index(es):
    • Date
    • Thread