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

CW Linker error only on Some macs

 
   Macintosh computer (Home) -> Programmer Code RSS
Related Topics:
linker error - Hello all, I am using version 5. I am trying to include file in a C project for function. I went to Std C Console Debug Paths, included sys Project compiles without a hitch...

Linker Error -39 - I am taking over a project and trying to get a clean build and link. I have the build issues sorted out but when I go to run it I get start up because an error occurred. Result Code = -39" Where are the error codes to

libmysys.a linker bus error - I'm trying to use the MySQL C API for version 4.1.0 alpha, and linking into my causes the MW linker to crash with a bus error. Does anyone know what I can do about this? Thanks.

Mwcc linker error - Hi there, I am using CW9.0 on MAC OS 10.2.8 and mwcc/mwld comman line to do I have a directory wich contains encrypt.c decrypt.c main.c <-- Main function libone.a libtwo.a When I do following on command line: mwcc -I. -flag..

CW 9[.3] internal linker error - Link Error : Internal Linker Error File 'SYM.c' Line 157 -localid 131160 > 147 file: Any clues as to what the heck this is? I've tried Google and the MW web site to no avail. The error occurs and I..
Author Message
nappy1

External


Since: Jul 17, 2003
Posts: 18



(Msg. 1) Posted: Thu Jul 24, 2003 11:24 pm
Post subject: CW Linker error only on Some macs
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

During our link we get a linker error from CW that states that it can not
copy a resource file and the link fails. I checked the status of the file
and it is not read-only. This project builds fine on 5 other macs but this
particular mac and one other one in our office fails with this error. Any
hints would be appreciated.


- mac OSX 10.2.6 (6L60) ... 867 MHz

"Link Error: Can't copy resource file 'someresources.rsrc'."


thanks in advance.

nappy

 >> Stay informed about: CW Linker error only on Some macs 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 1662



(Msg. 2) Posted: Fri Jul 25, 2003 2:05 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <jgXTa.20$8a7.419982@newssvr14.news.prodigy.com>,
"nappy" <joseft_nospam.TakeThisOut@sbcglobal.net> wrote:

 >During our link we get a linker error from CW that states that it can not
 >copy a resource file and the link fails. I checked the status of the file
 >and it is not read-only. This project builds fine on 5 other macs but this
 >particular mac and one other one in our office fails with this error. Any
 >hints would be appreciated.
 >
 >
 >- mac OSX 10.2.6 (6L60) ... 867 MHz
 >
 > "Link Error: Can't copy resource file 'someresources.rsrc'."

All I can think of is to open it with FileBuddy or resorcerer or
something and see if it has all the right settings and types for
resource.

Oh wait one other thing, is the folder hierarchy the same, it could be
a problem with the path name, I've seen that before in finding files.

Ron

--
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
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: CW Linker error only on Some macs 
Back to top
Login to vote
nappy

External


Since: Aug 07, 2003
Posts: 9



(Msg. 3) Posted: Fri Jul 25, 2003 6:42 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"MW Ron" <mwron RemoveThis @metrowerks.com> wrote in message
news:mwron-1312B5.11053025072003@enews.newsguy.com...
 > In article <jgXTa.20$8a7.419982@newssvr14.news.prodigy.com>,
 > "nappy" <joseft_nospam RemoveThis @sbcglobal.net> wrote:
 >
  > >During our link we get a linker error from CW that states that it can not
  > >copy a resource file and the link fails. I checked the status of the file
  > >and it is not read-only. This project builds fine on 5 other macs but
this
  > >particular mac and one other one in our office fails with this error. Any
  > >hints would be appreciated.
  > >
  > >
  > >- mac OSX 10.2.6 (6L60) ... 867 MHz
  > >
  > > "Link Error: Can't copy resource file 'someresources.rsrc'."
 >
 > All I can think of is to open it with FileBuddy or resorcerer or
 > something and see if it has all the right settings and types for
 > resource.
 >

Yes.. oddly it works fine on 4 out of 6 macs.


 > Oh wait one other thing, is the folder hierarchy the same, it could be
 > a problem with the path name, I've seen that before in finding files.
 >

Yes the hierarchy is exactly the same as we are using CVS..

thanks Ron.. Idid look around to see if anyone else had experienced this..
it is odd.



 > Ron
 >
 > --
 > Metrowerks has moved, our new address is now
 > 7700 West Parmer Lane
 > Austin, TX 78729
 > Sales and Support 512-996-5300 800-377-5416
<font color=purple> > Ron Liechty - MWRon RemoveThis @metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com</font" target="_blank">http://www.metrowerks.com</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: CW Linker error only on Some macs 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 1662



(Msg. 4) Posted: Fri Jul 25, 2003 6:42 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <XdcUa.7804$NW7.32533660@newssvr14.news.prodigy.com>,
"nappy" <joseft.TakeThisOut@sbcglobal.net> wrote:

 >"MW Ron" <mwron.TakeThisOut@metrowerks.com> wrote in message
 >news:mwron-1312B5.11053025072003@enews.newsguy.com...
  >> In article <jgXTa.20$8a7.419982@newssvr14.news.prodigy.com>,
  >> "nappy" <joseft_nospam.TakeThisOut@sbcglobal.net> wrote:
  >>
   >> >During our link we get a linker error from CW that states that it can not
   >> >copy a resource file and the link fails. I checked the status of the file
   >> >and it is not read-only. This project builds fine on 5 other macs but
 >this
   >> >particular mac and one other one in our office fails with this error. Any
   >> >hints would be appreciated.
   >> >
   >> >
   >> >- mac OSX 10.2.6 (6L60) ... 867 MHz
   >> >
   >> > "Link Error: Can't copy resource file 'someresources.rsrc'."
  >>
  >> All I can think of is to open it with FileBuddy or resorcerer or
  >> something and see if it has all the right settings and types for
  >> resource.
  >>
 >
 >Yes.. oddly it works fine on 4 out of 6 macs.
 >
 >
  >> Oh wait one other thing, is the folder hierarchy the same, it could be
  >> a problem with the path name, I've seen that before in finding files.
  >>
 >
 >Yes the hierarchy is exactly the same as we are using CVS..

This sounds familiar it rings a bell but I can't nail it down. I'll
ask around on it. Something about CVS and resource files.

Ron

--
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
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: CW Linker error only on Some macs 
Back to top
Login to vote
nappy1

External


Since: Jul 17, 2003
Posts: 18



(Msg. 5) Posted: Fri Jul 25, 2003 10:51 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks Ron! I look forward to your response.
"MW Ron" <mwron.RemoveThis@metrowerks.com> wrote in message
news:mwron-5396E3.12370025072003@enews.newsguy.com...
 > In article <XdcUa.7804$NW7.32533660@newssvr14.news.prodigy.com>,
 > "nappy" <joseft.RemoveThis@sbcglobal.net> wrote:
 >
  > >"MW Ron" <mwron.RemoveThis@metrowerks.com> wrote in message
  > >news:mwron-1312B5.11053025072003@enews.newsguy.com...
   > >> In article <jgXTa.20$8a7.419982@newssvr14.news.prodigy.com>,
   > >> "nappy" <joseft_nospam.RemoveThis@sbcglobal.net> wrote:
   > >>
   > >> >During our link we get a linker error from CW that states that it can
not
   > >> >copy a resource file and the link fails. I checked the status of the
file
   > >> >and it is not read-only. This project builds fine on 5 other macs but
  > >this
   > >> >particular mac and one other one in our office fails with this error.
Any
   > >> >hints would be appreciated.
   > >> >
   > >> >
   > >> >- mac OSX 10.2.6 (6L60) ... 867 MHz
   > >> >
   > >> > "Link Error: Can't copy resource file 'someresources.rsrc'."
   > >>
   > >> All I can think of is to open it with FileBuddy or resorcerer or
   > >> something and see if it has all the right settings and types for
   > >> resource.
   > >>
  > >
  > >Yes.. oddly it works fine on 4 out of 6 macs.
  > >
  > >
   > >> Oh wait one other thing, is the folder hierarchy the same, it could be
   > >> a problem with the path name, I've seen that before in finding files.
   > >>
  > >
  > >Yes the hierarchy is exactly the same as we are using CVS..
 >
 > This sounds familiar it rings a bell but I can't nail it down. I'll
 > ask around on it. Something about CVS and resource files.
 >
 > Ron
 >
 > --
 > Metrowerks has moved, our new address is now
 > 7700 West Parmer Lane
 > Austin, TX 78729
 > Sales and Support 512-996-5300 800-377-5416
<font color=purple> > Ron Liechty - MWRon.RemoveThis@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com</font" target="_blank">http://www.metrowerks.com</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: CW Linker error only on Some macs 
Back to top
Login to vote
Chris Espinosa

External


Since: Jul 28, 2003
Posts: 7



(Msg. 6) Posted: Mon Jul 28, 2003 4:40 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"nappy" <joseft_nospam RemoveThis @sbcglobal.net> wrote in message
news:jgXTa.20$8a7.419982@newssvr14.news.prodigy.com...
 > During our link we get a linker error from CW that states that it can not
 > copy a resource file and the link fails. I checked the status of the file
 > and it is not read-only. This project builds fine on 5 other macs but this
 > particular mac and one other one in our office fails with this error. Any
 > hints would be appreciated.
 >
 >
 > - mac OSX 10.2.6 (6L60) ... 867 MHz
 >
 > "Link Error: Can't copy resource file 'someresources.rsrc'."

It's not unlikely that this resource file was checked out or copied using a
tool that doesn't handle resource forks, so it doesn't have one. Unix tools
like cp do not copy resource forks on HFS+ volumes; use CpMac or ditto. In
its native mode CVS doesn't handle resource forks, etiher, but some users
may have configured it to do so, and others not.

Chris Espinosa
Apple<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: CW Linker error only on Some macs 
Back to top
Login to vote
nappy1

External


Since: Jul 17, 2003
Posts: 18



(Msg. 7) Posted: Wed Jul 30, 2003 10:07 pm
Post subject: Re: CW Linker error only on Some macs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

he moved over from CVS command line version in OS9 to GUI CVS in OSX and all
is well now. Thanks Chris
"Chris Espinosa" <cdespinosa.RemoveThis@nospam.attbi.com> wrote in message
news:bg41oj$a73$1@news.apple.com...
 > "nappy" <joseft_nospam.RemoveThis@sbcglobal.net> wrote in message
 > news:jgXTa.20$8a7.419982@newssvr14.news.prodigy.com...
  > > During our link we get a linker error from CW that states that it can
not
  > > copy a resource file and the link fails. I checked the status of the
file
  > > and it is not read-only. This project builds fine on 5 other macs but
this
  > > particular mac and one other one in our office fails with this error.
Any
  > > hints would be appreciated.
  > >
  > >
  > > - mac OSX 10.2.6 (6L60) ... 867 MHz
  > >
  > > "Link Error: Can't copy resource file 'someresources.rsrc'."
 >
 > It's not unlikely that this resource file was checked out or copied using
a
 > tool that doesn't handle resource forks, so it doesn't have one. Unix
tools
 > like cp do not copy resource forks on HFS+ volumes; use CpMac or ditto.
In
 > its native mode CVS doesn't handle resource forks, etiher, but some users
 > may have configured it to do so, and others not.
 >
 > Chris Espinosa
 > Apple
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: CW Linker error only on Some macs 
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 ]