Skip to contentSkip to conversation

compiling error of linux 2.6.12 recent cvs head for db1550 using defconfig

DISCUSSION rolf liu 3 participants 6 messages Jul 6, 2005 – Jul 14, 2005 MIPS

lore
Share & tools
lore

rolf liu

author
#0 lore raw

I use gcc 3.4.4 to compile the recent 2.6.12, got the following errors:

CC arch/mips/au1000/common/setup.o
In file included from include/asm/io.h:29,

                 from include/asm/mach-au1x00/au1000.h:43,
                 from arch/mips/au1000/common/setup.c:42:

include/asm-mips/mach-au1x00/ioremap.h:25: warning: static declaration of 'fixup_bigphys_addr' follows non-static declaration include/asm/pgtable.h:363: warning: 'fixup_bigphys_addr' declared inline after being called
include/asm/pgtable.h:363: warning: previous declaration of 'fixup_bigphys_addr' was here include/asm-mips/mach-au1x00/ioremap.h: In function `fixup_bigphys_addr':
include/asm-mips/mach-au1x00/ioremap.h:26: warning: implicit declaration of function `__fixup_bigphys_addr' arch/mips/au1000/common/setup.c: At top level:
arch/mips/au1000/common/setup.c:159: error: conflicting types for '__fixup_bigphys_addr' include/asm-mips/mach-au1x00/ioremap.h:26: error: previous implicit declaration of '__fixup_bigphys_addr' was here
make[1]: *** [arch/mips/au1000/common/setup.o] Error 1
make: *** [arch/mips/au1000/common] Error 2

Not sure if it is just compiler's problem

thanks

#1 lore raw
Quoted 23 lines · rolf liu

I use gcc 3.4.4 to compile the recent 2.6.12, got the following errors:

CC arch/mips/au1000/common/setup.o
In file included from include/asm/io.h:29,

                 from include/asm/mach-au1x00/au1000.h:43,
                 from arch/mips/au1000/common/setup.c:42:

include/asm-mips/mach-au1x00/ioremap.h:25: warning: static declaration of 'fixup_bigphys_addr' follows non-static declaration include/asm/pgtable.h:363: warning: 'fixup_bigphys_addr' declared inline after being called
include/asm/pgtable.h:363: warning: previous declaration of 'fixup_bigphys_addr' was here include/asm-mips/mach-au1x00/ioremap.h: In function `fixup_bigphys_addr':
include/asm-mips/mach-au1x00/ioremap.h:26: warning: implicit declaration of function `__fixup_bigphys_addr' arch/mips/au1000/common/setup.c: At top level:
arch/mips/au1000/common/setup.c:159: error: conflicting types for '__fixup_bigphys_addr' include/asm-mips/mach-au1x00/ioremap.h:26: error: previous implicit declaration of '__fixup_bigphys_addr' was here
make[1]: *** [arch/mips/au1000/common/setup.o] Error 1
make: *** [arch/mips/au1000/common] Error 2

Quoted 1 line

Not sure if it is just compiler's problem

No, it's not. Looks like Maciej's patch on Thursday broke the above.

Maciej, I assume you built a kernel for one of the Au1x boards before you applied the patch ;)?

Pete

#2 lore raw
Quoted 2 lines · Pete Popov

Maciej, I assume you built a kernel for one of the Au1x boards before you applied the patch ;)?

Certainly not -- I don't maintain that part of the tree in any sense -- I
don't even have any related hardware, so why should I bother? I sent the patch for public review to let interested parties exactly to catch such problems -- I even mentioned explicitly I only did a minimal arrangement for the Au1000 code.

Maciej

#3 lore raw
Quoted 7 lines · Maciej W. Rozycki
Quoted 2 lines · Pete Popov

Maciej, I assume you built a kernel for one of the Au1x boards before you applied the patch ;)?

Certainly not -- I don't maintain that part of the tree in any sense -- I
don't even have any related hardware, so why should I bother?

Well, I understand you don't have the HW so you can't test the patch. But at least it should compile, imho.

Quoted 4 lines

I sent the
patch for public review to let interested parties exactly to catch such problems -- I even mentioned explicitly I only did a minimal arrangement for the Au1000 code.

Pete

author
#4 lore raw
In reply to Pete Popov

Another error:

"No rule to make target drivers/pcmcia/bulkmem.s, needed by drivers/pcmcia/bulkmem.o. Stop"

I think the rule is in the top level Makefile. Why this error comes out?

thanks

Quoted 35 lines · Pete Popov
Quoted 23 lines · rolf liu

I use gcc 3.4.4 to compile the recent 2.6.12, got the following errors:

CC arch/mips/au1000/common/setup.o
In file included from include/asm/io.h:29,

                 from include/asm/mach-au1x00/au1000.h:43,
                 from arch/mips/au1000/common/setup.c:42:

include/asm-mips/mach-au1x00/ioremap.h:25: warning: static declaration of 'fixup_bigphys_addr' follows non-static declaration include/asm/pgtable.h:363: warning: 'fixup_bigphys_addr' declared inline after being called
include/asm/pgtable.h:363: warning: previous declaration of 'fixup_bigphys_addr' was here include/asm-mips/mach-au1x00/ioremap.h: In function `fixup_bigphys_addr':
include/asm-mips/mach-au1x00/ioremap.h:26: warning: implicit declaration of function `__fixup_bigphys_addr' arch/mips/au1000/common/setup.c: At top level:
arch/mips/au1000/common/setup.c:159: error: conflicting types for '__fixup_bigphys_addr' include/asm-mips/mach-au1x00/ioremap.h:26: error: previous implicit declaration of '__fixup_bigphys_addr' was here
make[1]: *** [arch/mips/au1000/common/setup.o] Error 1
make: *** [arch/mips/au1000/common] Error 2

Quoted 1 line

Not sure if it is just compiler's problem

No, it's not. Looks like Maciej's patch on Thursday broke the above.

Maciej, I assume you built a kernel for one of the Au1x boards before you applied the patch ;)?

Pete

#5 lore raw
In reply to rolf liu

Try again, I just fixed it and one other compile error in 2.6.13-rc3.

Pete

Quoted 27 lines · rolf liu

I use gcc 3.4.4 to compile the recent 2.6.12, got the following errors:

CC arch/mips/au1000/common/setup.o
In file included from include/asm/io.h:29,

                 from include/asm/mach-au1x00/au1000.h:43,
                 from arch/mips/au1000/common/setup.c:42:

include/asm-mips/mach-au1x00/ioremap.h:25: warning: static declaration of 'fixup_bigphys_addr' follows non-static declaration include/asm/pgtable.h:363: warning: 'fixup_bigphys_addr' declared inline after being called
include/asm/pgtable.h:363: warning: previous declaration of 'fixup_bigphys_addr' was here include/asm-mips/mach-au1x00/ioremap.h: In function `fixup_bigphys_addr':
include/asm-mips/mach-au1x00/ioremap.h:26: warning: implicit declaration of function `__fixup_bigphys_addr' arch/mips/au1000/common/setup.c: At top level:
arch/mips/au1000/common/setup.c:159: error: conflicting types for '__fixup_bigphys_addr' include/asm-mips/mach-au1x00/ioremap.h:26: error: previous implicit declaration of '__fixup_bigphys_addr' was here
make[1]: *** [arch/mips/au1000/common/setup.o] Error 1
make: *** [arch/mips/au1000/common] Error 2

Not sure if it is just compiler's problem

thanks