Hi Brian,

I ran into the same problem, and I decided to skip Perl, but I am 
already regretting it. I think I put back a backup of the temporary system.

Does it btw make sense to try your gettext patch on a system with an 
already patched uClibc? I made a backup of my temporary system with a 
patched uClibc.

Rob

Brian Cheeseman schreef:
> All,
>
> Has anyone managed to compile the Perl utils in chapter 5? I keep
> getting errors compiling toke.c. Searches on the internet show the same
> error, but no solutions.
>
> The build output I keep seeing is below.
>
> hlfs:/mnt/hlfs/sources/perl-5.8.8$ make perl utilities
> `sh  cflags "optimize='-O2'" perlmain.o`  perlmain.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -O2  -Wall
> `sh  cflags "optimize='-O2'" perl.o`  perl.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -O2  -Wall
> perl.c: In function 'perl_parse':
> perl.c:1586: warning: passing argument 1 of 'time' from incompatible
> pointer type
> `sh  cflags "optimize='-O2'" gv.o`  gv.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -O2  -Wall
> `sh  cflags "optimize='-O2'" toke.o`  toke.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -O2  -Wall
> toke.c: In function 'S_scan_formline':
> toke.c:10542: error: invalid operands to binary +
> toke.c:10542: error: invalid lvalue in unary '&'
> toke.c:10542: error: invalid lvalue in unary '&'
> make: *** [toke.o] Error 1
>
>
> I have also tested this build under Glibc and it compiles correctly. Any
> and all help appreciated.
>
> Regards,
> Brian.
>   

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

Reply via email to