Ticket #3 (closed bug: wontfix)
lua fails to compile
| Reported by: | arshad.super@… | Owned by: | mwhitworth |
|---|---|---|---|
| Priority: | major | Component: | port (any other software) |
| Version: | 0.03a | Keywords: | lua |
| Cc: |
Description
lua fails to compile with GNUC=4 & GNUC_MINOR=1.
I am posting the error reported form the make below. I got
lua by running "portdownload.sh". This download operation
was successful. I have marked the priority as blocker,
if this is incorrect please let me know. Any further information please let me know.
#
# My uname output
#
Arshad:/mnt/space/dload/whitix-0.03a/user/tcc # uname -a
Linux linux-mydz 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux
#
# make output
#
Arshad:/mnt/space/dload/whitix-0.03a/user/lua # ls
COPYRIGHT HISTORY INSTALL Makefile README doc etc src test
Arshad:/mnt/space/dload/whitix-0.03a/user/lua # make
cd src && make posix
make[1]: Entering directory `/mnt/space/dload/whitix-0.03a/user/lua/src'
make all MYCFLAGS=-DLUA_USE_POSIX
make[2]: Entering directory `/mnt/space/dload/whitix-0.03a/user/lua/src'
gcc -O2 -Wall -DLUA_USE_POSIX -fno-stack-protector -fno-builtin -nostdlib -ffreestanding -I../../libc/include -I../../posix/include -I../../librtl -c -o liolib.o liolib.c
liolib.c: In function ‘read_number’:
liolib.c:275: warning: implicit declaration of function ‘fscanf’
liolib.c: In function ‘test_eof’:
liolib.c:285: warning: implicit declaration of function ‘ungetc’
liolib.c: In function ‘g_read’:
liolib.c:335: warning: implicit declaration of function ‘clearerr’
liolib.c: In function ‘f_setvbuf’:
liolib.c:461: error: void value not ignored as it ought to be
make[2]: *** [liolib.o] Error 1
make[2]: Leaving directory `/mnt/space/dload/whitix-0.03a/user/lua/src'
make[1]: *** [posix] Error 2
make[1]: Leaving directory `/mnt/space/dload/whitix-0.03a/user/lua/src'
make: *** [posix] Error 2
