* Building 2.6.20.1 from source
@ 2007-02-24 20:52 Jim Gifford
2007-02-24 20:58 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: Jim Gifford @ 2007-02-24 20:52 UTC (permalink / raw)
To: Linux MIPS List
Trying to build the current 2.6.20.1 on my cobalt. I get this error.
I have disabled epoll in the config, but still not compiling. Any
suggestions.
arch/mips/lib-64/dump_tlb.c: In function 'msk2str':
arch/mips/lib-64/dump_tlb.c:34: warning: control reaches end of non-void
function
LD arch/mips/lib-64/built-in.o
AS arch/mips/lib-64/memset.o
AS arch/mips/lib-64/watch.o
AR arch/mips/lib-64/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/mips/kernel/built-in.o: In function `sys_call_table':
arch/mips/kernel/scall64-64.S:(.text+0x9ef8): undefined reference to
`compat_sys_epoll_pwait'
make: *** [.tmp_vmlinux1] Error 1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Building 2.6.20.1 from source
2007-02-24 20:52 Building 2.6.20.1 from source Jim Gifford
@ 2007-02-24 20:58 ` Ralf Baechle
2007-02-24 21:13 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2007-02-24 20:58 UTC (permalink / raw)
To: Jim Gifford; +Cc: Linux MIPS List
On Sat, Feb 24, 2007 at 12:52:15PM -0800, Jim Gifford wrote:
> arch/mips/lib-64/dump_tlb.c: In function 'msk2str':
> arch/mips/lib-64/dump_tlb.c:34: warning: control reaches end of non-void
> function
> LD arch/mips/lib-64/built-in.o
> AS arch/mips/lib-64/memset.o
> AS arch/mips/lib-64/watch.o
> AR arch/mips/lib-64/lib.a
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/mips/kernel/built-in.o: In function `sys_call_table':
> arch/mips/kernel/scall64-64.S:(.text+0x9ef8): undefined reference to
> `compat_sys_epoll_pwait'
> make: *** [.tmp_vmlinux1] Error 1
Whops. You can work around this bug by enabling either CONFIG_MIPS32_N32
or CONFIG_MIPS32_O32.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building 2.6.20.1 from source
2007-02-24 20:58 ` Ralf Baechle
@ 2007-02-24 21:13 ` Ralf Baechle
2007-02-24 22:31 ` Jim Gifford
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2007-02-24 21:13 UTC (permalink / raw)
To: Jim Gifford; +Cc: Linux MIPS List
On Sat, Feb 24, 2007 at 08:58:50PM +0000, Ralf Baechle wrote:
Guess I should have eyeballed the error message for a few extra nanoseconds,
my answer wasn't quite right. Enabling the binary compat options would
fix the build but leave the native N64 broken. Below the fix.
Ralf
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
index 10e9a18..e569b84 100644
--- a/arch/mips/kernel/scall64-64.S
+++ b/arch/mips/kernel/scall64-64.S
@@ -470,4 +470,4 @@ sys_call_table:
PTR sys_get_robust_list
PTR sys_kexec_load /* 5270 */
PTR sys_getcpu
- PTR compat_sys_epoll_pwait
+ PTR sys_epoll_pwait
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index c5f590c..bcc4248 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -518,5 +518,5 @@ sys_call_table:
PTR compat_sys_get_robust_list /* 4310 */
PTR compat_sys_kexec_load
PTR sys_getcpu
- PTR sys_epoll_pwait
+ PTR compat_sys_epoll_pwait
.size sys_call_table,.-sys_call_table
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Building 2.6.20.1 from source
2007-02-24 21:13 ` Ralf Baechle
@ 2007-02-24 22:31 ` Jim Gifford
0 siblings, 0 replies; 4+ messages in thread
From: Jim Gifford @ 2007-02-24 22:31 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Linux MIPS List
Ralf Baechle wrote:
> On Sat, Feb 24, 2007 at 08:58:50PM +0000, Ralf Baechle wrote:
>
> Guess I should have eyeballed the error message for a few extra nanoseconds,
> my answer wasn't quite right. Enabling the binary compat options would
> fix the build but leave the native N64 broken. Below the fix.
>
> Ralf
>
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
>
> diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
> index 10e9a18..e569b84 100644
> --- a/arch/mips/kernel/scall64-64.S
> +++ b/arch/mips/kernel/scall64-64.S
> @@ -470,4 +470,4 @@ sys_call_table:
> PTR sys_get_robust_list
> PTR sys_kexec_load /* 5270 */
> PTR sys_getcpu
> - PTR compat_sys_epoll_pwait
> + PTR sys_epoll_pwait
> diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
> index c5f590c..bcc4248 100644
> --- a/arch/mips/kernel/scall64-o32.S
> +++ b/arch/mips/kernel/scall64-o32.S
> @@ -518,5 +518,5 @@ sys_call_table:
> PTR compat_sys_get_robust_list /* 4310 */
> PTR compat_sys_kexec_load
> PTR sys_getcpu
> - PTR sys_epoll_pwait
> + PTR compat_sys_epoll_pwait
> .size sys_call_table,.-sys_call_table
>
>
Thanx Ralf.!!!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-24 22:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24 20:52 Building 2.6.20.1 from source Jim Gifford
2007-02-24 20:58 ` Ralf Baechle
2007-02-24 21:13 ` Ralf Baechle
2007-02-24 22:31 ` Jim Gifford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox