Re: Linker error

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

Re: Linker error

1,237件の閲覧回数
SRS
Contributor I

Hi

 

I am using the Codewarrior Power PC V8.8 now and i am getting the following linker error. I was also getting some error messages during comipling stage which i commented that respective line of code for the time being

 

Link Error : undefined: '__msl_runtime_contraint_violation_s' referenced from '__pformatter' in system.S.a

 

Actually the complete project is done in the V8.5 of CW for Power PC.

Is this the problem occured because of using different versions

And is there any solution to this problem.

 

And one problem is in the installation of V8.8, msl_secure.h file is not created during installation, but this file is included in the project.

Can you please help me in fixing this issue

 

For your clarity i am also giving  compiler error messages

"implicit conversion of struct * to struct *"

 

Thank you for your support

waiting for your reply

ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

483件の閲覧回数
polofermin
Contributor III

Hello,

Like say tkvenki, you must put #pragma instruction

 

Do you have the same problems?

 

Bye, best regards!!

0 件の賞賛

483件の閲覧回数
tkvenki
Contributor III

Hi,

 

Looks like you have a C++ project.

We had encountered similar problems.


Link Error : undefined: '__msl_runtime_contraint_violation_s' referenced from '__pformatter' in system.S.a

FOr the above error try finding the "__msl_runtime_contraint_violation_s" function and making it a C function. LIke wrapping it around extern "C". Also you could try "#pragma cplusplus off

 


For your clarity i am also giving  compiler error messages

"implicit conversion of struct * to struct *"

 

This problem also may be resolved by the above solution.

 The C++ source will have trouble locating the assembly subroutines....This is what we have observed.

 

Just give it a try.

Message Edited by tkvenki on 2010-01-07 04:20 AM
0 件の賞賛