linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux-pmac-benh broken for some time?
@ 2000-10-21 14:10 Chris Leishman
  2000-10-21 19:01 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Leishman @ 2000-10-21 14:10 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]


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

-- 
----------------------------------------------------------------------
       Knuth: premature optimization is the root of all evil.
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key.  KeyID 0xB4E24219

[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-pmac-benh broken for some time?
  2000-10-21 14:10 linux-pmac-benh broken for some time? Chris Leishman
@ 2000-10-21 19:01 ` Benjamin Herrenschmidt
  2000-10-22  0:41   ` Chris Leishman
  2000-10-22  1:58   ` Airport code problems Chris Leishman
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2000-10-21 19:01 UTC (permalink / raw)
  To: Chris Leishman, linuxppc-dev


>
>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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-pmac-benh broken for some time?
  2000-10-21 19:01 ` Benjamin Herrenschmidt
@ 2000-10-22  0:41   ` Chris Leishman
  2000-10-23 13:56     ` Benjamin Herrenschmidt
  2000-10-22  1:58   ` Airport code problems Chris Leishman
  1 sibling, 1 reply; 5+ messages in thread
From: Chris Leishman @ 2000-10-22  0:41 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Chris Leishman, linuxppc-dev


On Sat, Oct 21, 2000 at 09:01:40PM +0200, Benjamin Herrenschmidt wrote:
>
> >
> >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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Airport code problems.
  2000-10-21 19:01 ` Benjamin Herrenschmidt
  2000-10-22  0:41   ` Chris Leishman
@ 2000-10-22  1:58   ` Chris Leishman
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Leishman @ 2000-10-22  1:58 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


Ben,

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.orig     Fri Jun 30 07:59:11 2000
+++ k_compat.h  Sun Oct 22 12:56:20 2000
@@ -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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-pmac-benh broken for some time?
  2000-10-22  0:41   ` Chris Leishman
@ 2000-10-23 13:56     ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2000-10-23 13:56 UTC (permalink / raw)
  To: Chris Leishman, linuxppc-dev


>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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-23 13:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-21 14:10 linux-pmac-benh broken for some time? Chris Leishman
2000-10-21 19:01 ` Benjamin Herrenschmidt
2000-10-22  0:41   ` Chris Leishman
2000-10-23 13:56     ` Benjamin Herrenschmidt
2000-10-22  1:58   ` Airport code problems Chris Leishman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).