Bug 1016 - unconditional LoaderSymbol usage prevents static build
Summary: unconditional LoaderSymbol usage prevents static build
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Trident (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-08 22:17 UTC by Stéphane VOLTZ
Modified: 2004-08-09 03:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
quick fix by ifdef'ing LoaderSymbol usage (611 bytes, patch)
2004-08-08 22:22 UTC, Stéphane VOLTZ
no flags Details | Splinter Review

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.