Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [61.170.212.225] From: "he hunter" To: cygwin AT cygwin DOT com Subject: Question about Makefile, Rules.make? Date: Wed, 06 Nov 2002 13:10:31 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 06 Nov 2002 05:10:31.0643 (UTC) FILETIME=[D45C5AB0:01C28552] Note-from-DJ: This may be spam Hi, I met the similar problem with the part of message after MAKE operation which is about Rules.make. (1)As I use the original makefile: ....... Makefile:43: /Rules.make: No such file or directory make[1]: *** No rule to make target `/Rules.make'. Stop. ...... (2)As I set Configure... with the Arguments: -includedir /usr/G4/linux/include -srcdir /usr/G4/group4c then click "OK", excute the "Autoconf and automake". ......... wrapper.c:32:27:net/irda/irda.h:No such file or directory wrapper.c:33:30:net/irda/wrapper.h.h:No such file or directory . . . gmake[3]:***[wrapper.o]Error 1 gmake[2]:***[all-recursive]Error 1 gmake[1]:***[all-recursive]Error 1 gmake:***[all-recursive-am]Error 2 ***failed*** Project purpose: Want to debug the linux source code some modules Project: KDE2.0 new project with C language, add file from linux kernal source code: /usr/G4/linux/net/irda/*.c /usr/G4/linux/include/net/irda/*.h /usr/G4/linux/net/irda/Config.in /usr/G4/linux/net/irda/Makefile Question: 1) What's relationship among Config.in, Makefile and Rules.make three files? 2) How to setup or write or revise these three files, and where to put these each file? 3) What about "$(TOPDIR)", where to set it? 4) Would you like to give some advices to setup a project with the linux kernal source code? More in detail or some examples are my favourites. Thank you very much for your reply soon. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/lccn/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/