Mailing List Archive

compile error
Hey all.
Don't mean to junk up your inboxes but i'm getting the following
errors on compilation of mips-sources for the ip27. Just wondering if
anyone has seen this before and knows what the problem is. I haven't
been able to find a patch that deals with it, nor can I see what the
problem really is.
output:

arch/mips/sgi-ip27/built-in.o(.text+0x970): In function `startup_bridge_irq':
arch/mips/sgi-ip27/ip27-irq.c:264: undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0x974):arch/mips/sgi-ip27/ip27-irq.c:264:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0x978):arch/mips/sgi-ip27/ip27-irq.c:264:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0x97c):arch/mips/sgi-ip27/ip27-irq.c:264:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0x998):arch/mips/sgi-ip27/ip27-irq.c:263:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0x99c):arch/mips/sgi-ip27/ip27-irq.c:263:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0x9a0):arch/mips/sgi-ip27/ip27-irq.c:263:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0x9a4):arch/mips/sgi-ip27/ip27-irq.c:263:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0xb38): In function `shutdown_bridge_irq':
arch/mips/sgi-ip27/ip27-irq.c:303: undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0xb3c):arch/mips/sgi-ip27/ip27-irq.c:303:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0xb40):arch/mips/sgi-ip27/ip27-irq.c:303:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0xb44):arch/mips/sgi-ip27/ip27-irq.c:303:
undefined reference to `irq_to_bridge'
arch/mips/sgi-ip27/built-in.o(.text+0xbe0):arch/mips/sgi-ip27/ip27-irq.c:311:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0xbe4):arch/mips/sgi-ip27/ip27-irq.c:311:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0xbe8):arch/mips/sgi-ip27/ip27-irq.c:311:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.text+0xbec):arch/mips/sgi-ip27/ip27-irq.c:311:
undefined reference to `irq_to_slot'
arch/mips/sgi-ip27/built-in.o(.init.text+0x194): In function
`ip27_setup_console':
arch/mips/sgi-ip27/ip27-console.c:69: undefined reference to
`early_serial_setup'
arch/mips/sgi-ip27/built-in.o(.init.text+0x4ce4): In function
`xtalk_probe_node':
arch/mips/sgi-ip27/ip27-xtalk.c:40: undefined reference to `bridge_probe'
arch/mips/sgi-ip27/built-in.o(.init.text+0x4d58):arch/mips/sgi-ip27/ip27-xtalk.c:125:
undefined reference to `bridge_probe'
make: *** [.tmp_vmlinux1] Error 1

Thanks.
--
The way that can be named is not the Way.

--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
David Cummings wrote:
> Hey all.
> Don't mean to junk up your inboxes but i'm getting the following
> errors on compilation of mips-sources for the ip27. Just wondering if
> anyone has seen this before and knows what the problem is. I haven't
> been able to find a patch that deals with it, nor can I see what the
> problem really is.
> output:
>

Which mips-sources version?


--Kumba

--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands
do them because they must, while the eyes of the great are elsewhere." --Elrond
--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
ok, my apologies, I was a little confused. Still not working, but
confused. The first message was from the 2.6.12 sources, either from
mips-sources unmasked by ~mips, or straight from linux-mips cvs.

With the non-masked mips-sources, 2.6.10-20050115, I'm getting this
even though I don't have NUMA config'd:
CHK usr/initramfs_list
CC arch/mips/sgi-ip27/ip27-klnuma.o
arch/mips/sgi-ip27/ip27-klnuma.c:31: error: conflicting types for 'setup_replic'
include/asm/sn/sn_private.h:15: error: previous declaration of 'setup_replicatie
arch/mips/sgi-ip27/ip27-klnuma.c:31: error: conflicting types for 'setup_replic'
include/asm/sn/sn_private.h:15: error: previous declaration of 'setup_replicatie
arch/mips/sgi-ip27/ip27-klnuma.c:96: error: conflicting types for 'replicate_ke'
include/asm/sn/sn_private.h:16: error: previous declaration of 'replicate_kernee
arch/mips/sgi-ip27/ip27-klnuma.c:96: error: conflicting types for 'replicate_ke'
include/asm/sn/sn_private.h:16: error: previous declaration of 'replicate_kernee
make[1]: *** [arch/mips/sgi-ip27/ip27-klnuma.o] Error 1
make: *** [arch/mips/sgi-ip27] Error 2

Thanks again.
-dave

--
The way that can be named is not the Way.

--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
David Cummings wrote:
> ok, my apologies, I was a little confused. Still not working, but
> confused. The first message was from the 2.6.12 sources, either from
> mips-sources unmasked by ~mips, or straight from linux-mips cvs.

So which is it? It makes a difference, because mips-sources provides
extra patches that straight checkouts from linux-mips.org cvs don't include.

-Steve

--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
same error on both 2.6.12 sources
-dave

On 7/1/05, Stephen P. Becker <geoman@gentoo.org> wrote:
> David Cummings wrote:
> > ok, my apologies, I was a little confused. Still not working, but
> > confused. The first message was from the 2.6.12 sources, either from
> > mips-sources unmasked by ~mips, or straight from linux-mips cvs.
>
> So which is it? It makes a difference, because mips-sources provides
> extra patches that straight checkouts from linux-mips.org cvs don't include.
>
> -Steve
>
> --
> gentoo-mips@gentoo.org mailing list
>
>


--
The way that can be named is not the Way.

--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
David Cummings wrote:
> same error on both 2.6.12 sources
> -dave
>
> On 7/1/05, Stephen P. Becker <geoman@gentoo.org> wrote:
>

I'm suspecting an error in your config. While I haven't built an IP27 kernel
multiple ways, the config I used for my netboot worked well enough. You might
want to start from that and tweak it to your liking.

One note of warning, however, current 2.6.12 IP27 and IP30 kernels don't have a
working ethernet driver due to a bug in IOC3 that's triggered by some code
additions in 2.6.12. I've got a reversal patch that removes said code, but I
think a fix may have recently gone in, so I have to test it and cut a new
mips-sources release (which I'm doing currently).


--Kumba

--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands
do them because they must, while the eyes of the great are elsewhere." --Elrond
--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
alright, let's start over with the regular, not masked mips-sources.
This gives me a linux-2.6.10-20050115 folder and sources. OK. here is
my .config:
http://davec.churchofthedollar.com/.config
and the results of mips64make:
http://davec.churchofthedollar.com/make.log
where mips64make is as follows:
alias mips64make="make ARCH=mips CROSS_COMPILE=mips64-unknown-linux-gnu-"

thanks...

On 7/1/05, Kumba <kumba@gentoo.org> wrote:
> David Cummings wrote:
> > same error on both 2.6.12 sources
> > -dave
> >
> > On 7/1/05, Stephen P. Becker <geoman@gentoo.org> wrote:
> >
>
> I'm suspecting an error in your config. While I haven't built an IP27 kernel
> multiple ways, the config I used for my netboot worked well enough. You might
> want to start from that and tweak it to your liking.
>
> One note of warning, however, current 2.6.12 IP27 and IP30 kernels don't have a
> working ethernet driver due to a bug in IOC3 that's triggered by some code
> additions in 2.6.12. I've got a reversal patch that removes said code, but I
> think a fix may have recently gone in, so I have to test it and cut a new
> mips-sources release (which I'm doing currently).
>
>
> --Kumba
>
> --
> Gentoo/MIPS Team Lead
> Gentoo Foundation Board of Trustees
>
> "Such is oft the course of deeds that move the wheels of the world: small hands
> do them because they must, while the eyes of the great are elsewhere." --Elrond
> --
> gentoo-mips@gentoo.org mailing list
>
>


--
The way that can be named is not the Way.

--
gentoo-mips@gentoo.org mailing list
Re: compile error [ In reply to ]
eh, screw it. That's a really old copy of sources. I'm now going to
focus on 2.6.12. I will start a new thread when the time comes. Thanks
again

On 7/1/05, David Cummings <real.psyence@gmail.com> wrote:
> alright, let's start over with the regular, not masked mips-sources.
> This gives me a linux-2.6.10-20050115 folder and sources. OK. here is
> my .config:
> http://davec.churchofthedollar.com/.config
> and the results of mips64make:
> http://davec.churchofthedollar.com/make.log
> where mips64make is as follows:
> alias mips64make="make ARCH=mips CROSS_COMPILE=mips64-unknown-linux-gnu-"
>
> thanks...
>
> On 7/1/05, Kumba <kumba@gentoo.org> wrote:
> > David Cummings wrote:
> > > same error on both 2.6.12 sources
> > > -dave
> > >
> > > On 7/1/05, Stephen P. Becker <geoman@gentoo.org> wrote:
> > >
> >
> > I'm suspecting an error in your config. While I haven't built an IP27 kernel
> > multiple ways, the config I used for my netboot worked well enough. You might
> > want to start from that and tweak it to your liking.
> >
> > One note of warning, however, current 2.6.12 IP27 and IP30 kernels don't have a
> > working ethernet driver due to a bug in IOC3 that's triggered by some code
> > additions in 2.6.12. I've got a reversal patch that removes said code, but I
> > think a fix may have recently gone in, so I have to test it and cut a new
> > mips-sources release (which I'm doing currently).
> >
> >
> > --Kumba
> >
> > --
> > Gentoo/MIPS Team Lead
> > Gentoo Foundation Board of Trustees
> >
> > "Such is oft the course of deeds that move the wheels of the world: small hands
> > do them because they must, while the eyes of the great are elsewhere." --Elrond
> > --
> > gentoo-mips@gentoo.org mailing list
> >
> >
>
>
> --
> The way that can be named is not the Way.
>


--
The way that can be named is not the Way.

--
gentoo-mips@gentoo.org mailing list