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 / March 2006



Tip: Looking for answers? Try searching our database.

CodeWarrior 10: MacOSX Mach-O application using sockets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlexW - 13 Mar 2006 18:08 GMT
I'm using sockets in my MacOSX Mach-O application with following settings:
- system is MacOSX 10.4.5
- IDE is CodeWarrior 10
- Mac SDK is 10.3.9 (paths in my CW project point to this sdk)
- Frameworks in my project: System, Carbon

I'm getting compilation errors:

- class 'timeval' redefined
In above case 'timeval symbol' exsist in:
1. Kernel.Framework/.../sys/time.h
2.
MetrowerksCodeWarrior10.0/.../MSL/MSL_Extras/MSL_MacOS/Include/utime.mac.h

- undefined identifier 'socklen_t'

help, please.

Signature

Aleksander Wodynski

Isaac Wankerl - 14 Mar 2006 07:56 GMT
> I'm using sockets in my MacOSX Mach-O application with following settings:
> - system is MacOSX 10.4.5
[quoted text clipped - 13 lines]
>
> help, please.

Is your "OS X Volume" source tree set to / or the 10.3.9 sdk?  I'm
guessing that your precompiled libraries were built against the regular
10.4.5 headers and they're clashing with the 10.3.9 sdk.

Signature

Isaac Wankerl
www.iwankerl.com

AlexW - 14 Mar 2006 11:10 GMT
> Is your "OS X Volume" source tree set to / or the 10.3.9 sdk?  I'm
> guessing that your precompiled libraries were built against the regular
> 10.4.5 headers and they're clashing with the 10.3.9 sdk.

My source tree is set to 10.3.9 sdk.
So what should I do? Should I rebuild CodeWarrior 10 precompiled headers?
How can I do it?

Aleksander
Sean McBride - 15 Mar 2006 06:00 GMT
> My source tree is set to 10.3.9 sdk.
> So what should I do? Should I rebuild CodeWarrior 10 precompiled headers?
> How can I do it?

That is a FAQ.  Just find and rebuild the BuildLibraries.mcp project.
 
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



©2008 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.