On Wed, Sep 17, 2008 at 03:12:17AM +0200, Bastian Blank wrote: > On Wed, Sep 17, 2008 at 02:51:11AM +0200, Peter Palfrader wrote: > > -LDFLAGS = -x --shared > > +LDFLAGS = --shared > You should check the exported symbols, maybe you want to use -Wl,-x.
As this is a lib which should not export symbols under any circumstances except for pam_sm_*, you may want to use -fvisibility=hidden and mark the pam_sm_* symbols as exported with "__attribute__((visibility("default"))). Bastian -- Pain is a thing of the mind. The mind can be controlled. -- Spock, "Operation -- Annihilate!" stardate 3287.2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]