On Mon, Jul 4, 2011 at 4:45 PM, Jan Friesse <[email protected]> wrote:
> Andrew,
> you are right in the fact that coroipcs uses functions defined in utils.c
> which are not linked to coroipcs itself. On the other hand, libcoroipcs is
> always used only with corosync and corosync executable contains this
> symbols, so there shouldn't be any problem.
>
> What compiler + OS + configure options are you using? Because at least on
> RHEL/FC14 with default configure there is no link time checking of symbols
> availability.

I'm on OSX.
The library parts of the build are completely borked there.

I found it simpler to just allow pacemaker to build without corosync.

>
> Regards,
>  Honza
>
> Andrew Beekhof napsal(a):
>>
>> On Mon, Jul 4, 2011 at 12:16 PM, Andrew Beekhof <[email protected]>
>> wrote:
>>>
>>> [12:06 pm] beekhof@iMac ~/Development/cluster/corosync # make
>>> Making all in include
>>> Making all in lcr
>>> Built Live Component Replacement System
>>> Making all in lib
>>> Built shared libs
>>> Making all in exec
>>>  cd .. && /bin/sh /Users/beekhof/Development/cluster/corosync/missing
>>> --run automake-1.10 --gnu  exec/Makefile
>>>  cd .. && /bin/sh ./config.status exec/Makefile depfiles
>>> config.status: creating exec/Makefile
>>> config.status: executing depfiles commands
>>> Undefined symbols for architecture x86_64:
>>>  "_short_service_name_get", referenced from:
>>>     _coroipcs_handler_dispatch in coroipcs.o
>>> ld: symbol(s) not found for architecture x86_64
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [libcoroipcs.so.4.0.0] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>> short_service_name_get is defined in utils.c which is only linked into
>>> corosync itself and therefor not available to users of libcoroipcs.
>>>
>>
>> Likewise for some functions in coropoll.c which is linked into
>> libtotempg which doesn't help the service plugins.
>>
>> Making all in services
>> Undefined symbols for architecture x86_64:
>>  "_poll_dispatch_delete", referenced from:
>>      _confdb_exec_exit_fn in confdb.o
>>  "_poll_dispatch_add", referenced from:
>>      _confdb_exec_init_fn in confdb.o
>> ld: symbol(s) not found for architecture x86_64
>> collect2: ld returned 1 exit status
>> make[2]: *** [service_confdb.lcrso] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> _______________________________________________
>> Openais mailing list
>> [email protected]
>> https://lists.linux-foundation.org/mailman/listinfo/openais
>
>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to