2008-11-05 02:44:32     procps compiulation error

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

2008-11-05 02:44:32     procps compiulation error

Daniele Pagani (ITALY)

Message: 64679   

 

Hi guys,

 

I try to select procps application (skill, snice and so on) with make menuconfig.

 

But, I received this error:

 

..

 

make[3]: Entering directory '/mnt/uClinux-dist-2008R1.5-RC3/user/procps'

 

bfin-uclinux-gcc -Wl,-elf2flt -mcpu=bf537-0.2 -Wl,-warn-common skill.o proc/libproc.so.2.0.7 -o skill

 

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5217

 

(the same for a lot of lines)

 

...skill.gdb: section .juk lma 0x0 overlaps section .dynamic [00000000 -> 0000008f]...

 

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5180

 

(the same for a lot of lines)

 

...

 

collect2: ld returned 1 exit status.

 

Somebody has some idea?

 

Best regards,

 

Daniele.

TranslateQuoteReplyEditDelete

 

 

2008-11-05 03:38:57     Re: procps compiulation error

Mike Frysinger (UNITED STATES)

Message: 64680   

 

why are you enabling any of the procps utils ?  busybox provides replacements for all of them already.

QuoteReplyEditDelete

 

 

2008-11-05 04:23:23     Re: procps compiulation error

Daniele Pagani (ITALY)

Message: 64693   

 

Mike,

 

I'm testing the new driver for sport sport in according to:

 

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3928

 

and it works fine (good implementation of pin-pon buffer).

 

Anyway, when I'm using the shell, command such as ls and so on, I ear strange effect on audio.

 

This has no sense, because the priority interrupt for sport is less then uart.

 

So, I try to give, with snice, more priority scheduling to my process (in user space).

 

I try nice (from BusyBox), but nothing changes. So, I want to try with snice.

 

Then, I test also with dropbear, to understand if the problem is uart vs sport.

 

But I've the same effect, so the problem is not uart vs sport.

 

So, I suppose that my application (that read and write data from sport as talkthrough) is running with not good priority.

 

Any suggestion is very appreciated.

 

Best regards,

 

Daniele.

TranslateQuoteReplyEditDelete

 

 

2008-11-05 04:36:06     Re: procps compiulation error

Mike Frysinger (UNITED STATES)

Message: 64694   

 

if your only point is to set the niceness of a process, then `nice` and `renice` in busybox work just fine.  you can check by running `ps` and seeing "N" next to the process, or running:

awk '{print $19}' /proc/<pid>/stat

Attachments

    Outcomes