Linker error using command line linker for ColdFire V6.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linker error using command line linker for ColdFire V6.2

2,117件の閲覧回数
jmv
Contributor I
I am using Code Warrior 6.2 to build a ColdFire MCF51QE128 target on the command line.

I am using the same set of source and build files as I did under CW 6.1, which worked OK. Now I find I am getting two linker errors, shown below.

### mwldmcf.exe Linker Error:
#   Undefined : "__fwide"
#   Referenced from "CmdError" in rs232.o
#   Referenced from "Getline" in rs232.o
#   Referenced from "ProcFatalError" in proc.o
#   Referenced from "Prompt" in rs232.o
### mwldmcf.exe Linker Error:
#   Undefined : "__put_char"
#   Referenced from "CmdError" in rs232.o
#   Referenced from "Getline" in rs232.o
#   Referenced from "ProcFatalError" in proc.o
#   Referenced from "Prompt" in rs232.o
### mwldmcf.exe Linker Error:
#   Link failed.

Errors caused tool to abort.
make: *** [a.out.elf] Error 1


I link with libraries fp_coldfire_nodiv_a, C_2i_CF_RegABI_MSL.a and C_2i_CF_RegABI_Runtime.a.

The common factor is a call to putchar() in my code. Do I need to rebuild the libraries with some #defines enabled to pull in these two library functions, or is there an option I can use so I don't need the functions, or is it something very simple I have overlooked? I don't get these errors using the CW 6.1 version of these libraries.

Thanks

J@MEJedimaster moved thread and added processor type to subject head


Message Edited by J2MEJediMaster on 2008-10-20 10:08 AM
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,014件の閲覧回数
CrasyCat
Specialist III
Hello
 
I did create a project from a stationery and I am using putchar.
The generated project does not use any function called _put_char or _fwide.
 
The issue you are facing is probably related to something specific in your environment,
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.

CrasyCat
0 件の賞賛
返信