Bug 470

Summary: make install.sdk fails if DoLoadableServer YES
Product: xorg Reporter: Scott Taylor <swtaylor>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: dberkholz, mharris, tseng
Version: 6.7.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xf86-rules-SDK.patch none

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.