packages: corosync/corosync.spec - added explanation to skip_post_check_so
Przemyslaw Iskra
sparky at pld-linux.org
Fri Apr 22 16:36:34 CEST 2011
On Fri, Apr 22, 2011 at 04:32:17PM +0200, alucard wrote:
> Author: alucard Date: Fri Apr 22 14:32:17 2011 GMT
> Module: packages Tag: HEAD
> ---- Log message:
> - added explanation to skip_post_check_so
> -# REASON TO SKIP SO CHECK IS MISSING
> -#%%define skip_post_check_so libtotem_pg.so.4.0.0
> +# "Unresolved symbols found: clock_gettime" however -lrt is properly
> +# passed (or seems to me - alucard), corosync works well anyway
> +%define skip_post_check_so libtotem_pg.so.4.0.0
No, it isn't:
x86_64-pld-linux-gcc -shared -o libtotem_pg.so.4.0.0 \
-Wl,-soname=libtotem_pg.so.4 \
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries
-Wl,-z,relro -Wl,-z,combreloc coropoll.o totemip.o
totemnet.o totemudp.o totemudpu.o totemrrp.o totemsrp.o
totemmrp.o totempg.o crypto.o wthread.o -lnss3
-lnssutil3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4
-lnspr4 -ldl -lc -lpthread -lpthread
Add $(LIBS) at the end of exec/Makefile.am, line 128, and it should all go
away.
$(CC) -shared -o $@ \
-Wl,-soname=libtotem_pg.so.$(SOMAJOR) \
$(LDFLAGS) $^ $(nss_LIBS) $(rdmacm_LIBS) $(ibverbs_LIBS) -lpthread $(LIBS)
Best regards,
Przemysław Iskra.
--
____ sparky -- Przemyslaw ................ LANG...Pl,Ca,Es,En
/____) ___ ___ _ _ || Iskra : WWW . http://ppcrcd.pld-linux.org/
\____\| -_)'___| ||^'||//\\// : WWW2 ............ http://rsget.pl/
(____/|| (_-_|_|| ||\\ || : eMail ..... <sparky at pld-linux.org>
More information about the pld-devel-en
mailing list