Thanks very much Godfrey. I'll look forward to a fix at some stage.
For the record, I've submitted Bug ID# 4113475.
Rob.
On 5/10/05, Godfrey van der Linden <email@hidden> wrote:
> G'day Rob,
>
> I've done a little research on this and you will have to file a bug.
> I'll try to get some new headers into the project as soon as
> possible. It seems that the kpi changes have turned mach_port_t from
> a ipc_port structure to a natural_t. This is a bit of a shame as it
> has been hardwired into our exported libraries.
>
> Godfrey
>
> On 05/08/2005, at 21:10 , Rob Cas wrote:
>
> > Hi,
> >
> > I'm migrating a PCI driver from Panther (gcc 3.3) to Tiger. It links
> > fine, but on kextload gives a:
> > kld(): Undefined symbols
> > __ZN34someUserClientSubClass24registerNotificationPortEjmm
> >
> > My exported symbols file previously (from Panther) contained:
> > __ZN34someUserClientSubClass24registerNotificationPortEP8ipc_portmm
> >
> > which matches the parameters to System.kext/Plugins/IOKit.kext/IOKit:
> > __ZN12IOUserClient24registerNotificationPortEP8ipc_portmm
> >
> >
> > However, an nm -g on the object files in my build folder gives:
> > __ZN34someUserClientSubClass24registerNotificationPortEjmm
> >
> >
> > Does anybody know why the symbols of my IOUserClient sub-class would
> > start having an Ejmm post-fix rather than the expected ipc_portmm
> > postfix which would match the symbols in the Tiger kernel?
> >
> > (
> > - Re-building with either gcc 3.3 or 4.0 doesn't seem to make a
> > difference.
> > - The signature of my sub-class member function matches that of
> > IOUserClient:
> > virtual IOReturn registerNotificationPort(mach_port_t port, UInt32
> > type, UInt32 refCon );
> > - If I remove the exported symbols file, the kext loads, despite the
> > mismatched parameters in the registerNotificationPort name...
> > )
> >
> > Thanks in advance for any ideas,
> > Rob.
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Darwin-drivers mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
> >
> > This email sent to email@hidden
> >
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden