[#3860] Redefinition warning when compile EZKIT548

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

[#3860] Redefinition warning when compile EZKIT548

Submitted By: Bryan Wu

Open Date

2008-01-27 06:39:45     Close Date

2008-01-31 00:33:47

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: Redefinition warning when compile EZKIT548

Details:

 

Reported by Robin,

 

  LD      crypto/built-in.o

kernel/power/process.c:20:1: warning: "TIMEOUT" redefined

In file included from include/asm/mach/blackfin.h:50,

                 from include/asm/blackfin.h:89,

                 from include/asm/system.h:245,

                 from include/asm/bitops.h:10,

                 from include/linux/bitops.h:9,

                 from include/linux/kernel.h:15,

                 from include/linux/interrupt.h:5,

                 from kernel/power/process.c:11:

include/asm/mach/defBF548.h:1015:1: warning: this is the location of the previous definition

 

 

net/ipv4/ip_fragment.c:85:1: warning: "COMPLETE" redefined

In file included from include/asm/mach/blackfin.h:50,

                 from include/asm/blackfin.h:89,

                 from include/asm/system.h:245,

                 from include/asm/bitops.h:10,

                 from include/linux/bitops.h:9,

                 from include/linux/thread_info.h:33,

                 from include/linux/preempt.h:9,

                 from include/linux/spinlock.h:49,

                 from include/linux/module.h:9,

                 from net/ipv4/ip_fragment.c:26:

include/asm/mach/defBF548.h:1013:1: warning: this is the location of the previous definition

  LD      sound/soc/at91/built-in.o

 

kernel/power/process.c:20

#define TIMEOUT (20 * HZ)

 

 

net/ipv4/ip_fragment.c

#define COMPLETE                4

 

include/asm/mach/defBF548.h:

/* Bit masks for HOST_STATUS */

 

#define                 DMA_READY  0x1        /* DMA Ready */

#define                  FIFOFULL  0x2        /* FIFO Full */

#define                 FIFOEMPTY  0x4        /* FIFO Empty */

#define                  COMPLETE  0x8        /* DMA Complete */

#define                      HSHK  0x10       /* Host Handshake */

#define                   TIMEOUT  0x20       /* Host Timeout */

#define                      HIRQ  0x40       /* Host Interrupt Request */

#define                ALLOW_CNFG  0x80       /* Allow New Configuration */

#define                   DMA_DIR  0x100      /* DMA Direction */

#define                       BTE  0x200      /* Bus Timeout Enabled */

 

Follow-ups

 

--- Bryan Wu                                                 2008-01-27 08:51:55

should be fixed.

 

-Bryan

 

--- Bryan Wu                                                 2008-01-31 02:38:43

close it as it is fixed.

 

-Bryan

 

--- Bryan Wu                                                 2008-01-31 02:38:52

close it as it is fixed.

 

-Bryan

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes