1734 compile error

Jonathan echidnaman at gmail.com
Wed Apr 18 00:23:27 CEST 2007


Well, the default build no longer compiles with r1734. :(

# create dependencies
for DEPS in `echo *.c */*.c`; do \
        ucfront-gcc arm-linux-elf-gcc   
-I/home/jonathan/dslinux/lib/libncurses/include -I. -I 
/home/jonathan/dslinux/lib/gpm/src -M 
-I/home/jonathan/dslinux/lib/gpm/src -DHAVE_CONFIG_H -include 
headers/config.h -Wall -DSYSCONFDIR="\"/usr/local/etc\"" 
-DSBINDIR="\"/usr/local/sbin\""  $DEPS | \
        /bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g'  >> .depend ; done
lib/libcurses.c:39:20: error: curses.h: No such file or directory
make[3]: Leaving directory `/home/jonathan/dslinux/lib/gpm/src'
make[3]: Entering directory `/home/jonathan/dslinux/lib/gpm/src'
ucfront-gcc arm-linux-elf-gcc  
-I/home/jonathan/dslinux/lib/libncurses/include 
-I/home/jonathan/dslinux/lib/gpm/src -DHAVE_CONFIG_H -include 
headers/config.h -Wall -DSYSCONFDIR="\"/usr/local/etc\"" 
-DSBINDIR="\"/usr/local/sbin\""  -g -O2 -O2 -g -fomit-frame-pointer 
-fno-common -fno-builtin -Wall  -mswp-byte-writes -DCONFIG_NDS_ROM8BIT 
-mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base 
-Dlinux -D__linux__ -Dunix -D__uClinux__  
-I/home/jonathan/dslinux/lib/libncurses/include -DHAVE_CONFIG_H 
-I/home/jonathan/dslinux/lib/libncurses/include -c -o lib/libcurses.o 
lib/libcurses.c
lib/libcurses.c:39:20: error: curses.h: No such file or directory
lib/libcurses.c:46: error: syntax error before '*' token
lib/libcurses.c: In function 'Gpm_Wgetch':
lib/libcurses.c:53: error: used struct type value where scalar is required
lib/libcurses.c:53: warning: implicit declaration of function 'wgetch'
lib/libcurses.c:53: warning: implicit declaration of function 'getch'
lib/libcurses.c:75: error: used struct type value where scalar is required
lib/libcurses.c:121: error: used struct type value where scalar is required
lib/libcurses.c:127: error: used struct type value where scalar is required
lib/libcurses.c:138: error: used struct type value where scalar is required
lib/libcurses.c:146: error: used struct type value where scalar is required
lib/libcurses.c:147: warning: pointer targets in passing argument 1 of 
'gpm_convert_event' differ in signedness
make[3]: *** [lib/libcurses.o] Error 1
make[3]: Leaving directory `/home/jonathan/dslinux/lib/gpm/src'
make[2]: *** [do-all] Error 1
make[2]: Leaving directory `/home/jonathan/dslinux/lib/gpm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jonathan/dslinux/lib'
make: *** [subdirs] Error 1




More information about the dslinux-devel mailing list