All of lore.kernel.org
 help / color / mirror / Atom feed
* sh r7780mp_defconfig compile error
@ 2008-03-02 21:35 ` Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-03-02 21:35 UTC (permalink / raw)
  To: Stuart Menefy, Paul Mundt; +Cc: linux-sh, linux-kernel

Commit d02b08f6e8b184ffef349e395210a5e82ff4f4bc causes the following 
compile error with r7780mp_defconfig:

<--  snip  -->

...
  CC      init/main.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clocksource.h:18,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clockchips.h:13,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/tick.h:9,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/init/main.c:44:
include2/asm/io.h: In function '__ioremap_mode':
include2/asm/io.h:331: error: implicit declaration of function 'P1SEGADDR'
include2/asm/io.h:333: error: implicit declaration of function 'P2SEGADDR'
make[2]: *** [init/main.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* sh r7780mp_defconfig compile error
@ 2008-03-02 21:35 ` Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-03-02 21:35 UTC (permalink / raw)
  To: Stuart Menefy, Paul Mundt; +Cc: linux-sh, linux-kernel

Commit d02b08f6e8b184ffef349e395210a5e82ff4f4bc causes the following 
compile error with r7780mp_defconfig:

<--  snip  -->

...
  CC      init/main.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clocksource.h:18,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clockchips.h:13,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/tick.h:9,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/init/main.c:44:
include2/asm/io.h: In function '__ioremap_mode':
include2/asm/io.h:331: error: implicit declaration of function 'P1SEGADDR'
include2/asm/io.h:333: error: implicit declaration of function 'P2SEGADDR'
make[2]: *** [init/main.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: sh r7780mp_defconfig compile error
  2008-03-02 21:35 ` Adrian Bunk
  (?)
@ 2008-03-03  8:53 ` Jeongdo Son
  -1 siblings, 0 replies; 5+ messages in thread
From: Jeongdo Son @ 2008-03-03  8:53 UTC (permalink / raw)
  To: linux-sh

Hi

I had the same compile error.
I traced the source and noticed that P#SEGADDR are only defined when
CONFIG_PMB is NOT selected.
If your system is not using physical 32-bit addressing function by
SH-4A PMB, setting off the CONFIG_PMB can be a solution.
I think some dummy macros should be added to avoid this compile error.

Regards,
Jeongdo Son

On Mon, Mar 3, 2008 at 6:35 AM, Adrian Bunk <bunk@kernel.org> wrote:
> Commit d02b08f6e8b184ffef349e395210a5e82ff4f4bc causes the following
>  compile error with r7780mp_defconfig:
>
>  <--  snip  -->
>
>  ...
>   CC      init/main.o
>  In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clocksource.h:18,
>                  from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/clockchips.h:13,
>                  from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/tick.h:9,
>                  from /home/bunk/linux/kernel-2.6/git/linux-2.6/init/main.c:44:
>  include2/asm/io.h: In function '__ioremap_mode':
>  include2/asm/io.h:331: error: implicit declaration of function 'P1SEGADDR'
>  include2/asm/io.h:333: error: implicit declaration of function 'P2SEGADDR'
>  make[2]: *** [init/main.o] Error 1
>
>  <--  snip  -->
>
>  cu
>  Adrian
>
>  --
>
>        "Is there not promise of rain?" Ling Tan asked suddenly out
>         of the darkness. There had been need of rain for many days.
>        "Only a promise," Lao Er said.
>                                        Pearl S. Buck - Dragon Seed
>
>  --
>  To unsubscribe from this list: send the line "unsubscribe linux-sh" in
>  the body of a message to majordomo@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: sh r7780mp_defconfig compile error
  2008-03-02 21:35 ` Adrian Bunk
  (?)
  (?)
@ 2008-03-03  9:00 ` Paul Mundt
  -1 siblings, 0 replies; 5+ messages in thread
From: Paul Mundt @ 2008-03-03  9:00 UTC (permalink / raw)
  To: linux-sh

On Mon, Mar 03, 2008 at 05:53:50PM +0900, Jeongdo Son wrote:
> I had the same compile error.
> I traced the source and noticed that P#SEGADDR are only defined when
> CONFIG_PMB is NOT selected.
> If your system is not using physical 32-bit addressing function by
> SH-4A PMB, setting off the CONFIG_PMB can be a solution.
> I think some dummy macros should be added to avoid this compile error.
> 
There are a few other things that are broken with CONFIG_PMB on R7780MP,
so stubbing around it for the time being doesn't help anything but the
current config build. The defconfig should just be updated to disable it
for this release cycle.

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

* Re: sh r7780mp_defconfig compile error
  2008-03-02 21:35 ` Adrian Bunk
                   ` (2 preceding siblings ...)
  (?)
@ 2008-03-03 15:30 ` Adrian Bunk
  -1 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2008-03-03 15:30 UTC (permalink / raw)
  To: linux-sh

On Mon, Mar 03, 2008 at 06:00:07PM +0900, Paul Mundt wrote:
> On Mon, Mar 03, 2008 at 05:53:50PM +0900, Jeongdo Son wrote:
> > I had the same compile error.
> > I traced the source and noticed that P#SEGADDR are only defined when
> > CONFIG_PMB is NOT selected.
> > If your system is not using physical 32-bit addressing function by
> > SH-4A PMB, setting off the CONFIG_PMB can be a solution.
> > I think some dummy macros should be added to avoid this compile error.
> > 
> There are a few other things that are broken with CONFIG_PMB on R7780MP,
> so stubbing around it for the time being doesn't help anything but the
> current config build. The defconfig should just be updated to disable it
> for this release cycle.

se7780_defconfig is the other defconfig with which I ran into this 
issue, so it should get similar treatment.

(In case anyone wonders why I ran into this: I'm currently trying to get 
 as many defconfigs as possible from all architectures compiling.)

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

end of thread, other threads:[~2008-03-03 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 21:35 sh r7780mp_defconfig compile error Adrian Bunk
2008-03-02 21:35 ` Adrian Bunk
2008-03-03  8:53 ` Jeongdo Son
2008-03-03  9:00 ` Paul Mundt
2008-03-03 15:30 ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.