Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- Subject: Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- From: Stephane Sudre <email@hidden>
- Date: Wed, 20 Jul 2005 15:48:21 +0200
On 20 juil. 05, at 14:00, Karunakar Reddy G wrote:
thanx Quinn, it helps me alot your points...
one more problem I always encountered problems with 'mbuf' structure.
In my code I defined in this way , works fine with Mac 10.1.3 but
gives error with Mac 10.4
struct mbuf *pkt;
pkt->m_pkthdr.len = 6;
error: invalid use of undefined type 'struct mbuf'
I heard that 'mbuf ' structure is modified but dont know how this
structure is defined.
Can anybody experienced this kind of problem?
mbuf has been replaced by an opaque reference in Mac OS X 10.4: mbuf_t
defined in kpi_mbuf.h
This also probably means that you need to have 2 versions of your
code...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden