On Út, 2016-03-22 at 12:51 +0100, Thorsten Kukuk wrote:
Hi,
I tried to compile Linux-PAM today with "--enable-static-modules".
It's a nightmare :(
Some problems are easy fixable, but we have a structural problem:
I get a verlong long list of "multiple definition of" errors.
Every module compiled static provides the same function names:
pam_sm_open_session, pam_sm_close_session, etc.
Looks like current toolchain does not like this.
The question now is: should we really try to fix that,
or should we remove the --enable-static-modules option
and the code for this?
I would vote for removal, I don't see any sense in this option
anymore. Beside, that I doubt that it will really work, if it
does not even compile ...
+1 to removal. Will you work on the patch? Please clean it up
thoroughly as I do not think we want to leave traces of it in the code.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
(You'll never know whether the road is wrong though.)