[#5791] oprofile compilation issues in BF527 Ezkit

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

[#5791] oprofile compilation issues in BF527 Ezkit

Submitted By: nagaraj raj

Open Date

2009-12-24 06:38:09     Close Date

2010-06-11 04:12:02

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2009R1-RC6     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

gcc-4.1

App binary format:

N/A     

Summary: oprofile compilation issues in BF527 Ezkit

Details:

 

Hi All,

 

I am compiling "oprofile-0.9.1" for BF527 uClinux Platform and i followed the steps provided in "http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:oprofile".

I am using gcc version 4.1.2 (ADI svn),

 

but during compilation of libutil++ i get the following error,

 

bfin-uclinux-g++ -DHAVE_CONFIG_H -I. -I.. -I../../oprofile-0.9.1/libutil++  -I ../../oprofile-0.9.1/libutil -I ../../oprofile-0.9.1/libop -DEMBED -D__uClinux__ -I/home/nagaraj/uClinux/BF527/uClinux1-orignal/uclinux-dist-trunk-svn-7856  -mcpu=bf527-0.2 -I../../oprofile-0.9.1/include -W -Wall -fno-common -ftemplate-depth-50 -pipe -Wall -g -O2  -mcpu=bf527-0.2 -c -o glob_filter.o ../../oprofile-0.9.1/libutil++/glob_filter.cpp

../../oprofile-0.9.1/libutil++/glob_filter.cpp:14:21: error: algorithm: No such file or directory

In file included from ../../oprofile-0.9.1/libutil++/glob_filter.h:15,

                 from ../../oprofile-0.9.1/libutil++/glob_filter.cpp:16:

../../oprofile-0.9.1/libutil++/string_filter.h:15:18: error: string: No such file or directory

../../oprofile-0.9.1/libutil++/string_filter.h:16:18: error: vector: No such file or directory

 

I have the attached error messages in text file also,Pls let me know,how to fix this issue.

 

Regards

Nagaraj

 

 

Follow-ups

 

--- Sonic Zhang                                              2009-12-24 21:30:50

which kernel and toolchain reelase do you use?

 

--- nagaraj raj                                              2009-12-28 23:17:58

 

Hi,

 

I am using

2.6.18-1.2798.fc6(Fedora Core release 6 )

 

Tool Chain: Toolchain Release 2008R1

 

u-boot: uboot_1.1.6 Release 2008R1

 

I triead all the following oprofile releases,all have the same issue

oprofile-0.9.1

oprofile-0.9.4

oprofile-0.9.6(latest downloaded)

 

Regards

Nagaraj

 

--- Mike Frysinger                                           2009-12-28 23:26:57

upgrade to 2009R1.1 for everything

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes