Ticket #3 (closed bug: wontfix)

Opened 4 months ago

Last modified 4 months ago

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

Attachments

Change History

Changed 4 months ago by mwhitworth

  • priority changed from blocker to major
  • status changed from new to closed
  • resolution set to wontfix

Actually, lua was ported after the release of 0.03a, and many of the functions that it needs to compile are available in the latest release; I recommend you try building with 0.1rc1. (I would provide a patch, but it would just duplicate a lot of the work in 0.1rc1).

However, not noting what versions of Whitix a port works for is an omission, so I'll try and fix this in future. Thanks for your bug report!

Add/Change #3 (lua fails to compile)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.