分类: C/C++
2011-02-23 14:25:11
VisualDSP++ uC/OS-II for BF533官方移植包下设置double类型为64位时,链接出现如下编译警告:
Linking...
[Warning li2151] Input sections have inconsistent qualifiers as follows.
DOUBLE64 | .\Debug\app.doj(bsz)
DOUBLE64 | .\Debug\app.doj(constdata)
DOUBLE64 | .\Debug\app.doj(program)
DOUBLE64 | .\Debug\bsp.doj(program)
DOUBLE64 | .\Debug\cal_base.doj(bsz)
DOUBLE64 | .\Debug\cal_base.doj(constdata)
DOUBLE64 | .\Debug\cal_base.doj(data1)
DOUBLE64 | .\Debug\cal_base.doj(program)
DOUBLE64 | .\Debug\fram.doj(program)
DOUBLE64 | .\Debug\iic.doj(program)
DOUBLE64 | .\Debug\main.doj(constdata)
DOUBLE64 | .\Debug\main.doj(data1)
DOUBLE64 | .\Debug\main.doj(program)
DOUBLE64 | .\Debug\os_core.doj(bsz)
DOUBLE64 | .\Debug\os_core.doj(constdata)
DOUBLE64 | .\Debug\os_core.doj(program)
unknown | .\Debug\os_cpu_a.doj(program)
DOUBLE64 | .\Debug\os_cpu_c.doj(data1)
DOUBLE64 | .\Debug\os_cpu_c.doj(program)
DOUBLE64 | .\Debug\os_dbg.doj(constdata)
DOUBLE64 | .\Debug\os_dbg.doj(program)
DOUBLE64 | .\Debug\os_flag.doj(constdata)
DOUBLE64 | .\Debug\os_flag.doj(data1)
DOUBLE64 | .\Debug\os_flag.doj(program)
DOUBLE64 | .\Debug\os_mbox.doj(constdata)
DOUBLE64 | .\Debug\os_mbox.doj(data1)
DOUBLE64 | .\Debug\os_mbox.doj(program)
DOUBLE64 | .\Debug\os_mem.doj(constdata)
DOUBLE64 | .\Debug\os_mem.doj(data1)
DOUBLE64 | .\Debug\os_mem.doj(program)
DOUBLE64 | .\Debug\os_mutex.doj(constdata)
DOUBLE64 | .\Debug\os_mutex.doj(data1)
DOUBLE64 | .\Debug\os_mutex.doj(program)
DOUBLE64 | .\Debug\os_q.doj(constdata)
DOUBLE64 | .\Debug\os_q.doj(data1)
DOUBLE64 | .\Debug\os_q.doj(program)
DOUBLE64 | .\Debug\os_sem.doj(constdata)
DOUBLE64 | .\Debug\os_sem.doj(data1)
DOUBLE64 | .\Debug\os_sem.doj(program)
DOUBLE64 | .\Debug\os_task.doj(constdata)
DOUBLE64 | .\Debug\os_task.doj(data1)
DOUBLE64 | .\Debug\os_task.doj(program)
DOUBLE64 | .\Debug\os_time.doj(data1)
DOUBLE64 | .\Debug\os_time.doj(program)
DOUBLE64 | .\Debug\os_tmr.doj(program)
DOUBLE64 | .\Debug\rtc.doj(program)
DOUBLE64 | .\Debug\shell.doj(bsz)
DOUBLE64 | .\Debug\shell.doj(constdata)
DOUBLE64 | .\Debug\shell.doj(data1)
DOUBLE64 | .\Debug\shell.doj(program)
DOUBLE64 | .\Debug\sport.doj(L1_data_a)
DOUBLE64 | .\Debug\sport.doj(L1_data_b)
DOUBLE64 | .\Debug\sport.doj(bsz)
DOUBLE64 | .\Debug\sport.doj(constdata)
DOUBLE64 | .\Debug\sport.doj(data1)
DOUBLE64 | .\Debug\sport.doj(program)
DOUBLE64 | .\Debug\sport.doj(sdram0_bank1)
DOUBLE64 | .\Debug\uart.doj(bsz)
DOUBLE64 | .\Debug\uart.doj(data1)
DOUBLE64 | .\Debug\uart.doj(program)
DOUBLEANY | cplbtab533.doj(cplb_data)
DOUBLEANY | crtn532y.doj(.gdtl)
DOUBLEANY | crtn532y.doj(ctorl)
DOUBLEANY | libsmall532y.dlb[raise_s.doj](data1)
DOUBLEANY | libsmall532y.dlb[raise_s.doj](program)
DOUBLEANY | libsmall532y.dlb[raiseint_s.doj](program)
DOUBLEANY | libsmall532y.dlb[xsignal_s.doj](bsz)
DOUBLEANY | libsmall532y.dlb[xsignal_s.doj](program)
DOUBLEANY | libio532y.dlb[xdo_output.doj](program)
DOUBLEANY | libio532y.dlb[xlong_to_string.doj](constdata)
DOUBLEANY | libio532y.dlb[xlong_to_string.doj](program)
DOUBLEANY | libio532y.dlb[xpad.doj](program)
DOUBLEANY | libio532y.dlb[xparse_field.doj](program)
DOUBLEANY | libio532y.dlb[xparse_format.doj](constdata)
DOUBLEANY | libio532y.dlb[xparse_format.doj](program)
DOUBLEANY | libio532y.dlb[xprim.doj](program)
DOUBLEANY | libio532y.dlb[xprim.doj](voldata)
DOUBLEANY | libio532y.dlb[xprim_close.doj](data1)
DOUBLEANY | libio532y.dlb[xprim_close.doj](program)
DOUBLEANY | libio532y.dlb[xprim_open.doj](data1)
DOUBLEANY | libio532y.dlb[xprim_open.doj](program)
DOUBLEANY | libio532y.dlb[xprim_read.doj](data1)
DOUBLEANY | libio532y.dlb[xprim_read.doj](program)
DOUBLEANY | libio532y.dlb[xprim_write2.doj](data1)
DOUBLEANY | libio532y.dlb[xprim_write2.doj](program)
DOUBLEANY | libio532y.dlb[xprim_seek.doj](data1)
DOUBLEANY | libio532y.dlb[xprim_seek.doj](program)
DOUBLEANY | libio532y.dlb[xprint_fixed.doj](constdata)
DOUBLEANY | libio532y.dlb[xprint_fixed.doj](program)
DOUBLEANY | libio532y.dlb[xput_string.doj](program)
DOUBLEANY | libio532y.dlb[xsprintfputchar.doj](program)
DOUBLEANY | libio532y.dlb[xlonglong_to_string.doj](constdata)
DOUBLEANY | libio532y.dlb[xlonglong_to_string.doj](program)
DOUBLEANY | libio532y.dlb[vsprintf_64.doj](program)
DOUBLEANY | libio532y.dlb[xprint_a_float_64.doj](constdata)
DOUBLEANY | libio532y.dlb[xprint_a_float_64.doj](program)
DOUBLEANY | libio532y.dlb[xprint_float_64.doj](constdata)
DOUBLEANY | libio532y.dlb[xprint_float_64.doj](program)
DOUBLEANY | libio532y.dlb[xprnt_64.doj](constdata)
DOUBLEANY | libio532y.dlb[xprnt_64.doj](program)
DOUBLEANY | libio532y.dlb[devtab.doj](data1)
DOUBLEANY | libio532y.dlb[devtab.doj](program)
DOUBLEANY | libio532y.dlb[devIOtab.doj](bsz)
DOUBLEANY | libio532y.dlb[devIOtab.doj](program)
DOUBLEANY | libio532y.dlb[dev_drv_tab.doj](data1)
DOUBLEANY | libio532y.dlb[dev_drv_tab.doj](program)
DOUBLEANY | libio532y.dlb[dev_init.doj](data1)
DOUBLEANY | libio532y.dlb[dev_init.doj](program)
DOUBLEANY | libio532y.dlb[primiolib.doj](data1)
DOUBLEANY | libio532y.dlb[primiolib.doj](program)
DOUBLEANY | libc532y.dlb[exit.doj](data1)
DOUBLEANY | libc532y.dlb[exit.doj](program)
DOUBLEANY | libc532y.dlb[exit_objects.doj](data1)
DOUBLEANY | libc532y.dlb[exit_objects.doj](program)
DOUBLEANY | libc532y.dlb[memset.doj](program)
DOUBLEANY | libc532y.dlb[strchr.doj](program)
DOUBLEANY | libc532y.dlb[strcmp.doj](program)
DOUBLEANY | libc532y.dlb[_exit_s.doj](program)
DOUBLEANY | libevent532y.dlb[defhdlrs.doj](program)
DOUBLEANY | libevent532y.dlb[cplbhdr.doj](cplb_code)
DOUBLEANY | libevent532y.dlb[cplbinit.doj](cplb_code)
DOUBLEANY | libevent532y.dlb[cplbinit.doj](cplb_data)
DOUBLEANY | libevent532y.dlb[cplbmgr.doj](cplb_code)
DOUBLEANY | libevent532y.dlb[cplbmgr.doj](cplb_data)
DOUBLEANY | libevent532y.dlb[cplbmiss.doj](program)
DOUBLEANY | libevent532y.dlb[cplbprot.doj](program)
DOUBLEANY | libevent532y.dlb[cplblocked.doj](program)
DOUBLEANY | libevent532y.dlb[unknownex.doj](program)
DOUBLEANY | libcpp532y.dlb[ctorloop.doj](data1)
DOUBLEANY | libcpp532y.dlb[ctorloop.doj](program)
DOUBLEANY | libf64ieee532y.dlb[f32tof64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[f64tof32.doj](program)
DOUBLEANY | libf64ieee532y.dlb[f64toi32z.doj](program)
DOUBLEANY | libf64ieee532y.dlb[f64tou32z.doj](program)
DOUBLEANY | libf64ieee532y.dlb[i32tof64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[i64tof64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[u32tof64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[addfl64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[subfl64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[mulfl64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[divfl64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[ltfl64.doj](program)
DOUBLEANY | libf64ieee532y.dlb[lteqfl64.doj](program)
DOUBLEANY | libdsp532y.dlb[lib_mult64.doj](program)
DOUBLEANY | libdsp532y.dlb[lib_sqrt_seeds.doj](constdata)
DOUBLEANY | libdsp532y.dlb[sqrtd.doj](constdata)
DOUBLEANY | libdsp532y.dlb[sqrtd.doj](program)
DOUBLEANY | libdsp532y.dlb[isinfd64.doj](program)
DOUBLEANY | libdsp532y.dlb[isnand64.doj](program)
DOUBLEANY | libdsp532y.dlb[fltsif.doj](program)
DOUBLEANY | libdsp532y.dlb[fltuif.doj](program)
DOUBLEANY | libdsp532y.dlb[flteq.doj](program)
DOUBLEANY | libdsp532y.dlb[fpadd.doj](program)
DOUBLEANY | libdsp532y.dlb[fpdiv.doj](program)
DOUBLEANY | libdsp532y.dlb[fpmult.doj](program)
DOUBLEANY | libdsp532y.dlb[f32toi32z.doj](program)
DOUBLEANY | libdsp532y.dlb[f32tou32z.doj](program)
DOUBLEANY | libdsp532y.dlb[div_s32.doj](program)
DOUBLEANY | libdsp532y.dlb[rem_s32.doj](program)
DOUBLEANY | libdsp532y.dlb[divrem_u32.doj](program)
DOUBLEANY | libdsp532y.dlb[div_u32.doj](program)
DOUBLEANY | libdsp532y.dlb[divrem_s64.doj](program)
DOUBLEANY | libdsp532y.dlb[rem_s64.doj](program)
DOUBLEANY | libdsp532y.dlb[divrem_u64.doj](program)
DOUBLEANY | idle532mty.doj(program)
DOUBLEANY | librt_fileio532y.dlb[argstring.doj](data1)
DOUBLEANY | librt_fileio532y.dlb[argstring.doj](program)
DOUBLEANY | librt_fileio532y.dlb[getargv.doj](bsz)
DOUBLEANY | librt_fileio532y.dlb[getargv.doj](data1)
DOUBLEANY | librt_fileio532y.dlb[getargv.doj](program)
Linker finished with 1 warning
Creating loader file...
Build completed successfully.
修改方法:
os_cpu_a.asm文件
.setction program;
改为
.setction/DOUBLE64 program;
chinaunix网友2011-03-06 16:40:14
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com