home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20477 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.4 KB

  1. Path: sparky!uunet!wupost!uwm.edu!cs.utexas.edu!tamsun.tamu.edu!tamuts!n217cg
  2. From: n217cg@tamuts.tamu.edu (Scott Taylor)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: net.o not found when compiling 0.99 with TCP/IP OFF
  5. Followup-To: comp.os.linux
  6. Date: 15 Dec 1992 08:20:39 GMT
  7. Organization: Texas A&M University
  8. Lines: 54
  9. Sender: n217cg@tamuts.tamu.edu (Scott Taylor)
  10. Message-ID: <1gk4gnINNl25@tamsun.tamu.edu>
  11. References: <1992Dec15.002526.438@mailer.cc.fsu.edu>
  12. NNTP-Posting-Host: tamuts.tamu.edu
  13. Summary: Quick fix?
  14. Keywords: 0.99 make tcp
  15.  
  16. In article <1992Dec15.002526.438@mailer.cc.fsu.edu> jblaine@garnet.acns.fsu.edu (Jeff Blaine) writes:
  17. >After trying to get the 0.99 kernel compiled about 5 times last night at
  18. >50 or so minutes per try, I finally saw Linus' "problems with 0.99"
  19. >file on sunsite under Incoming and followed the suggestions he made.
  20. >
  21. >I was getting the iso CDROM error upon doing a make dep, so I yanked
  22. >the suggested lines out of fs/isofs/inode.c
  23. >
  24. >make dep worked fine.
  25. >
  26. >I was getting the tcpip.o not found error that he described also.
  27. >I created the empty tcpip.a archive as suggested.
  28. >
  29. >I am now getting (on the 6TH TRY of this) a "net.o" not found error.
  30.  
  31. You might still be having trouble with the TCP/IP stuff in net/Makefile;
  32. net.o requires tcpip.o, which doesn't get compiled if the TCP/IP stuff
  33. isn't configured.  Here's my quick fix; I know it works with TCP/IP un-  
  34. configured, it  ought to work  with TCP/IP configured, as well:
  35.  
  36. At the top of net/Makefile, add this line inside the ifdef CONFIG_TCPIP:
  37. TCP_OBJ = tcp/tcpip.o
  38.  
  39. Add $(TCP_OBJ) to the definition of OBJS:
  40. OBJS = socket.o unix.o $(TCP_OBJ)
  41.  
  42. Delete "tcp/tcpip.o" from "$(LD) -r -o net.o $(OBJS) tcp/tcpip.o" below
  43. "net.o:"  (is this called a stanza, or what?  It's late and I'm not up on
  44. my makefile terminology!).
  45.  
  46. Or, just ignore all this and delete tcp/tcpip.o from the list of files
  47. to link into net.o. ;-)
  48.  
  49. Last, cd /usr/src/linux and make away.
  50.  
  51. Now hopefully net.o will include tcp/tcpip.o only if TCP/IP is configured
  52. into the kernel.
  53.  
  54. This works for me; I have 0.99 with TCP/IP unconfigured.  Incidentally,
  55. I didn't follow Linus' suggestion to create an empty tcpip.a; after doing
  56. this, it wasn't necessary.
  57.  
  58. >
  59. >CAN ANYONE please please please please help?
  60. >I have spent a good 6 hours now trying to get this to compile properly
  61. >and I am truthfully at the end of my rope.  
  62. >Someone please suggest something.
  63. >
  64. >Jeff Blaine
  65.  
  66. Scott Taylor
  67. n217cg@tamuts.tamu.edu
  68.  
  69. "just one more final...."
  70.