Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2004



Tip: Looking for answers? Try searching our database.

Mwcc linker error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
john - 08 Jan 2004 16:10 GMT
Hi there,

I am using CW9.0 on MAC OS 10.2.8 and mwcc/mwld comman line to do following:
I have a directory wich contains following:
encrypt.c
decrypt.c
main.c <-- Main function
libone.a
libtwo.a

When I do following on command line:

mwcc -I. -flag dollar_identifiers -opt none -o output.app encrypt.c
decrypt.c main.c libone.a libtwo.a

Command line gives me following error message:
Error: 'ibone.a (doesn't read libone.a but it reads as ibone.a)

Error caused tool to abort.

I tried same command line with:

mwcc -I. -flag dollar_identifiers -opt none -o output.app encrypt.c
decrypt.c main.c -lone -ltwo
It generates same error.

Then, I tried same command line with "mwpefcc" and it works without any
problem.

Can you please tell me what am I doing wrong?
Codewarrior 9.0 documentation doesn't really help with this problem.

Thanks
MW Ron - 08 Jan 2004 19:34 GMT
>Hi there,
>
[quoted text clipped - 26 lines]
>
>Can you please tell me what am I doing wrong?

Well since the PEF compiler works just fine, it looks like you made a
PEF library  libone.a and libtwo.a and that is why.

Maybe a bit more information would help if that isn't it.

Ron

Signature

Metrowerks, maker of CodeWarrior   -  "Software Starts Here"  
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.com>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.