我把代码包含到vxworks image中,就可以运行,
如果把代码分出来,变成zm.out,装载的时候就出现如下错误,
开始怀疑是组件没配置,找了半天也没发现,在风河提供的源代码中,也没发现类似的symbol,
-> ld <zm.out
Undefined symbol: flsub (binding 1 type 0)
Undefined symbol: fladd (binding 1 type 0)
Undefined symbol: ultofl (binding 1 type 0)
Undefined symbol: flmul (binding 1 type 0)
Undefined symbol: fldiv (binding 1 type 0)
Undefined symbol: flcmp (binding 1 type 0)
Undefined symbol: ltofl (binding 1 type 0)
Undefined symbol: fltodb (binding 1 type 0)
Undefined symbol: dbtofl (binding 1 type 0)
Undefined symbol: fltused (binding 1 type 0)
Undefined symbol: fltol (binding 1 type 0)
Undefined symbol: dbcmp (binding 1 type 0)
Undefined symbol: dbmul (binding 1 type 0)
Undefined symbol: dbdiv (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0