From: dusted <du...@du...> - 2006-09-12 17:04:46
|
Hi, i dont know if this is relevant, but i downloaded the source off the=20 site. $ ./configure $ make ends in error: In file included from drv_generic_i2c.c:76: lcd4linux_i2c.h:81: error: array type has incomplete element type make: *** [drv_generic_i2c.o] Error 1 I just commented out the line, and it compiles (but i figure i2c stuff=20 wont work). Best Regards Jimmy Christensen Just in case you want the output its here: make gives: gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c lcd4linu= x.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c cfg.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c debug.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c evaluato= r.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c hash.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c layout.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c pid.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c timer.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c thread.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c udelay.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c qprintf.= c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c widget.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 widget_text.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 widget_bar.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 widget_icon.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c plugin.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 plugin_cfg.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 plugin_math.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 plugin_string.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 plugin_test.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 plugin_time.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_BeckmannEgle.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_Crystalfontz.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_Curses.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_Cwlinux.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_HD44780.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_LCDLinux.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_LCDTerm.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_M50530.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_MatrixOrbital.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_MilfordInstruments.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_Noritake.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_NULL= .c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_Imag= e.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_RouterBoard.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_SimpleLCD.c drv_SimpleLCD.c: In function =91drv_SL_start=92: drv_SimpleLCD.c:212: warning: pointer targets in passing argument 6 of=20 =91cfg_number=92 differ in signedness drv_SimpleLCD.c:214: warning: pointer targets in passing argument 6 of=20 =91cfg_number=92 differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_T696= 3.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_USBLCD.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_generic_text.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_generic_graphic.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_generic_parport.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_generic_serial.c gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c=20 drv_generic_i2c.c In file included from drv_generic_i2c.c:76: lcd4linux_i2c.h:81: error: array type has incomplete element type make: *** [drv_generic_i2c.o] Error 1 and ./configure gives: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking if malloc debugging is wanted... no checking for log in -lm... yes checking for egrep... grep -E configure: checking location of ncurses.h file... Found ncurses on /usr/include/ncurses.h checking for ncurses version... 5.5 checking for X... no checking gd/gd.h usability... no checking gd/gd.h presence... no checking for gd/gd.h... no checking gd.h usability... no checking gd.h presence... no checking for gd.h... no checking usb.h usability... no checking usb.h presence... no checking for usb.h... no checking serdisplib/serdisp.h usability... no checking serdisplib/serdisp.h presence... no checking for serdisplib/serdisp.h... no checking if python support is wanted... no checking which drivers to compile... done configure: WARNING: usb.h not found: BWCT driver disabled configure: WARNING: gd.h not found: PNG driver disabled configure: WARNING: serdisp.h not found: serdisplib driver disabled configure: WARNING: usb.h not found: Trefon driver disabled configure: WARNING: X11 headers or libraries not available: X11 driver=20 disabled checking which plugins to compile... done checking linux/dvb/frontend.h usability... yes checking linux/dvb/frontend.h presence... yes checking for linux/dvb/frontend.h... yes checking linux/isdn.h usability... yes checking linux/isdn.h presence... yes checking for linux/isdn.h... yes checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no configure: WARNING: mysql/mysql.h header not found: mysql plugin disabled checking net/if_ppp.h usability... yes checking net/if_ppp.h presence... yes checking for net/if_ppp.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking asm/io.h usability... yes checking asm/io.h presence... yes checking for asm/io.h... yes checking linux/parport.h usability... yes checking linux/parport.h presence... yes checking for linux/parport.h... yes checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking asm/msr.h usability... yes checking asm/msr.h presence... yes checking for asm/msr.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... yes checking whether closedir returns void... no checking for error_at_line... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing=20 slash... no checking whether stat accepts an empty string... no checking for strftime... yes checking for working strtod... yes checking for dup2... yes checking for floor... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for memset... yes checking for pow... yes checking for putenv... yes checking for regcomp... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strndup... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for uname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands |