On 06/21/2013 10:57 AM, Sergey Shidlovsky wrote:
> Hello, everybody!
> 
> I'm trying to get my firs LFS, based on 7.3 version of The Book.
> The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
> for host system were met. The lfs user environments ($LFS variable etc.)
> set properly.
> 
> Now I'm in the middle of chapter 5 "Constructing a Temporary System".
> All was okay till package, mentioned in the subject.
> 
> First command, "./configure --prefix=/tools" goes okay. But when I'm
> trying to say next "make", I get compilation errors:
> 
> ---
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
> -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes
> -Wwrite-strings -Wno-variadic-macros -MT putenv.lo -MD -MP -MF
> .deps/putenv.Tpo -c putenv.c  -fPIC -DPIC -o .libs/putenv.o
> putenv.c:5:1: error: expected identifier or '(' before '{' token
> make[2]: *** [putenv.lo] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
> make: *** [all] Error 2
> ---
> 
> If I'm understanding the problem correctly, there's some error in
> lib/putenv.c file. And I've tried to fix it! The mentioned file looked
> like this:
> 
> ---
> #include "libcompat.h"
> 
> int
> putenv (const char *string CK_ATTRIBUTE_UNUSED);
> {
>   assert (0);
>   return 0;
> }
> ---
> 
> There was a semicolon after the function header. I've removed it. After
> that compile stage was done properly. Unfortunately, after correct
> compilation, "make check command" failed to pass all the test suites. So
> I don't know what to do... and thanks in advance for any advices and
> solutions.
> 
> -- 
> Yours faithfully,
> Sergey N Shidlovsky
> 
> 

Doh, second in a week (I guess)

http://www.linuxfromscratch.org/lfs/errata/7.3/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to