On Tue, Mar 22, 2016 at 12:51:10PM +0100, Thorsten Kukuk wrote:
Hi,
I tried to compile Linux-PAM today with "--enable-static-modules".
It's a nightmare :(
It used to be compileable right after commit
3c69856acf9af74368b789b1ed867b433db0ed02.
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.
It might be a bug in toolchain.
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?
We surely don't use this feature.
I'd prefer to get rid of this stuff unless it's widely used,
but the latter is very unlikely.
--
ldv