Bug 1016

Summary: unconditional LoaderSymbol usage prevents static build
Product: xorg Reporter: Stéphane VOLTZ <svoltz>
Component: Driver/TridentAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
quick fix by ifdef'ing LoaderSymbol usage none

Description Stéphane VOLTZ 2004-08-08 22:17:21 UTC
Usage of LoaderSymbol() function in
xc/programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c:2037 prevents
build of a static Xorg server since XFree86LOADER in undefined. Other drivers
are affected too.
Comment 1 Stéphane VOLTZ 2004-08-08 22:22:50 UTC
Created attachment 588 [details] [review]
quick fix by ifdef'ing LoaderSymbol usage

This is a quick fix that make it work for the driver I needed, but I suppose
it'd better to have a LOADERSYMBOL macro that uses Loadersymbol(), and resolves
to nothing when doing a static build.
Comment 2 Adam Jackson 2004-08-09 20:32:33 UTC
this is fixed in CVS as of August 3, please run cvs up.

http://freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c?rev=1.4&view=log

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.