2017-09-11 10:23 GMT+02:00 Stefan Eissing <stefan.eiss...@greenbytes.de>:

>
> > Am 08.09.2017 um 17:14 schrieb Yann Ylavic <ylavic....@gmail.com>:
> >
> > Hi Stefan,
> >
> > On Fri, Sep 8, 2017 at 5:06 PM,  <ic...@apache.org> wrote:
> >> Author: icing
> >> Date: Fri Sep  8 15:06:44 2017
> >> New Revision: 1807777
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1807777&view=rev
> >> Log:
> >> On the trunk:
> >>
> >> mod_md: added necessary CPPFLAGS for a2md build.
> >
> > Thanks, it fixed some APR dependencies for me.
> >
> > Now I'm here:
> >
> > || *** Warning: Linking the shared library mod_md.la against the
> non-libtool
> > || *** objects  md_acme.o md_acme_acct.o md_acme_authz.o
> > md_acme_drive.o md_core.o md_curl.o md_crypt.o md_http.o md_json.o
> > md_jws.o md_log.o md_reg.o md_store.o md_store_fs.o md_util.o is not
> > portable!
> > || /home/yle/bin/ld: error: md_json.o: requires dynamic R_X86_64_PC32
> > reloc against 'md_json_destroy' which may overflow at runtime;
> > recompile with -fPIC
> > || /home/yle/bin/ld: error: md_reg.o: requires dynamic R_X86_64_PC32
> > reloc against 'md_reg_find_overlap' which may overflow at runtime;
> > recompile with -fPIC
> > || /home/yle/bin/ld: error: md_util.o: requires dynamic R_X86_64_PC32
> > reloc against 'md_array_str_index' which may overflow at runtime;
> > recompile with -fPIC
> > || collect2: error: ld returned 1 exit status
> >
> > Any idea?
>
> Really did a buildconf && configure && make clean? This worked
> for others...


Just tried and this is what I get:

./buildconf --with-apr=srclib/apr --with-apr-util=srclib/apr-uti
./configure --with-included-apr --enable-mods-shared=most
make clean && make

Debian Jessie (Vagrant image)

/home/vagrant/httpd-trunk/srclib/apr/libtool --silent --mode=link gcc
-I/usr/include/x86_64-linux-gnu -g -O2 -pthread    -lssl -lcrypto  -luuid
-lrt -lcrypt  -lpthread -ldl -ljansson -lcurl       -o mod_md.la -rpath
/usr/local/apache2/modules -module -avoid-version  mod_md.lo
mod_md_config.lo mod_md_os.lo  md_acme.o md_acme_acct.o md_acme_authz.o
md_acme_drive.o md_core.o md_curl.o md_crypt.o md_http.o md_json.o md_jws.o
md_log.o md_reg.o md_store.o md_store_fs.o md_util.o

*** Warning: Linking the shared library mod_md.la against the non-libtool
*** objects  md_acme.o md_acme_acct.o md_acme_authz.o md_acme_drive.o
md_core.o md_curl.o md_crypt.o md_http.o md_json.o md_jws.o md_log.o
md_reg.o md_store.o md_store_fs.o md_util.o is not portable!

Luca

Reply via email to