Wonkey Donkey wrote:
> Hi all,
>
> I am new to the mailing list and HLFS, and have just started having a go 
> at building HLFS SVN-20070708.
>
> My progress so far is up to Chapter 6, building Glibc 2.5, and all has 
> gone well until now.
>
> Approximately half way down the page, having built Glibc the first time 
> and removed the 'configparms' file, we then recreate a second 
> configparms file (The section in light blue lettering) and rebuild a 
> second time.
>
> When I try to run that second build, it stops almost immediately, 
> stating that there is a missing separator in the configparms file, like so:
>
> make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.5 objdir='pwd' all
> make[1]: Entering directory '/sources/glibc-2.5'
> /sources/glibc-build/configparms:6: *** missing separator.  Stop.
> make[1]: Leaving directory '/sources/glibc-2.5'
> make: *** [all] Error 2
>
> I have removed and retyped the contents of this file 3 times now and had 
> the same error message when trying to build again. I've also had a 
> friend look over the file contents and he agrees the content is as per 
> the instructions:
>
> echo 'CC = gcc -fPIE
> CXX = g++ -fPIE
> CFLAGS-sln.c += -fno-PIC -fno-PIE
> +link = $(CC) -nostdlib -nostartfiles -fPIE -pie -o $@
> $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F))
> -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now $(hashstyle-LDFLAGS)
> $(addprefix $(csu-objpfx),S$(start-installed-name))
> $(+preinit) `$(CC) --print-file-name=crtbeginS.o`
> $(filter-out $(addprefix $(csu-objpfx),start.o
> $(start-installed-name))
> $(+preinit) $(link-extra-libs)
> $(common-objpfx)libc% $(+postinit),$^)
> $(link-extra-libs) $(link-libc) `$(CC) --print-file-name=crtendS.o` 
> $(+postinit)
> ' > configparms
>
> If anybody else has experienced this or has an idea what might be wrong, 
> I'd appreciate the info.
>
> Regards,
>
> Steve.
>
>
>
>   
Ok, I think I have spotted the problem.

On the seventh line down, as per the above code, there are 2 open 
brackets, one close bracket, then a comma. After it, there is one open 
bracket and two close brackets.

Either the comma needs to be moved to the end of 
'S$(start-installed-name))', OR, the final close bracket at the end of 
'S$(start-installed-name))' needs to be moved to before the comma 
'$(addprefix $(csu-objpfx)),'

Any ideas guys ? I'm struggling a bit here.

Steve.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to