Re: CVS GLX oddity
Mark Vojkovich <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
Yes, that works.
Mark.
On Thu, 23 Mar 2006, David Dawes wrote:
> On Wed, Mar 22, 2006 at 08:52:00PM -0800, Mark Vojkovich wrote:
> > initdata is still NULL even after your call to LoaderSymbol() in
> >that patch.
>
> The module name needs to be prepended. Something like:
>
> if (!initdata) {
> char *md;
>
> xasprintf(&md, "%s" MODULE_DATA_NAME, name);
> if (md) {
> initdata = LoaderSymbol(md);
> xfree(md);
> }
> }
>
>
> David
>
> >
> > Mark.
> >
> >On Wed, 22 Mar 2006, David Dawes wrote:
> >
> >> On Wed, Mar 22, 2006 at 06:57:17PM -0800, Mark Vojkovich wrote:
> >> > I can't get CVS to load NVIDIA's GLX module. It complains:
> >> >
> >> >(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> >> >(EE) LoadModule: Module glx does not have a glxModuleData data object.
> >> >(II) UnloadModule: "glx"
> >> >
> >> >Did something change with regards to this? It was working before
> >> >I updated.
> >>
> >> dlopen modules have always had different semantics than XFree86 modules.
> >> These differences will only get greater as additional features are added
> >> to the XFree86 loader and as the newly added features are used more
> >> widely.
> >>
> >> The following (untested) patch may solve this particular problem. Let me know
> >> how it goes.
> >>
> >> David
> >> --
> >> David Dawes X-Oz Technologies
> >> www.XFree86.org/~dawes www.x-oz.com
> >>
> >_______________________________________________
> >Devel mailing list
> >[email protected]
> >http://XFree86.Org/mailman/listinfo/devel
>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://XFree86.Org/mailman/listinfo/devel
>