Article View: aus.computers.linux
Article #60110Re: linux 1.1.12 and gcc 2.4.5?
From: Leon Garde
Date: Wed, 11 May 1994 14:28
Date: Wed, 11 May 1994 14:28
65 lines
2960 bytes
2960 bytes
cas@muffin.apana.org.au (Craig Sanders) writes: >I just got the patches to upgrade my kernel to version 1.1.12 today. >Installed them, and ran "make dep ; make clean ; make", and when it was >nearly finished, the make bombed out with (reformatted to make it more >readable): >=======errlist====== > net/net.o: Undefined symbol _rarp_ioctl referenced from text segment > fs/filesystems.a(proc.o): Undefined symbol _rarp_get_info referenced > from text segment > make: *** [tools/zSystem] Error 1 >=======errlist====== yep there are 2 errors, each one has a simple reason. the first is, as other posts to this group/subject mention, that the makefile in net/inet doesnt have rarp.o as a componet of net.o solution add rarp.o to the line OBJS = sock.o utils.o route.o .... to ensure you found the right Makefile, put rarp.o right next to arp.o second, if you haven't configured Rarp into the kernel, then CONFIG_INET_RARP is undefined. fs/proc/net.c should not use _rarp_get_info if CONFIG_INET_RARP is undefined (and should if it is ) change the file to include the #ifdef #endif's as below. #ifdef CONFIG_INET_RARP extern int rarp_get_info .... #endif ------ #ifdef CONFIG_INET_RARP case 135: length= rarp_get_info ... break; #endif >I'm wondering if I've finally come up to a version of Linux which >requires a later version of gcc and the libraries. ur, i doubt it. as long as your gcc doesnt get too far behind .. but the gcc compiler updates bring out new library linking capabilites, and the kernel is staticly linked of course, so unless there's a change in the use of standard c features .. >My guess is that I should get a copy of gcc, libraries, binutils etc, >and just follow the instructions in the archives. no. only if you want to; you dont need to as far as I know . >-- >Craig Sanders cas@muffin.apana.org.au ok? that should help leon -- leon garde; lgarde@scorch.hna.com.au
Technical Details
Message-ID:
<1994May11.142822.28247@scorch.hna.com.au>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!EU.net!sunic!ugle.unit.no!nac.no!ifi.uio.no!wabbit.cc.uow.edu.au!news.ci.com.au!metro!seagoon.newcastle.edu.au!scorch!lgardeReferences:
<1994May8.063849.24863@muffin.apana.org.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,776f806e533320bd X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,776f806e533320bd X-Google-Attributes: gid102983,public X-Google-Thread: 100b1f,776f806e533320bd X-Google-Attributes: gid100b1f,public X-Google-ArrivalTime: 1994-05-11 21:28:39 PST Newsgroups: aus.computers.linux,comp.os.linux.misc,comp.os.linux.help Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!EU.net!sunic!ugle.unit.no!nac.no!ifi.uio.no!wabbit.cc.uow.edu.au!news.ci.com.au!metro!seagoon.newcastle.edu.au!scorch!lgarde From: lgarde@scorch.hna.com.au (Leon Garde) Subject: Re: linux 1.1.12 and gcc 2.4.5? References: <1994May8.063849.24863@muffin.apana.org.au> Organization: Hunter Network Association Host Machine, Newcastle OZ Date: Wed, 11 May 1994 14:28:22 GMT Message-ID: <1994May11.142822.28247@scorch.hna.com.au> Lines: 65