Re: [eclipse-clp-users] Problems with Xcode configurations

From: Kish Shen <kisshen_at_...5...>
Date: Wed, 20 Jan 2010 03:22:34 +0000
Roman UAB wrote:
> It seems that the problem is not the library after check some options. Thus, I get this error and I don't know how to fix it. Any help?
> 
> Thanks,
> 
> Roman
> 

Hi Roman.

I am not quite sure I understand what you mean by 'the problem is not 
the library'.

It is difficult to be certain what your problem may be, as you ave not 
provided a lot of information on what you are doing. However, the 
"symbols not found" errors are likely due to the difference in the 
default treatment of namespace visibility -- Mac by default uses a "two 
level namespace", which is different from the C/C++ on other systems, 
where all symbols such as procedure names are globally visible. On Mac's 
two-level namespace, symbols are by default local, so I think this is 
the cause of the errors you see. To get round this, you need to specify 
the "-flat_namespace" flag when linking.

Have you looked at the online documentations provided by Apple on 
developer.apple.com? I remember finding various documentations there on 
porting code to Mac OSX.

Cheers,

Kish Shen

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Wed Jan 20 2010 - 03:22:43 CET

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST