FAQ: [#7075] build change_cpufreq kernel stops at cpufreq.c for undefined reference(2012)

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

[#7075] build change_cpufreq kernel stops at cpufreq.c for undefined reference

Submitted By: Mingquan Pan

Open Date

2012-04-26 22:40:51     Close Date

2012-05-14 04:49:54

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

ADI-trunk/svn-5764

App binary format:

N/A     

Summary: build change_cpufreq kernel stops at cpufreq.c for undefined reference

Details:

 

build change_cpufreq kernel stops at arch/blackfin/mach-common/cpufreq.c.

 

  LD      drivers/net/ethernet/adi/built-in.o^M

  LD      drivers/net/ethernet/built-in.o^M

  LD      drivers/net/built-in.o^M

  LD      drivers/built-in.o^M

  LD      vmlinux.o^M

  MODPOST vmlinux.o^M

  GEN     .version^M

  CHK     include/generated/compile.h^M

  UPD     include/generated/compile.h^M

  CC      init/version.o^M

  LD      init/built-in.o^M

  LD      .tmp_vmlinux1^M

arch/blackfin/mach-common/built-in.o: In function `cpu_set_cclk':^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-common/cpufreq.c:119: undefined reference to `clk_get'^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-common/cpufreq.c:123: undefined reference to `clk_set_rate'^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-common/cpufreq.c:124: undefined reference to `clk_put'^M

make[1]: *** [.tmp_vmlinux1] Error 1^M

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make: *** [linux] Error 1^M

 

Follow-ups

 

--- steven miao                                              2012-04-27 06:47:09

only BF60x use clkdev driver

 

--- Mingquan Pan                                             2012-05-14 05:49:45

Building change_cpufreq kernel ok now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes