[ipv6calc] ipv6calc: use shared libipv6calc.so and databases
Peter Bieringer
pb at bieringer.de
Sat Feb 1 22:17:26 CET 2014
Hi Nikoli,
Am 01.02.2014 17:37, schrieb Nikoli:
> Hello, tried building it, fails for me, attached log. My distro is amd64
> hardened Gentoo Linux.
>
> Compared current cvs and 0.95.0 sources, bugs and suggestions:
> 1) These commands do not respect CC CFLAGS LDFLAGS:
> gcc -shared -Wl,-soname,libipv6calc_db_wrapper.so. at PACKAGE_VERSION@ -o
> libipv6calc_db_wrapper.so. at PACKAGE_VERSION@ $(OBJS)
> gcc -shared -Wl,-soname,libipv6calc.so. at PACKAGE_VERSION@ -o
> libipv6calc.so. at PACKAGE_VERSION@ $(OBJS)
Hopefully fixed now (it is my first time to create shared library
support, so I copy&pasted from howto...).
> 2) Most autotools based packages use --enable-shared option, also there is
> typo in configure:
> --enaLBe-shared-library Enable shared library build (default: disabled)
Fixed.
> gnu/bin/ld: libipv6calc_db_wrapper.o: relocation R_X86_64_PC32 against
symbol `wrapper_features' can not be used when making a shared object;
recompile with -fPIC
Please try again, if it still breaks like before, I have to doublecheck
and run some tests on other systems (my primary developing box is
currently Fedora 20).
Please try latest trunk - thank you for support!
Regards,
Peter
More information about the ipv6calc
mailing list