Bug 470 - make install.sdk fails if DoLoadableServer YES
Summary: make install.sdk fails if DoLoadableServer YES
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 01:10 UTC by Scott Taylor
Modified: 2004-08-28 07:54 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xf86-rules-SDK.patch (476 bytes, patch)
2004-07-06 03:04 UTC, Donnie Berkholz
no flags Details | Splinter Review

Description Scott Taylor 2004-04-14 01:10:04 UTC
I've seen this happen in the nv and cirrus folders so far. Looks like what
happens is that only .so modules get built (and not the .a or .o files).
Not a problem if just building the server, however the sdk portion only looks
for the .o


install -c -m 0444 lg_xaa.h /usr/X11R6/lib/Server/drivers/cirrus
install -c cirrus_drv.so /usr/X11R6/lib/Server/modules/drivers
make[6]: *** No rule to make target `cirrus_alpine.o', needed by `install.sdk'.
 Stop.

From the cirrus Imakefile:
                                                                               
                                                                               
     
#if !DoLoadableServer
ObjectModuleTarget(cirrus,$(COBJS) $(AOBJS) $(LOBJS))
#else
ObjectModuleTarget(cirrus,$(COBJS))
#endif
...
InstallDriverSDKNonExecFile(lg_xaa.h,$(DRIVERSDKDIR)/drivers/cirrus)
                                                                               
                                                                               
     InstallDriverSDKObjectModule(cirrus,$(DRIVERSDKMODULEDIR),drivers)
InstallDriverSDKObjectSubModule(cirrus_alpine,$(DRIVERSDKMODULEDIR),drivers)
InstallDriverSDKObjectSubModule(cirrus_laguna,$(DRIVERSDKMODULEDIR),drivers)


Bottom line is dlloader and sdk aren't quite peacefully coexisting, though it
shouldn't take more than a few Imakefile edits (or maybe make the SDK logic
pull in the proper module dependancies?)
Comment 1 Donnie Berkholz 2004-07-06 03:04:10 UTC
Created attachment 444 [details] [review]
xf86-rules-SDK.patch

Try this.
Comment 2 Mike A. Harris 2004-08-29 00:54:38 UTC
Current 6.7.99.903 seems to work fine for "make install sdk" on Fedora Core 1 and
2 on i386 and x86_64, and RHEL3/x86.

Closing as "FIXED" in CVS, please reopen if problem recurs.


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.