And now its revenge: 2.2.18 does not compile anymore :(


Subject: And now its revenge: 2.2.18 does not compile anymore :(
From: Riccardo Gusso (rick@leonardo.math.unipd.it)
Date: Fri Dec 29 2000 - 12:20:52 MST


I tried to re-compile 2.2.18 because I noticed that I had no
/proc/sys/dev/mac_hide/ directory and I wanted to set
CONFIG_MAC_ADBKEYCODES=y, following some suggestions to solve my keyboard
problems. I followed the same steps as before:
make mrproper
make menuconfig (and I made some changes)
make dep
make vmlinux
But doing this last one I get this error message:
----------------------------------------------------------------------------
drivers/char/char.o: In function `unused':
drivers/char/char.o(.text+0x1db10): undefined reference to `agp_enable'
drivers/char/char.o(.text+0x1db10): relocation truncated to fit: R_PPC_REL24
agp
_enable
drivers/char/char.o: In function `drm_lock_take':
drivers/char/char.o(.text+0x23270): undefined reference to `cmpxchg'
drivers/char/char.o(.text+0x23270): relocation truncated to fit: R_PPC_REL24
cmp
xchg
drivers/char/char.o: In function `drm_lock_transfer':
drivers/char/char.o(.text+0x2334c): undefined reference to `cmpxchg'
drivers/char/char.o(.text+0x2334c): relocation truncated to fit: R_PPC_REL24
cmp
xchg
drivers/char/char.o: In function `drm_lock_free':
drivers/char/char.o(.text+0x233f0): undefined reference to `cmpxchg'
drivers/char/char.o(.text+0x233f0): relocation truncated to fit: R_PPC_REL24
cmp
xchg
make: *** [vmlinux] Error 1
----------------------------------------------------------------------------
I tried to make again all things from the start and so I removed
/lib/modules/2.2.18 and /usr/src/linux/ and tar -zxvf again the sources, and
then I repeated the above steps, but I get the same error.
Any suggestion?
BTW, how do you discover that you should give 'make vmlinux' and not make
'zImage'? In the README I found nothing about this.
Bye.
 Rick

-- 
"Like a bird on the wire
 like a drunk in a midnight choir
 I tried in my way to be free."
      L. Cohen, "Bird on the wire"



This archive was generated by hypermail 2a24 : Fri Dec 29 2000 - 11:20:55 MST