home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!uwm.edu!cs.utexas.edu!tamsun.tamu.edu!tamuts!n217cg
- From: n217cg@tamuts.tamu.edu (Scott Taylor)
- Newsgroups: comp.os.linux
- Subject: Re: net.o not found when compiling 0.99 with TCP/IP OFF
- Followup-To: comp.os.linux
- Date: 15 Dec 1992 08:20:39 GMT
- Organization: Texas A&M University
- Lines: 54
- Sender: n217cg@tamuts.tamu.edu (Scott Taylor)
- Message-ID: <1gk4gnINNl25@tamsun.tamu.edu>
- References: <1992Dec15.002526.438@mailer.cc.fsu.edu>
- NNTP-Posting-Host: tamuts.tamu.edu
- Summary: Quick fix?
- Keywords: 0.99 make tcp
-
- In article <1992Dec15.002526.438@mailer.cc.fsu.edu> jblaine@garnet.acns.fsu.edu (Jeff Blaine) writes:
- >After trying to get the 0.99 kernel compiled about 5 times last night at
- >50 or so minutes per try, I finally saw Linus' "problems with 0.99"
- >file on sunsite under Incoming and followed the suggestions he made.
- >
- >I was getting the iso CDROM error upon doing a make dep, so I yanked
- >the suggested lines out of fs/isofs/inode.c
- >
- >make dep worked fine.
- >
- >I was getting the tcpip.o not found error that he described also.
- >I created the empty tcpip.a archive as suggested.
- >
- >I am now getting (on the 6TH TRY of this) a "net.o" not found error.
-
- You might still be having trouble with the TCP/IP stuff in net/Makefile;
- net.o requires tcpip.o, which doesn't get compiled if the TCP/IP stuff
- isn't configured. Here's my quick fix; I know it works with TCP/IP un-
- configured, it ought to work with TCP/IP configured, as well:
-
- At the top of net/Makefile, add this line inside the ifdef CONFIG_TCPIP:
- TCP_OBJ = tcp/tcpip.o
-
- Add $(TCP_OBJ) to the definition of OBJS:
- OBJS = socket.o unix.o $(TCP_OBJ)
-
- Delete "tcp/tcpip.o" from "$(LD) -r -o net.o $(OBJS) tcp/tcpip.o" below
- "net.o:" (is this called a stanza, or what? It's late and I'm not up on
- my makefile terminology!).
-
- Or, just ignore all this and delete tcp/tcpip.o from the list of files
- to link into net.o. ;-)
-
- Last, cd /usr/src/linux and make away.
-
- Now hopefully net.o will include tcp/tcpip.o only if TCP/IP is configured
- into the kernel.
-
- This works for me; I have 0.99 with TCP/IP unconfigured. Incidentally,
- I didn't follow Linus' suggestion to create an empty tcpip.a; after doing
- this, it wasn't necessary.
-
- >
- >CAN ANYONE please please please please help?
- >I have spent a good 6 hours now trying to get this to compile properly
- >and I am truthfully at the end of my rope.
- >Someone please suggest something.
- >
- >Jeff Blaine
-
- Scott Taylor
- n217cg@tamuts.tamu.edu
-
- "just one more final...."
-