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, 4.1.0-25 How reproducible:Using Imake.rules and xmkmf command with a Imakefile with SharedLibraryTarget(LiS,0.0,$(OBJS1),.,.). Steps to Reproduce: 1.Create a Imakefile with SharedLibraryTarget() used 2.run xmkmf 3.run make Makefile 4.run 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 libLiS.so.libLiS.so rm -f libLiS.so.0 libLiS.so + rm -f libpLiS.so.libpLiS.so rm -f libpLiS.so.0 libpLiS.so 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 : '\(.*\)\.'`; \ @@\ ^^^new
Created attachment 89749 [details] Modified file from original format will replace the original file
Created attachment 89750 [details] files used to create the libraries environment used to create libraries
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 xfree86 mailing list and request assistance.