2008-12-26 01:17:35     compilation of uclinux failed

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-12-26 01:17:35     compilation of uclinux failed

Kaustubh Vaidya (INDIA)

Message: 67104   

 

Hi,

 

I have downloaded uClinux-dist-2008R1.5-RC3 tar file & i was trying to compile the kernel to make image .So I followed documentation of of compiling kernel . I ran make menuconfig command for that , I reached upto Kernel Configuration window ,after saving kernel settings I didnt get User Application Configuration window, instead i got only this window

 

---

Load an Alternate Configuration File

Save an Alternate Configuration File

 

so i checked console it is giving me this message,

 

make[2]: Leaving directory `/home/kvvaidya/uClinux-dist/linux-2.6.x'

make[1]: Leaving directory `/home/kvvaidya/uClinux-dist'

make[1]: Entering directory `/home/kvvaidya/uClinux-dist'

make ARCH=blackfin   -C config menuconfig

make[2]: Entering directory `/home/kvvaidya/uClinux-dist/config'

make -C /home/kvvaidya/uClinux-dist/config/scripts/lxdialog all

make[3]: Entering directory `/home/kvvaidya/uClinux-dist/config/scripts/lxdialog'

make[3]: Leaving directory `/home/kvvaidya/uClinux-dist/config/scripts/lxdialog'

Using defaults found in .config

Preparing scripts: functions, parsing/home/kvvaidya/uClinux-dist/config/scripts/Menuconfig: line 723: 21006 Segmentation fault      awk "$1"

Awk died with error code 139. Giving up.

..../MCmenu2: line 103: syntax error: unexpected end of file

..../MCmenu5: line 418: unexpected EOF while looking for matching `''

./MCmenu5: line 419: syntax error: unexpected end of file

../MCmenu6: line 211: syntax error: unexpected end of file

../MCmenu7: line 498: syntax error: unexpected end of file

done.

 

Saving your kernel configuration...

 

*** End of Linux kernel configuration.

*** Check the top-level Makefile for additional configuration.

*** Next, you must run 'make dep'.

 

make[2]: Leaving directory `/home/kvvaidya/uClinux-dist/config'

make[1]: Leaving directory `/home/kvvaidya/uClinux-dist'

 

what is getting wrong?

 

How to resolve this issue?

 

Tahnk You...............................

QuoteReplyEditDelete

 

 

2008-12-26 02:28:03     Re: compilation of uclinux failed

Kaustubh Vaidya (INDIA)

Message: 67105   

 

I think I am making mistake in adding the program in /uClinux-dist/config/config.in file. I added my file

 

here;

 

#############################################################################

 

mainmenu_option next_comment

comment 'Miscellaneous Applications'

bool 'k'    CONFIG_USER_KVV_K   <---------------------------------------------- here I added my file

bool '7za'            CONFIG_USER_P7ZIP_7ZA

bool 'a60'            CONFIG_USER_LANG_A60

if [ "$CONFIG_USER_LANG_A60" = "y" ]; then

    bool '  examples'    CONFIG_USER_LANG_A60_EGS

    bool '  tests'        CONFIG_USER_LANG_A60_TEST

fi

 

I think this is wrong position .This is just Hello world program for test purpose.If this position is wrong where can i place this line .I read the documentation of adding user application they mentioned there as add this line to appropriate location. What is this appropriate location?

 

Thank You.....................

QuoteReplyEditDelete

 

 

2008-12-26 03:46:23     Re: compilation of uclinux failed

Mike Frysinger (UNITED STATES)

Message: 67110   

 

if your host `awk` is segfaulting, there isnt much we can do about it

QuoteReplyEditDelete

 

 

2008-12-26 04:15:27     Re: compilation of uclinux failed

Kaustubh Vaidya (INDIA)

Message: 67112   

 

What should I do now is this happening because of my PC OS ?

 

There is no solution for this?

 

Thank You.....

QuoteReplyEditDelete

 

 

2008-12-26 04:20:28     Re: compilation of uclinux failed

Mike Frysinger (UNITED STATES)

Message: 67116   

 

i'm guessing you're running an old distribution.  time to upgrade.

 

QuoteReplyEditDelete

 

 

2008-12-26 04:30:15     Re: compilation of uclinux failed

Kaustubh Vaidya (INDIA)

Message: 67117   

 

I am using fedora 8 is this not useful ?

 

 

QuoteReplyEditDelete

 

 

2008-12-26 22:22:43     Re: compilation of uclinux failed

Mike Frysinger (UNITED STATES)

Message: 67129   

 

you've hit a bug in your development system, not the uclinux distribution.  you can either upgrade to the latest fedora release, or go seek help/updates from them.

QuoteReplyEditDelete

 

 

2008-12-30 04:52:54     Re: compilation of uclinux failed

Kaustubh Vaidya (INDIA)

Message: 67197   

 

I have compiled uclinux kernel sucessfuly. I was missing gawk package in my distribution .after installing it my problem was solved.

 

after building kernel I installed skyeye-1.2.4_Rel for simulation.But when I try to run the image in skyeye it fails it gives message

 

put_byte io error!

 

[root@peacock binary]# ./skyeye -e linux1

big_endian is false.

arch: blackfin

mach info: name bf533, mach_init addr 0x80aa9d0

uart_mod:0, desc_in:, desc_out:, converter:

exec file "linux1"'s format is elf32-little.

load section .text: addr = 0x00001000  size = 0x000f60c0.

load section .rodata: addr = 0x000f8000  size = 0x00035ae0.

load section __ksymtab: addr = 0x0012dae0  size = 0x00003728.

load section __ksymtab_gpl: addr = 0x00131208  size = 0x00000fb0.

load section __ksymtab_strings: addr = 0x001321b8  size = 0x0000a988.

load section __param: addr = 0x0013cb40  size = 0x00000154.

load section .data: addr = 0x0013d000  size = 0x00011000.

load section .init.text: addr = 0x0014e000  size = 0x00013c44.

load section .init.data: addr = 0x00161c44  size = 0x00000cf0.

load section .init.setup: addr = 0x00162934  size = 0x00000258.

load section .initcall.init: addr = 0x00162b8c  size = 0x000001a4.

load section .con_initcall.init: addr = 0x00162d30  size = 0x00000004.

load section .init.ramfs: addr = 0x00162d34  size = 0x002b109f.

load section .text_l1: lma = 0x00413dd3 (vma = 0xffa00000)  size = 0x00002038.

load section .data_l1: lma = 0x00415e0b (vma = 0xff800000)  size = 0x000000c0.

not load section .bss: addr = 0x00416000  size = 0x0000ea30 .

not load section .comment: addr = 0x00000000  size = 0x00002c30 .

call ARMul_InitSymTable,kernel filename is linux1.

start addr is set to 0x0014e000 by exec file.

 

put_byte io error!addr=0xff9fffff,pc=0x71e4,oldpc=0x71e4,sp=0xffb00fc0,insn@pc=0x2f349710

 

 

how to deal with this problem ?

 

Whether this may happen due to some problem in buiding image?

 

Thank You...........................................

QuoteReplyEditDelete

 

 

2008-12-30 04:57:08     Re: compilation of uclinux failed

Mike Frysinger (UNITED STATES)

Message: 67198   

 

new issues -> new thread

 

skyeye wont work for any reasonable recent release

Attachments

    Outcomes