[OpenAFS-devel] modwaklog on RHEL 7

Stephen Quinney stephen@jadevine.org.uk
Fri, 12 Dec 2014 10:30:27 +0000


--089e0158b7cca64272050a026134
Content-Type: multipart/alternative; boundary=089e0158b7cca6426d050a026132

--089e0158b7cca6426d050a026132
Content-Type: text/plain; charset=UTF-8

There are a whole load of patches floating around for mod_waklog. I think
this was also an issue on RHEL6, certainly I have a patch for the
Makefile.am and configure.in files (attached) which seems to be along these
lines.


Stephen


On 11 December 2014 at 20:46, Randy Philipp <randy@umbc.edu> wrote:
>
> I am having some issues with compiling mod_waklog with openafs-1.6.10 on
> a RHEL 7 64 bit machine. I am using the latest git version, and I am
> getting the following error:
>
> apxs -c -L/usr/lib/afs -L/usr/lib/ -L/usr/lib/ -lkrb5 -lk5crypto
> -lafsauthent -lafsrpc -lkopenafs mod_waklog.o lifetime.o version.o
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99
> -Wl,-z,relro,-z,now   -o mod_waklog.la  -L/usr/lib/afs -L/usr/lib/
> -L/usr/lib/ -lkrb5 -lk5crypto -lafsauthent -lafsrpc -lkopenafs -rpath
> /usr/lib64/httpd/modules -module -avoid-version    mod_waklog.o
> lifetime.o version.o
>
> *** Warning: Linking the shared library mod_waklog.la against the
> non-libtool
> *** objects  mod_waklog.o lifetime.o version.o is not portable!
>
> Anyone have any information on resolving this issue? Any help would be
> appreciated.
>
> --
> -------------------
> Randy Philipp
> randy@umbc.edu
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>

--089e0158b7cca6426d050a026132
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>There are a whole load of patches floating around for=
 mod_waklog. I think this was also an issue on RHEL6, certainly I have a pa=
tch for the Makefile.am and <a href=3D"http://configure.in">configure.in</a=
> files (attached) which seems to be along these lines.<br><br><br></div>St=
ephen<br><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote=
">On 11 December 2014 at 20:46, Randy Philipp <span dir=3D"ltr">&lt;<a href=
=3D"mailto:randy@umbc.edu" target=3D"_blank">randy@umbc.edu</a>&gt;</span> =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">I am having some issues with compiling=
 mod_waklog with openafs-1.6.10 on<br>
a RHEL 7 64 bit machine. I am using the latest git version, and I am<br>
getting the following error:<br>
<br>
apxs -c -L/usr/lib/afs -L/usr/lib/ -L/usr/lib/ -lkrb5 -lk5crypto<br>
-lafsauthent -lafsrpc -lkopenafs mod_waklog.o lifetime.o version.o<br>
/usr/lib64/apr-1/build/libtool --silent --mode=3Dlink gcc -std=3Dgnu99<br>
-Wl,-z,relro,-z,now=C2=A0 =C2=A0-o <a href=3D"http://mod_waklog.la" target=
=3D"_blank">mod_waklog.la</a>=C2=A0 -L/usr/lib/afs -L/usr/lib/<br>
-L/usr/lib/ -lkrb5 -lk5crypto -lafsauthent -lafsrpc -lkopenafs -rpath<br>
/usr/lib64/httpd/modules -module -avoid-version=C2=A0 =C2=A0 mod_waklog.o<b=
r>
lifetime.o version.o<br>
<br>
*** Warning: Linking the shared library <a href=3D"http://mod_waklog.la" ta=
rget=3D"_blank">mod_waklog.la</a> against the<br>
non-libtool<br>
*** objects=C2=A0 mod_waklog.o lifetime.o version.o is not portable!<br>
<br>
Anyone have any information on resolving this issue? Any help would be<br>
appreciated.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
-------------------<br>
Randy Philipp<br>
<a href=3D"mailto:randy@umbc.edu">randy@umbc.edu</a><br>
<br>
_______________________________________________<br>
OpenAFS-devel mailing list<br>
<a href=3D"mailto:OpenAFS-devel@openafs.org">OpenAFS-devel@openafs.org</a><=
br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-devel" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-devel</a><br=
>
</font></span></blockquote></div></div>

--089e0158b7cca6426d050a026132--
--089e0158b7cca64272050a026134
Content-Type: text/x-patch; charset=US-ASCII; name="modwaklog-fix_build_scripts.patch"
Content-Disposition: attachment; 
	filename="modwaklog-fix_build_scripts.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_i3leyikw0

ZGlmZiAtLWdpdCBhL01ha2VmaWxlLmFtIGIvTWFrZWZpbGUuYW0KaW5kZXggOTMyYjE3Yi4uY2Iw
ZDZkMCAxMDA2NDQKLS0tIGEvTWFrZWZpbGUuYW0KKysrIGIvTWFrZWZpbGUuYW0KQEAgLTEsMzEg
KzEsMzUgQEAKIGFsbDogbW9kX3dha2xvZy5zbwogCisjIEFQWFMKIEFQWFMgPSBAQVBYU0AKLUlO
Q0xVREVTID0gLUlAS1JCNV9JTkNAIC1JQEFGU19JTkNAIC1JQEFQQUNIRV9JTkNAIC1JQEFQUl9J
TkNACi1MSUIgPSAtTEBBRlNfTElCU0AgLUxAS1JCNV9MSUJTQCAtTEBBUEFDSEVfTElCU0AgLWxr
cmI1IC1sazVjcnlwdG8gIFwKKyMgS1JCNQorS1JCNV9DT05GSUcgPSBAS1JCNV9DT05GSUdACitL
UkI1X0NGTEFHUyA9IGAke0tSQjVfQ09ORklHfSAtLWNmbGFnc2AKK0tSQjVfTElCUyA9IGAke0tS
QjVfQ09ORklHfSAtLWxpYnMga3JiNWAgCisKK0lOQ0xVREVTID0gLUlAQUZTX0lOQ0AgLUlAQVBB
Q0hFX0lOQ0AgLUlAQVBSX0lOQ0AKK0xJQiA9IC1MQEFGU19MSUJTQCAtbGtyYjUgLWxrNWNyeXB0
byAgXAogICAgICAgIC1scHJvdCAtbGF1dGggLWxyZXNvbHYgLWx1YmlrIC1scnhrYWQgLWxzeXMg
LWxyeCAtbGx3cCAtbGRlcyBcCiAgICAgICAgLWxjb21fZXJyIC1sYWZzdXRpbAogCi1BUFhTQ0Mg
PSBgJHtBUFhTfSAtcSBDQ2AgXAotICAgICAgICAgQFdBS0xPR19ERUJ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