Re: chgpasswd build problems
Tomasz Kłoczko <[email protected]> Sat, 20 May 2006 01:48:48 +0200 (CEST)
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 16 May 2006, Johannes Winkelmann wrote: [..] >> 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. OK. Now fixed in CVS. struct group newgr must be visable only #ifndef SHADOWGRP. Thank you. kloczek -- ----------------------------------------------------------- *Ludzie nie majÂą problemĂłw, tylko sobie sami je stwarzajÂą* ----------------------------------------------------------- Tomasz KÂłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*