Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 83250

Summary: Shared libraries, format generation using lnxLib.rules
Product: [Retired] Red Hat Linux Reporter: Patrick Scott <scottpj>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-01 17:10:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
Modified file from original format
files used to create the libraries none

Description Patrick Scott 2003-01-31 21:20:40 UTC
Description of problem: When attempting to use the
/usr/X11R6/lib/X11/config/lnxLib.rules to create a shared library, the xmkmf
generated Makefile from the Imakefile will not run a compile.

Version-Release number of selected component (if applicable): XFree86-devel,

How reproducible:Using Imake.rules and xmkmf command with a Imakefile with

Steps to Reproduce:
1.Create a Imakefile with SharedLibraryTarget() used xmkmf make Makefile make clean to clear the old objects and executables.
Actual results: errors

make clean
Makefile:900: warning: overriding commands for target `.c.o'
Makefile:852: warning: ignoring old commands for target `.c.o'
make: *** [cleandir] Error 1

Expected results: no errors

make clean
Makefile:900: warning: overriding commands for target `.c.o'
Makefile:852: warning: ignoring old commands for target `.c.o'
+ rm -f
rm -f
+ rm -f
rm -f
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log
MakeOut   "#"*

Additional info:
My solution is to modify the lnxLib.rules at 673,
	@if [ $(SOSYMLINK) ] ; then (set -x; \				@@\
            ^new           ^new

	@set MAJREV=`expr rev : '\(.*\)\.'`; \				@@\

Comment 1 Patrick Scott 2003-01-31 21:30:15 UTC
Created attachment 89749 [details]
Modified file from original format

will replace the original file

Comment 2 Patrick Scott 2003-01-31 21:38:57 UTC
Created attachment 89750 [details]
files used to create the libraries 

environment used to create libraries

Comment 3 Mike A. Harris 2003-02-01 17:10:11 UTC
This is more of a technical support request than a bug report.  Bugzilla
is only for reporting bugs.  Also, at this point in time, XFree86 4.1.0
from Red Hat Linux 7.1 is in security fix only mode.

Your best bet is to email the problem you're having to
mailing list and request assistance.