Re: Linker error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Linker error

1,223 Views
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

Labels (1)
0 Kudos
2 Replies

469 Views
polofermin
Contributor III

Hello,

Like say tkvenki, you must put #pragma instruction

 

Do you have the same problems?

 

Bye, best regards!!

0 Kudos

469 Views
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 Kudos