shadow compile error

Gerard Beekmans gerard at
Sun Mar 17 10:16:26 PST 2002

On Thu, Mar 14, 2002 at 12:46:48PM -0500, Franklin R Grove III wrote:
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [useradd] Error 1
> make[2]: Leaving directory `/packages/shadow-20001016/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/packages/shadow-20001016'
> make: *** [all-recursive-am] Error 2
> This error occuring while compiling shadow password suite.  I also received 
> this error from the sed commands just before ./configure (and they are typed 
> just as the book says).  sed: -e expression #1, char 40: Unknown option to 
> 's'.  For most of the packages I have been using optimizaions.  Could it be 
> the sed commands or what?  I have unset CFLAGS while compiling just in case 
> they were causing the problem but I still received the error.

Use the newer shadow password suite: version 4.0.3

See the CVS version of the LFS-Book for the instructions.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list