NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 6.1.2 world fails to build with LDSTATIC="-static" because of incorrectly linked libpam.a



On Tue, Oct 08, 2013 at 06:39:05AM +0100, scft wrote:
> There is actually a lot more stuff that fails to build with my
> configs, forcing me to adjust them, but failure to produce .so, .a,
> with system which is statically linked - is a major problem.

You need to show us more of your config.

But note:

 - PAM is for dynamic linking only, forget it w/o.
 - We do build the sun2 port with NOPIC defined (and also MKISCSI=no),
   which causes it to only build (and use) static libraries. This port
   did build for 6.1.2.

If all you are after is a fully static system, NOPIC should be the switch
to toggle. But of course there may be errors in makefiles, especially in
combination with other switches - this is not heavily tested (beyound the
sun2 build).

Martin


Home | Main Index | Thread Index | Old Index