On Tue, Mar 22, Tomas Mraz wrote:
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.
Yes, I will create a patch.
Thorsten
--
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)