Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

link error lib cw on pb

 
   Macintosh computer (Home) -> Programmer Code RSS
Related Topics:
link error - Hi, Updating a project from CW6 -> CW8 I have the following type of error in the exported symbols (.exp) file: Link Error : export symbol ..

CW 6.0 OSX link error - Hello guys, I'm building a shared library under OSX with CW 6.0. I get the following link error: Link Error : undefined from in main.cpp This is strange, since all other

link error - Hi folks, I usualy use the thumb's rule error undefined = missing source However, I'm trying to add libjpeg files to my code and linker says: Link Error : (code) from

Link error - Hi, I am using the and functions in my I am using version 8.3. When i try to execute the i am getting the following 2 link error. Link Error :

CodeWarrior 8.3 Link Error - I'm using Win2k, with all the service pack and upto date. The error is wrong, as I can write to that location (run as the admin on sys, and even created text files on that location) I got my CW8 updated to the latest 8.3 and its giving..
Author Message
patrox

External


Since: Aug 18, 2003
Posts: 98



(Msg. 1) Posted: Thu Nov 20, 2003 5:37 pm
Post subject: link error lib cw on pb
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

Hello

We're trying to compile a lib done on CW ( apple linker ) on PB and we get a
lot of link errors :
___cvt_fp2unsigned
___save_fpr_24
___restore_fpr_24
___save_fpr_28
___restore_fpr_28
___save_fpr_21
___restore_fpr_21
___save_fpr_27
___restore_fpr_27
___div2i
___files
___cvt_dbl_usll

Any idea what we need to link ?
thank you
patrice.

 >> Stay informed about: link error lib cw on pb 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 1662



(Msg. 2) Posted: Thu Nov 20, 2003 5:37 pm
Post subject: Re: link error lib cw on pb [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <3fbcc395$0$27575$626a54ce@news.free.fr>,
"patrox" <misterbanned.RemoveThis@hotmail.com> wrote:

 >Hello
 >
 >We're trying to compile a lib done on CW ( apple linker ) on PB and we get a
 >lot of link errors :
 >___cvt_fp2unsigned
 >___save_fpr_24
 >___restore_fpr_24
 >___save_fpr_28
 >___restore_fpr_28
 >___save_fpr_21
 >___restore_fpr_21
 >___save_fpr_27
 >___restore_fpr_27
 >___div2i
 >___files
 >___cvt_dbl_usll
 >
 >Any idea what we need to link ?

I believe tthis is the same for you, but it may just be that you are
missing the crt1.0 library entirely.

Q. When I builde my program with CW7 to a Mach-o console binary. It
compiles fine but then has these link errors...

Link Error: ___save_fpr_26 is undefined
Link Error: ___restore_fpr_26 is undefined
Link Error: ___save_fpr_28 is undefined
Link Error: ___restore_fpr_28 is undefined

A. This is a known problem that pops up quite often. To fix it you need
to change your linking order to put the crt1.o library before (or
after?) the other libraries are included.

Ron

--
New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
Easy-to-use, integrated tools and hardware for SEMC P900 Development
<a style='text-decoration: underline;' href="http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm" target="_blank">http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm</a>

Ron Liechty - MWRon.RemoveThis@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a>
Ron Liechty - MWRon.RemoveThis@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: link error lib cw on pb 
Back to top
Login to vote
patrox

External


Since: Aug 18, 2003
Posts: 98



(Msg. 3) Posted: Thu Nov 20, 2003 9:26 pm
Post subject: Re: link error lib cw on pb [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

  > >
  > >We're trying to compile a lib done on CW ( apple linker ) on PB and we
get a
  > >lot of link errors :
  > >___cvt_fp2unsigned
  > >___save_fpr_24
  > >___restore_fpr_24
  > >___save_fpr_28
  > >___restore_fpr_28
  > >___save_fpr_21
  > >___restore_fpr_21
  > >___save_fpr_27
  > >___restore_fpr_27
  > >___div2i
  > >___files
  > >___cvt_dbl_usll
  > >
  > >Any idea what we need to link ?
 >
 > I believe tthis is the same for you, but it may just be that you are
 > missing the crt1.0 library entirely.

no that didn't work, i remember having this problem with __div3i but here
it's __div2i ( there's a slight difference between the names )

i have really no clue. ( is there a Project Builder newsgroup anywhere ? )

Thank you
patrice.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: link error lib cw on pb 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 1662



(Msg. 4) Posted: Thu Nov 20, 2003 9:26 pm
Post subject: Re: link error lib cw on pb [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <3fbcf93c$0$19036$626a54ce@news.free.fr>,
"patrox" <misterbanned.TakeThisOut@hotmail.com> wrote:

   >> >
   >> >We're trying to compile a lib done on CW ( apple linker ) on PB and we
 >get a
   >> >lot of link errors :
   >> >___cvt_fp2unsigned
   >> >___save_fpr_24
   >> >___restore_fpr_24
   >> >___save_fpr_28
   >> >___restore_fpr_28
   >> >___save_fpr_21
   >> >___restore_fpr_21
   >> >___save_fpr_27
   >> >___restore_fpr_27
   >> >___div2i
   >> >___files
   >> >___cvt_dbl_usll
   >> >
   >> >Any idea what we need to link ?
  >>
  >> I believe tthis is the same for you, but it may just be that you are
  >> missing the crt1.0 library entirely.
 >
 >no that didn't work, i remember having this problem with __div3i but here
 >it's __div2i ( there's a slight difference between the names )
 >
 >i have really no clue. ( is there a Project Builder newsgroup anywhere ? )

I can tell you it definitely is the runtime library. And I can tell you
that Apple is a single pass compiler and linker so the link order makes
a big difference, I still think that this is a missing or more likely
out of order runtime library, which one I don't know.

ron

--
New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
Easy-to-use, integrated tools and hardware for SEMC P900 Development
<a style='text-decoration: underline;' href="http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm" target="_blank">http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm</a>

Ron Liechty - MWRon.TakeThisOut@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a>
Ron Liechty - MWRon.TakeThisOut@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: link error lib cw on pb 
Back to top
Login to vote
patrox

External


Since: Aug 18, 2003
Posts: 98



(Msg. 5) Posted: Sat Nov 22, 2003 11:24 pm
Post subject: Re: link error lib cw on pb [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

fyi:

linking

crt1.o
libSystem.dylib
libstdc++.a

did the trick apparently ! ( i can't make functionnal exes on PB for some
reason but the built went just fine! )

patrice.
 >> Stay informed about: link error lib cw on pb 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]