Question about Makefile, Rules.make?

2002-11-05 Thread he hunter
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/



Re: Question about Makefile, Rules.make?

2002-11-05 Thread Bjoern Kahl AG Resy

 Hallo !

 You hit wrong mailling-list. This list is about cygwin,
 a unix emulation layer on top of MS-Windows.
 It is not about Linux or any other Unix.


On Wed, 6 Nov 2002, he hunter wrote:
 .
 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

 Project purpose: Want to debug the linux source code some modules

 Try a general Linux list or the linux kernel maillinglist for
 linux questions. Note: I do not know if these lists require
 subscription or which one is the right one!

 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

 Again, Cygwin != Linux.
 For KDE, look for a kdevelop or generic kde list at www.kde.org.


 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.

 You clearly should go to a linux kernel list. And: Don't even
 think of doing cross-developpment from cygwin to linux-kernel-stuff.
 Use a native linux box.

 For general configure and autoconf/automake stuff go to
 http://www.amath.washington.edu/~lf/tutorials/autoconf/ or to
 http://www.gnu.org/software/autoconf/


   Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+


--
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/