[mico-devel] Re: Problems Building on Mac-OSX (PPC platform)

Jann Röder roederja at student.ethz.ch
Sun Feb 25 23:59:28 PST 2007


The dynamic cast thing seems to be a bug/inconsistency in Apple's GCC.
On intel macs configure properly detects that dynamic casts are
supported. I've sent Apple a report about this, but no response, yet.

Jann

Matthias Ringwald wrote:
> hi robert
> 
> I prepared a fink package for mico and there's also a darwin/macports
> package for it.
> http://pdb.finkproject.org/pdb/search.php?summary=mico
> 
> to me, it looks like the HAVE_DYNAMIC_CAST detection is a mico configure
> bug, any feedback from guys actually knowing
> what it is, and why it is not detected are welcome...  I've added this
> flag in the package script manually.
> 
> the fink package builds against the mac os x system ssl libraries.
> 
> best
>  matthias
> 
> On 20.02.2007, at 09:20, Robert Bierman wrote:
> 
>> I am having a lot of problems building MICO on MAC OSX, my guess is
>> that I am missing something in the initial configuration or my base
>> environment.
>>
>> When linking the security library I am getting a number of undefined
>> symbols:
>>
>> ld: Undefined symbols:
>> _BIO_ctrl
>> _BIO_new
>> _CRYPTO_num_locks
>> _CRYPTO_set_id_callback
>> _CRYPTO_set_locking_callback
>> _ERR_print_errors_fp
>> _OBJ_txt2nid
>> _SSL_CIPHER_get_name
>> _SSL_CTX_check_private_key
>> _SSL_CTX_load_verify_locations
>> _SSL_CTX_new
>> _SSL_CTX_set_cipher_list
>>
>> etc...
>>
>> I have the openssl, but I am not sure what library it is trying to
>> link with and how it is finding that library.  If I disable SSL I get
>> an error regarding Dynamic Casts:
>>
>> /Users/robertbierman/mico/./admin/mkinstalldirs ../libs
>> cd ../libs; rm -f libmico2.3.12.a; ln -f -s ../orb/libmico2.3.12.a .
>> echo '# Module dependencies' > .depend
>> /Users/robertbierman/mico/./admin/mkdepend -I. -I../idl -I../include
>> -O2  -Wall -D_REENTRANT -Wno-long-double   *.cc >> .depend
>> c++  -I. -I../idl -I../include  -O2  -Wall -D_REENTRANT
>> -Wno-long-double   -DPIC   -c ir_skel.cc -o ir_skel.pic.o
>> c++  -I. -I../idl -I../include  -O2  -Wall -D_REENTRANT
>> -Wno-long-double   -DPIC   -c ir_impl.cc -o ir_impl.pic.o
>> ir_impl.cc:40:2: error: #error "in ir_impl.cc: oops HAVE_DYNAMIC_CAST
>> is false."
>> make[1]: *** [ir_impl.pic.o] Error 1
>> make: *** [system] Error 1
>>
>> [NOTE:  I edited the "oops" error message to give some more detail.]
>>
>>
>> Here is a dump of my environment:
>>
>> TERM_PROGRAM=Apple_Terminal
>> TERM=xterm-color
>> SHELL=/bin/bash
>> TERM_PROGRAM_VERSION=133
>> OLDPWD=/Users/robertbierman/java_cup_v10k
>> USER=robertbierman
>> __CF_USER_TEXT_ENCODING=0x1F5:0:0
>> PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/opt/local/bin
>>
>> PWD=/Users/robertbierman/mico
>> SHLVL=1
>> HOME=/Users/robertbierman
>> LOGNAME=robertbierman
>> CLASSPATH=/Users/robertbierman/java_cup_v10k:
>>
>>
>> Any help as soon as possible would be appreciated.
>>
>>
>> _______________________________________________
>> Mico-devel mailing list
>> Mico-devel at mico.org
>> http://www.mico.org/mailman/listinfo/mico-devel



More information about the Mico-devel mailing list