linux-pmac-benh broken for some time?
Just curious, but is anyone else having this problem on compile of linux-pmac-benh?
<snip a successful compile...>
ln -sf vmlinux.coff zImage
ld -Ttext 0x00400000 -o vmlinux.elf crt0.o start.o chrpmain.o misc.o string.o
zlib.o image.o no_initrd.o /usr/src/linux-pmac-benh/lib/lib.a
./mknote > note
objcopy vmlinux.elf vmlinux.elf --add-section=.note=note -R .comment
objcopy -O aixcoff-rs6000 -R .stab -R .stabstr -R .comment --add-section=image=vmlinux.gz micoffboot miboot.image ./hack-coff miboot.image
make[1]: Leaving directory `/usr/src/linux-pmac-benh/arch/ppc/coffboot'
make[1]: Entering directory `/usr/src/linux-pmac-benh/arch/ppc/boot'
ld -T ../vmlinux.lds -Ttext 0x00800000 -o zvmlinux.tmp head.o misc.o ../coffboot/zlib.o vreset.o kbd.o of1275.o ns16550.o vreset.o: In function `vga_init':vreset.o(.text+0x3c2): undefined reference to `loops_per_jiffy'vreset.o(.text+0x3c6): undefined reference to `loops_per_jiffy'
make[1]: *** [zvmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-pmac-benh/arch/ppc/boot'
make: *** [zImage] Error 2
This is with benh's default config. If this is a problem, is it worth me trying to track it down, or are you looking at it Ben?
Thanks,
Chris
Signature · 4 lines
----------------------------------------------------------------------
Knuth: premature optimization is the root of all evil.
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219Quoted 5 lines
This is with benh's default config. If this is a problem, is it worth me trying to track it down, or are you looking at it Ben?
I fixed that but I have some problems with the rsync tree which moved again. Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 5 lines
This is with benh's default config. If this is a problem, is it worth me trying to track it down, or are you looking at it Ben?
I fixed that but I have some problems with the rsync tree which moved again. Ben.
It is officialy at ppc.samba.org::linux-pmac-benh, or penguinppc.org::linux-pmac-benh now?
Chris
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines
It is officialy at ppc.samba.org::linux-pmac-benh, or penguinppc.org::linux-pmac-benh now?
penguinppc.org
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Airport code problems.
In reply to Benjamin HerrenschmidtBen,
I just fixed the problem I was having with your dev kernel source, and got that installed. Then I tried recompiling the airport driver, and had some problems with multiply defined macro's in k_compat.h. They were "init_waitqueue_head(p)" and "__set_current_state(n)".
I'm doubt this is the right way of fixing it, but the patch below worked.
k_compat.h Sun Oct 22 12:56:20 2000 renamed from k_compat.h.orig Fri Jun 30 07:59:11 2000 +1 -1
@@ -52,7 +52,7 @@ #define DEV_ID dev_id #define IRQ_MAP(irq, dev) do { } while (0) -#if (LINUX_VERSION_CODE < VERSION(2,3,1)) +#if ((LINUX_VERSION_CODE < VERSION(2,3,16)) && (LINUX_VERSION_CODE >=
VERSION(2,3,0)) || (LINUX_VERSION_CODE < VERSION(2,2,18)))
#if (LINUX_VERSION_CODE < VERSION(2,0,16)) #define init_waitqueue_head(p) (*(p) = NULL) #else
@@ -176,7 +176,7 @@
#if (LINUX_VERSION_CODE < VERSION(2,1,0))
#define __set_current_state(n) \
do { current->state = TASK_INTERRUPTIBLE; } while (0)-#elif (LINUX_VERSION_CODE < VERSION(2,3,16))
+#elif ((LINUX_VERSION_CODE < VERSION(2,3,16)) && (LINUX_VERSION_CODE >= VERSION(2,3,0)) || (LINUX_VERSION_CODE < VERSION(2,2,18)))
#define __set_current_state(n) do { current->state = (n); } while (0) #endif
Chris
--
----------------------------------------------------------------------
Knuth: premature optimization is the root of all evil.
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/