glibc 2.2.5 compile error

Gerard Beekmans gerard at linuxfromscratch.org
Thu Mar 28 20:53:33 PST 2002


On Thu, Mar 28, 2002 at 11:49:18AM +0100, Kaspar Giger wrote:
> Hi,
> 
> Everything compiled fine until glibc 2.2.5:
> .
> .
> .
> make[2]: Leaving directory '/usr/src/g/glibc-2.2.5/streams'
> make  -C login subdir_lib
> make[2]: Entering directory '/usr/src/g/glibc-2.2.5/login'
> make[2]: *** No rule to make target 'subdir_lib'. Stop.
> make[2]: Leaving directory '/usr/src/g/glibc-2.2.5/login'
> make[1]: *** [login/subdir_lib] Error 2
> make[1]: Leaving directory '/usr/src/g/glibc-2.2.5'
> make: *** [all] Error 2
> 
> What should I do to make it compile correctly?

Part of the Glibc installation was you running these commands:

	cp login/Makefile login/Makefile.backup &&
	sed 's/root/0/' login/Makefile.backup > login/Makefile

Perhaps you made a typo in the sed commands which can produce an error
in the resulting login/Makefile file. And the error is about something
being wrong with the login/Makefile file. This can be a coinsidence, or a
result of a typo in the sed command. I'm betting on a typo in the sed
command.

Simply re-run the two commands above and it will re-create login/Makefile
properly. Now run 'make' again and see if it works then.

-- 
Gerard Beekmans
www.linuxfromscratch.org

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



More information about the lfs-support mailing list