* hello! can you help me for compiling the linux kernel?
@ 2009-12-01 3:52 jack_lu
2009-12-01 3:52 ` jack_lu
2009-12-01 5:13 ` Wu Zhangjin
0 siblings, 2 replies; 7+ messages in thread
From: jack_lu @ 2009-12-01 3:52 UTC (permalink / raw)
To: linux-mips
Dear Sir,
hello! can you help me for compiling the linux kernel?
Linux version is linux-2.6.21.5.
CPU:mips
Cross-compilation tools is eldk and openwrt file packages.
Errors are the followings.
init/built-in.o: In function `init':
init/main.c:833: undefined reference to `opipmux_gel_init'
init/main.c:833: relocation truncated to fit: R_MIPS_26 against `opipmux_gel_init'
init/main.c:835: undefined reference to `ip_auto_config'
init/main.c:835: relocation truncated to fit: R_MIPS_26 against `ip_auto_config'
init/built-in.o: In function `start_kernel':
init/main.c:525: undefined reference to `setup_prom_printf'
init/main.c:525: relocation truncated to fit: R_MIPS_26 against `setup_prom_printf'
init/main.c:527: undefined reference to `prom_printf'
init/main.c:527: relocation truncated to fit: R_MIPS_26 against `prom_printf'
init/main.c:530: undefined reference to `prom_printf'
init/main.c:530: relocation truncated to fit: R_MIPS_26 against `prom_printf'
arch/mips/kernel/built-in.o: In function `test_setdata':
arch/mips/kernel/syscall.c:461: undefined reference to `set_ipmux_el_tx_buf_data'
arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26 against `set_ipmux_el_tx_buf_data'
arch/mips/kernel/built-in.o: In function `test_getdata':
arch/mips/kernel/syscall.c:453: undefined reference to `get_ipmux_el_rx_buf_data'
arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26 against `get_ipmux_el_rx_buf_data'
arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
arch/mips/kernel/syscall.c:446: undefined reference to `wait_for_host_test_interrupt'
arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26 against `wait_for_host_test_interrupt'
kernel/built-in.o: In function `free_module':
kernel/module.c:1231: undefined reference to `kfree1'
kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against `kfree1'
drivers/built-in.o: In function `snapshot_map':
drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26 against `__cmpdi2'
make: *** [.tmp_vmlinux1] Error 1
make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'. Stop.
copyed to ../wrt_uImage
cp: cannot stat `uImageLzma': No such file or directory
ls: cannot access ../wrt_uImage: No such file or directory
===============================================================
output files:
wrt_uImage : the kernel image
Thanks &Best Wishes,
Jack_Lu(鲁红刚)
益满颖贸易(上海)有限公司
上海市愚园路168号环球大厦A座2101室
电话:+86 21 62495328/29/30/31 分机:820
传真:+86 21 62490538
MSN: luhongang@163.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread
* hello! can you help me for compiling the linux kernel?
2009-12-01 3:52 hello! can you help me for compiling the linux kernel? jack_lu
@ 2009-12-01 3:52 ` jack_lu
2009-12-01 5:13 ` Wu Zhangjin
1 sibling, 0 replies; 7+ messages in thread
From: jack_lu @ 2009-12-01 3:52 UTC (permalink / raw)
To: linux-mips
Dear Sir,
hello! can you help me for compiling the linux kernel?
Linux version is linux-2.6.21.5.
CPU:mips
Cross-compilation tools is eldk and openwrt file packages.
Errors are the followings.
init/built-in.o: In function `init':
init/main.c:833: undefined reference to `opipmux_gel_init'
init/main.c:833: relocation truncated to fit: R_MIPS_26 against `opipmux_gel_init'
init/main.c:835: undefined reference to `ip_auto_config'
init/main.c:835: relocation truncated to fit: R_MIPS_26 against `ip_auto_config'
init/built-in.o: In function `start_kernel':
init/main.c:525: undefined reference to `setup_prom_printf'
init/main.c:525: relocation truncated to fit: R_MIPS_26 against `setup_prom_printf'
init/main.c:527: undefined reference to `prom_printf'
init/main.c:527: relocation truncated to fit: R_MIPS_26 against `prom_printf'
init/main.c:530: undefined reference to `prom_printf'
init/main.c:530: relocation truncated to fit: R_MIPS_26 against `prom_printf'
arch/mips/kernel/built-in.o: In function `test_setdata':
arch/mips/kernel/syscall.c:461: undefined reference to `set_ipmux_el_tx_buf_data'
arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26 against `set_ipmux_el_tx_buf_data'
arch/mips/kernel/built-in.o: In function `test_getdata':
arch/mips/kernel/syscall.c:453: undefined reference to `get_ipmux_el_rx_buf_data'
arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26 against `get_ipmux_el_rx_buf_data'
arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
arch/mips/kernel/syscall.c:446: undefined reference to `wait_for_host_test_interrupt'
arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26 against `wait_for_host_test_interrupt'
kernel/built-in.o: In function `free_module':
kernel/module.c:1231: undefined reference to `kfree1'
kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against `kfree1'
drivers/built-in.o: In function `snapshot_map':
drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26 against `__cmpdi2'
make: *** [.tmp_vmlinux1] Error 1
make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'. Stop.
copyed to ../wrt_uImage
cp: cannot stat `uImageLzma': No such file or directory
ls: cannot access ../wrt_uImage: No such file or directory
===============================================================
output files:
wrt_uImage : the kernel image
Thanks &Best Wishes,
Jack_Lu(鲁红刚)
益满颖贸易(上海)有限公司
上海市愚园路168号环球大厦A座2101室
电话:+86 21 62495328/29/30/31 分机:820
传真:+86 21 62490538
MSN: luhongang@163.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hello! can you help me for compiling the linux kernel?
2009-12-01 3:52 hello! can you help me for compiling the linux kernel? jack_lu
2009-12-01 3:52 ` jack_lu
@ 2009-12-01 5:13 ` Wu Zhangjin
2009-12-01 5:29 ` 答复: " jack_lu
2009-12-01 5:33 ` jack_lu
1 sibling, 2 replies; 7+ messages in thread
From: Wu Zhangjin @ 2009-12-01 5:13 UTC (permalink / raw)
To: jack_lu; +Cc: linux-mips
On Tue, 2009-12-01 at 11:52 +0800, jack_lu wrote:
> Dear Sir,
> hello! can you help me for compiling the linux kernel?
> Linux version is linux-2.6.21.5.
> CPU:mips
> Cross-compilation tools is eldk and openwrt file packages.
Hello,
Which board are you using? and did you try the corresponding defconfig
file under arch/mips/configs/.
Regards,
Wu zhangjin
> Errors are the followings.
> init/built-in.o: In function `init':
> init/main.c:833: undefined reference to `opipmux_gel_init'
> init/main.c:833: relocation truncated to fit: R_MIPS_26 against `opipmux_gel_init'
> init/main.c:835: undefined reference to `ip_auto_config'
> init/main.c:835: relocation truncated to fit: R_MIPS_26 against `ip_auto_config'
> init/built-in.o: In function `start_kernel':
> init/main.c:525: undefined reference to `setup_prom_printf'
> init/main.c:525: relocation truncated to fit: R_MIPS_26 against `setup_prom_printf'
> init/main.c:527: undefined reference to `prom_printf'
> init/main.c:527: relocation truncated to fit: R_MIPS_26 against `prom_printf'
> init/main.c:530: undefined reference to `prom_printf'
> init/main.c:530: relocation truncated to fit: R_MIPS_26 against `prom_printf'
> arch/mips/kernel/built-in.o: In function `test_setdata':
> arch/mips/kernel/syscall.c:461: undefined reference to `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26 against `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_getdata':
> arch/mips/kernel/syscall.c:453: undefined reference to `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26 against `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
> arch/mips/kernel/syscall.c:446: undefined reference to `wait_for_host_test_interrupt'
> arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26 against `wait_for_host_test_interrupt'
> kernel/built-in.o: In function `free_module':
> kernel/module.c:1231: undefined reference to `kfree1'
> kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against `kfree1'
> drivers/built-in.o: In function `snapshot_map':
> drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
> drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26 against `__cmpdi2'
> make: *** [.tmp_vmlinux1] Error 1
> make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'. Stop.
> copyed to ../wrt_uImage
> cp: cannot stat `uImageLzma': No such file or directory
> ls: cannot access ../wrt_uImage: No such file or directory
> ===============================================================
> output files:
> wrt_uImage : the kernel image
>
>
> Thanks &Best Wishes,
> Jack_Lu(鲁红刚)
> 益满颖贸易(上海)有限公司
> 上海市愚园路168号环球大厦A座2101室
> 电话:+86 21 62495328/29/30/31 分机:820
> 传真:+86 21 62490538
> MSN: luhongang@163.com
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* 答复: hello! can you help me for compiling the linux kernel?
2009-12-01 5:13 ` Wu Zhangjin
@ 2009-12-01 5:29 ` jack_lu
2009-12-01 5:29 ` jack_lu
2009-12-01 5:33 ` jack_lu
1 sibling, 1 reply; 7+ messages in thread
From: jack_lu @ 2009-12-01 5:29 UTC (permalink / raw)
To: wuzhangjin; +Cc: linux-mips
Dear Wu,
The demo board is ONU. It is used in EPON systerm.
I copy the cross-compilation to /opt,then modify CROSS_COMPILE
=/opt/openwrt/kamikaze_7.09/staging_dir_mips/bin/mips-linux-uclibc- in
mklzma.sh and Makefile.
Then make config,and compile kernel.
Use make command or sh mklzma.sh command can compile kernel.the same
errors come when excute one of two commands
Best Wishes
Jack Lu
-----邮件原件-----
发件人: Wu Zhangjin [mailto:wuzhangjin@gmail.com]
发送时间: 2009年12月1日 13:14
收件人: jack_lu
抄送: linux-mips@linux-mips.org
主题: Re: hello! can you help me for compiling the linux kernel?
On Tue, 2009-12-01 at 11:52 +0800, jack_lu wrote:
> Dear Sir,
> hello! can you help me for compiling the linux kernel?
> Linux version is linux-2.6.21.5.
> CPU:mips
> Cross-compilation tools is eldk and openwrt file packages.
Hello,
Which board are you using? and did you try the corresponding defconfig
file under arch/mips/configs/.
Regards,
Wu zhangjin
> Errors are the followings.
> init/built-in.o: In function `init':
> init/main.c:833: undefined reference to `opipmux_gel_init'
> init/main.c:833: relocation truncated to fit: R_MIPS_26 against
`opipmux_gel_init'
> init/main.c:835: undefined reference to `ip_auto_config'
> init/main.c:835: relocation truncated to fit: R_MIPS_26 against
`ip_auto_config'
> init/built-in.o: In function `start_kernel':
> init/main.c:525: undefined reference to `setup_prom_printf'
> init/main.c:525: relocation truncated to fit: R_MIPS_26 against
`setup_prom_printf'
> init/main.c:527: undefined reference to `prom_printf'
> init/main.c:527: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> init/main.c:530: undefined reference to `prom_printf'
> init/main.c:530: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> arch/mips/kernel/built-in.o: In function `test_setdata':
> arch/mips/kernel/syscall.c:461: undefined reference to
`set_ipmux_el_tx_buf_data'
> arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26
against `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_getdata':
> arch/mips/kernel/syscall.c:453: undefined reference to
`get_ipmux_el_rx_buf_data'
> arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26
against `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
> arch/mips/kernel/syscall.c:446: undefined reference to
`wait_for_host_test_interrupt'
> arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26
against `wait_for_host_test_interrupt'
> kernel/built-in.o: In function `free_module':
> kernel/module.c:1231: undefined reference to `kfree1'
> kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against
`kfree1'
> drivers/built-in.o: In function `snapshot_map':
> drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
> drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26
against `__cmpdi2'
> make: *** [.tmp_vmlinux1] Error 1
> make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'.
Stop.
> copyed to ../wrt_uImage
> cp: cannot stat `uImageLzma': No such file or directory
> ls: cannot access ../wrt_uImage: No such file or directory
> ===============================================================
> output files:
> wrt_uImage : the kernel image
>
>
> Thanks &Best Wishes,
> Jack_Lu(鲁红刚)
> 益满颖贸易(上海)有限公司
> 上海市愚园路168号环球大厦A座2101室
> 电话:+86 21 62495328/29/30/31 分机:820
> 传真:+86 21 62490538
> MSN: luhongang@163.com
>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread* 答复: hello! can you help me for compiling the linux kernel?
2009-12-01 5:29 ` 答复: " jack_lu
@ 2009-12-01 5:29 ` jack_lu
0 siblings, 0 replies; 7+ messages in thread
From: jack_lu @ 2009-12-01 5:29 UTC (permalink / raw)
To: wuzhangjin; +Cc: linux-mips
Dear Wu,
The demo board is ONU. It is used in EPON systerm.
I copy the cross-compilation to /opt,then modify CROSS_COMPILE
=/opt/openwrt/kamikaze_7.09/staging_dir_mips/bin/mips-linux-uclibc- in
mklzma.sh and Makefile.
Then make config,and compile kernel.
Use make command or sh mklzma.sh command can compile kernel.the same
errors come when excute one of two commands
Best Wishes
Jack Lu
-----邮件原件-----
发件人: Wu Zhangjin [mailto:wuzhangjin@gmail.com]
发送时间: 2009年12月1日 13:14
收件人: jack_lu
抄送: linux-mips@linux-mips.org
主题: Re: hello! can you help me for compiling the linux kernel?
On Tue, 2009-12-01 at 11:52 +0800, jack_lu wrote:
> Dear Sir,
> hello! can you help me for compiling the linux kernel?
> Linux version is linux-2.6.21.5.
> CPU:mips
> Cross-compilation tools is eldk and openwrt file packages.
Hello,
Which board are you using? and did you try the corresponding defconfig
file under arch/mips/configs/.
Regards,
Wu zhangjin
> Errors are the followings.
> init/built-in.o: In function `init':
> init/main.c:833: undefined reference to `opipmux_gel_init'
> init/main.c:833: relocation truncated to fit: R_MIPS_26 against
`opipmux_gel_init'
> init/main.c:835: undefined reference to `ip_auto_config'
> init/main.c:835: relocation truncated to fit: R_MIPS_26 against
`ip_auto_config'
> init/built-in.o: In function `start_kernel':
> init/main.c:525: undefined reference to `setup_prom_printf'
> init/main.c:525: relocation truncated to fit: R_MIPS_26 against
`setup_prom_printf'
> init/main.c:527: undefined reference to `prom_printf'
> init/main.c:527: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> init/main.c:530: undefined reference to `prom_printf'
> init/main.c:530: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> arch/mips/kernel/built-in.o: In function `test_setdata':
> arch/mips/kernel/syscall.c:461: undefined reference to
`set_ipmux_el_tx_buf_data'
> arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26
against `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_getdata':
> arch/mips/kernel/syscall.c:453: undefined reference to
`get_ipmux_el_rx_buf_data'
> arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26
against `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
> arch/mips/kernel/syscall.c:446: undefined reference to
`wait_for_host_test_interrupt'
> arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26
against `wait_for_host_test_interrupt'
> kernel/built-in.o: In function `free_module':
> kernel/module.c:1231: undefined reference to `kfree1'
> kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against
`kfree1'
> drivers/built-in.o: In function `snapshot_map':
> drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
> drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26
against `__cmpdi2'
> make: *** [.tmp_vmlinux1] Error 1
> make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'.
Stop.
> copyed to ../wrt_uImage
> cp: cannot stat `uImageLzma': No such file or directory
> ls: cannot access ../wrt_uImage: No such file or directory
> ===============================================================
> output files:
> wrt_uImage : the kernel image
>
>
> Thanks &Best Wishes,
> Jack_Lu(鲁红刚)
> 益满颖贸易(上海)有限公司
> 上海市愚园路168号环球大厦A座2101室
> 电话:+86 21 62495328/29/30/31 分机:820
> 传真:+86 21 62490538
> MSN: luhongang@163.com
>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread
* 答复: hello! can you help me for compiling the linux kernel?
2009-12-01 5:13 ` Wu Zhangjin
2009-12-01 5:29 ` 答复: " jack_lu
@ 2009-12-01 5:33 ` jack_lu
2009-12-01 5:33 ` jack_lu
1 sibling, 1 reply; 7+ messages in thread
From: jack_lu @ 2009-12-01 5:33 UTC (permalink / raw)
To: wuzhangjin; +Cc: linux-mips
Dear Wu,
I tried to add #include <asm-mips/ipmux.h> or extern __init
opipmux_gel_init,but can not resolve these errors.
Thanks,
Jack Lu
-----邮件原件-----
发件人: Wu Zhangjin [mailto:wuzhangjin@gmail.com]
发送时间: 2009年12月1日 13:14
收件人: jack_lu
抄送: linux-mips@linux-mips.org
主题: Re: hello! can you help me for compiling the linux kernel?
On Tue, 2009-12-01 at 11:52 +0800, jack_lu wrote:
> Dear Sir,
> hello! can you help me for compiling the linux kernel?
> Linux version is linux-2.6.21.5.
> CPU:mips
> Cross-compilation tools is eldk and openwrt file packages.
Hello,
Which board are you using? and did you try the corresponding defconfig
file under arch/mips/configs/.
Regards,
Wu zhangjin
> Errors are the followings.
> init/built-in.o: In function `init':
> init/main.c:833: undefined reference to `opipmux_gel_init'
> init/main.c:833: relocation truncated to fit: R_MIPS_26 against
`opipmux_gel_init'
> init/main.c:835: undefined reference to `ip_auto_config'
> init/main.c:835: relocation truncated to fit: R_MIPS_26 against
`ip_auto_config'
> init/built-in.o: In function `start_kernel':
> init/main.c:525: undefined reference to `setup_prom_printf'
> init/main.c:525: relocation truncated to fit: R_MIPS_26 against
`setup_prom_printf'
> init/main.c:527: undefined reference to `prom_printf'
> init/main.c:527: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> init/main.c:530: undefined reference to `prom_printf'
> init/main.c:530: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> arch/mips/kernel/built-in.o: In function `test_setdata':
> arch/mips/kernel/syscall.c:461: undefined reference to
`set_ipmux_el_tx_buf_data'
> arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26
against `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_getdata':
> arch/mips/kernel/syscall.c:453: undefined reference to
`get_ipmux_el_rx_buf_data'
> arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26
against `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
> arch/mips/kernel/syscall.c:446: undefined reference to
`wait_for_host_test_interrupt'
> arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26
against `wait_for_host_test_interrupt'
> kernel/built-in.o: In function `free_module':
> kernel/module.c:1231: undefined reference to `kfree1'
> kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against
`kfree1'
> drivers/built-in.o: In function `snapshot_map':
> drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
> drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26
against `__cmpdi2'
> make: *** [.tmp_vmlinux1] Error 1
> make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'.
Stop.
> copyed to ../wrt_uImage
> cp: cannot stat `uImageLzma': No such file or directory
> ls: cannot access ../wrt_uImage: No such file or directory
> ===============================================================
> output files:
> wrt_uImage : the kernel image
>
>
> Thanks &Best Wishes,
> Jack_Lu(鲁红刚)
> 益满颖贸易(上海)有限公司
> 上海市愚园路168号环球大厦A座2101室
> 电话:+86 21 62495328/29/30/31 分机:820
> 传真:+86 21 62490538
> MSN: luhongang@163.com
>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread* 答复: hello! can you help me for compiling the linux kernel?
2009-12-01 5:33 ` jack_lu
@ 2009-12-01 5:33 ` jack_lu
0 siblings, 0 replies; 7+ messages in thread
From: jack_lu @ 2009-12-01 5:33 UTC (permalink / raw)
To: wuzhangjin; +Cc: linux-mips
Dear Wu,
I tried to add #include <asm-mips/ipmux.h> or extern __init
opipmux_gel_init,but can not resolve these errors.
Thanks,
Jack Lu
-----邮件原件-----
发件人: Wu Zhangjin [mailto:wuzhangjin@gmail.com]
发送时间: 2009年12月1日 13:14
收件人: jack_lu
抄送: linux-mips@linux-mips.org
主题: Re: hello! can you help me for compiling the linux kernel?
On Tue, 2009-12-01 at 11:52 +0800, jack_lu wrote:
> Dear Sir,
> hello! can you help me for compiling the linux kernel?
> Linux version is linux-2.6.21.5.
> CPU:mips
> Cross-compilation tools is eldk and openwrt file packages.
Hello,
Which board are you using? and did you try the corresponding defconfig
file under arch/mips/configs/.
Regards,
Wu zhangjin
> Errors are the followings.
> init/built-in.o: In function `init':
> init/main.c:833: undefined reference to `opipmux_gel_init'
> init/main.c:833: relocation truncated to fit: R_MIPS_26 against
`opipmux_gel_init'
> init/main.c:835: undefined reference to `ip_auto_config'
> init/main.c:835: relocation truncated to fit: R_MIPS_26 against
`ip_auto_config'
> init/built-in.o: In function `start_kernel':
> init/main.c:525: undefined reference to `setup_prom_printf'
> init/main.c:525: relocation truncated to fit: R_MIPS_26 against
`setup_prom_printf'
> init/main.c:527: undefined reference to `prom_printf'
> init/main.c:527: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> init/main.c:530: undefined reference to `prom_printf'
> init/main.c:530: relocation truncated to fit: R_MIPS_26 against
`prom_printf'
> arch/mips/kernel/built-in.o: In function `test_setdata':
> arch/mips/kernel/syscall.c:461: undefined reference to
`set_ipmux_el_tx_buf_data'
> arch/mips/kernel/syscall.c:461: relocation truncated to fit: R_MIPS_26
against `set_ipmux_el_tx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_getdata':
> arch/mips/kernel/syscall.c:453: undefined reference to
`get_ipmux_el_rx_buf_data'
> arch/mips/kernel/syscall.c:453: relocation truncated to fit: R_MIPS_26
against `get_ipmux_el_rx_buf_data'
> arch/mips/kernel/built-in.o: In function `test_waitinterrupt':
> arch/mips/kernel/syscall.c:446: undefined reference to
`wait_for_host_test_interrupt'
> arch/mips/kernel/syscall.c:446: relocation truncated to fit: R_MIPS_26
against `wait_for_host_test_interrupt'
> kernel/built-in.o: In function `free_module':
> kernel/module.c:1231: undefined reference to `kfree1'
> kernel/module.c:1231: relocation truncated to fit: R_MIPS_26 against
`kfree1'
> drivers/built-in.o: In function `snapshot_map':
> drivers/md/dm-snap.c:900: undefined reference to `__cmpdi2'
> drivers/md/dm-snap.c:900: relocation truncated to fit: R_MIPS_26
against `__cmpdi2'
> make: *** [.tmp_vmlinux1] Error 1
> make: *** No rule to make target `../vmlinux', needed by `piggy.lzma'.
Stop.
> copyed to ../wrt_uImage
> cp: cannot stat `uImageLzma': No such file or directory
> ls: cannot access ../wrt_uImage: No such file or directory
> ===============================================================
> output files:
> wrt_uImage : the kernel image
>
>
> Thanks &Best Wishes,
> Jack_Lu(鲁红刚)
> 益满颖贸易(上海)有限公司
> 上海市愚园路168号环球大厦A座2101室
> 电话:+86 21 62495328/29/30/31 分机:820
> 传真:+86 21 62490538
> MSN: luhongang@163.com
>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-12-01 11:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 3:52 hello! can you help me for compiling the linux kernel? jack_lu
2009-12-01 3:52 ` jack_lu
2009-12-01 5:13 ` Wu Zhangjin
2009-12-01 5:29 ` 答复: " jack_lu
2009-12-01 5:29 ` jack_lu
2009-12-01 5:33 ` jack_lu
2009-12-01 5:33 ` jack_lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox