Re: [Airo-linux-general] compiling problems with CVS
Status: Inactive
Brought to you by:
breed
From: Benjamin R. <br...@ya...> - 2002-01-11 19:32:39
|
That patch was only for 2.4.3. In later kernels you just need to copy airo.c, airo.h, and airo_cs.c over the existing files in the kernel sources. ben --- Cory Steers <co...@st...> wrote: > I'm having some trouble compiling my kernel after > patching it with CVS > code. I've tried this with a 2.4.7 and 2.4.17 > kernel. If my kernel > source is in /usr/src/linux and my CVS patches are > in > /usr/src/airo-linux, I cd to /usr/src/ and type > "patch -p0 < airo-linux/kernel/patches/2.4.3.patch" > and get the > following errors: > > > patching file linux/drivers/net/Config.in > Hunk #1 FAILED at 254. > 1 out of 1 hunk FAILED -- saving rejects to file > linux/drivers/net/Config.in.rej > patching file linux/drivers/net/Makefile > Hunk #1 succeeded at 94 (offset 5 lines). > patching file linux/drivers/net/pcmcia/Config.in > Hunk #1 succeeded at 31 (offset 1 line). > Hunk #2 FAILED at 40. > 1 out of 2 hunks FAILED -- saving rejects to file > linux/drivers/net/pcmcia/Config.in.rej > patching file linux/drivers/net/pcmcia/Makefile > patching file linux/Documentation/Configure.help > Hunk #1 succeeded at 8650 with fuzz 1 (offset 1340 > lines). > > After looking at linux/drivers/net/Config.in.rej it > appears that ~ ling > 290 something is where it wants to put the code. I > don't think it's > necessary anyway, because Config.in sources > drivers/net/wireless/Config.in which has a spot for > CONFIG_AIRO. > > I have no idea what > linux/drivers/net/pcmcia/Config.in.rej wants to do. > I can't match the rej stuff to anything in that > Config file. I decided > to not worry about it, because I'm not running on a > laptop, and > therefore not using pcmcia. > > Next, I move linux/drivers/net/wireless/airo.c and > airo_cs.c to > airo-old.c and airo_cs-old.c respectively. I copy > airo-linux/kernel/airo.c airo.h and airo_cs.c to > linux/drivers/net/wireless. I run "make > menuconfig", configure the > kernel, and then successfully run "make dep". When > I run "make bzImage" > I get the following errors: > > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall > -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer > -fno-strict-aliasing -fno-common > -pipe -mpreferred-stack-boundary=2 -march=i586 > -DEXPORT_SYMTAB -c > auto_irq.c > rm -f net.o > ld -m elf_i386 -r -o net.o tulip/tulip.o airo.o > Space.o setup.o > net_init.o loopback.o ppp_generic.o slhc.o > ppp_async.o ppp_synctty.o > ppp_deflate.o bsd_comp.o auto_irq.o > ld: cannot open airo.o: No such file or directory > make[3]: *** [net.o] Error 1 > make[3]: Leaving directory > `/usr/src/linux/drivers/net' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory > `/usr/src/linux/drivers/net' > make[1]: *** [_subdir_net] Error 2 > make[1]: Leaving directory `/usr/src/linux/drivers' > make: *** [_dir_drivers] Error 2 > > > Any help would be greatly appreciated. > > Thanks, > Cory > > > _______________________________________________ > Airo-linux-general mailing list > Air...@li... > https://lists.sourceforge.net/lists/listinfo/airo-linux-general __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |