Re: chgpasswd build problems
Johannes Winkelmann <[email protected]> Tue, 16 May 2006 10:52:24 +0200
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Sun, May 14, 2006 at 20:16:38 +0200, Dawid Ciezarkiewicz wrote: > I believe there is something wrong with newly added chgpasswd.c make > scripts. > > I'm building shadow package for linux distro our team is developing: > Lintrack. To do that we use scratchbox environment. It's rather unusual > and I spend much time thinking it's my env. problem but now I think it's > just shadow fault :) Sadly, I don't have too much time for more > investigation and to give you any patch. > > While compiling with: > ./configure \ > --prefix=/usr \ > --without-libpam \ > --without-selinux \ > --disable-shadowgrp > > everything goes as usual till: > > chgpasswd.c: In function `main': > chgpasswd.c:82: error: storage size of `newsg' isn't known > chgpasswd.c:268: error: dereferencing pointer to incomplete type This should be fixed in CVS, with the following commit: http://cvs.pld.org.pl/shadow/src/chgpasswd.c?r1=1.1&r2=1.2 chgpasswd.c (added in 4.0.15) wasn't written to allow "--disable-shadowgrp", the above diff fixes that. HTH, Johannes -- Johannes Winkelmann mailto:[email protected] Zurich, Switzerland http://jw.smts.ch