[BRLTTY] Bug report MingW

Lars Bjørndal lars.bjorndal at broadpark.no
Wed Mar 22 05:49:03 EST 2006


Replaced all __MINGW32__ with __MSYS__ in all files.

./configure --disable-speech-support --with-braille-driver=ht,-all
--with-text-table=no-h

configure: loading site script /etc/config.site
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 for library containing __cxa_pure_virtual... no
checking if the C compiler can compile C++... yes
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking for ld... ld
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for gawk... gawk
checking whether ln -s works... yes
checking for a BSD-compatible install... /bin/install -c
checking for make relocatable object command... $(LD) -r -o
checking for loadable module creation command... $(CC) -shared  -o
checking for dynamic library creation command... $(CC) -shared -Wl,--out-implib,implib.a,-soname,<name> -o
checking for configure shared object directory command... :
checking if DLL ws2_32 can be loaded... yes
checking for main in -lws2_32... yes
checking if DLL msvcp60 can be loaded... yes
checking for main in -lmsvcp60... yes
checking if DLL winmm can be loaded... yes
checking for main in -lwinmm... yes
checking if function CreateNamedPipe exists and works... yes
checking if function GetConsoleWindow in DLL kernel32 exists... yes
checking if function AttachConsole in DLL kernel32 exists... yes
checking if function ReadConsoleOutputCharacterW exists and works... yes
checking if DLL ntdll can be loaded... yes
checking for main in -lntdll... no
checking how to run the C preprocessor... gcc -Wall -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking if pthreads are available... yes
checking which curses package to use... checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking for ncurses.h... (cached) no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no

checking for X... no
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking regex.h usability... no
checking regex.h presence... no
checking for regex.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking machine/speaker.h usability... no
checking machine/speaker.h presence... no
checking for machine/speaker.h... no
checking linux/vt.h usability... no
checking linux/vt.h presence... no
checking for linux/vt.h... no
checking linux/input.h usability... no
checking linux/input.h presence... no
checking for linux/input.h... no
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking for fchdir... yes
checking for fchmod... yes
checking for getopt_long... yes
checking for hstrerror... yes
checking for realpath... yes
checking for shmget... no
checking for shm_open... no
checking for sigaction... yes
checking for vsyslog... no
checking if function getaddrinfo in DLL ws2_32 exists... yes
checking if function getnameinfo in DLL ws2_32 exists... yes
checking for gai_strerror... no
checking for key_t... no
checking size of key_t... 0
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if the compiler understands the __alignof__ operator... yes
checking if the compiler understands __attribute__((format(printf)))... yes
checking if the compiler understands __attribute__((packed))... yes
checking if the compiler understands __attribute__((unused))... yes
checking for system-dependent compilation flags... 
checking for c compiler yacc source flags... -Wno-parentheses -Wno-unused -Wno-uninitialized -Wno-unknown-pragmas
checking for c compiler shared object flags... 
checking for c++ compiler shared object flags... -fPIC
checking for static archive extension... a
checking for shared object run-time search path environment variable... LD_LIBRARY_PATH
checking for linkage editor program creation flags... -export-dynamic -rpath ${exec_prefix}/lib/brltty --enable-auto-import
checking for static linkage flag... -static
checking for library containing dlopen... none required
checking usb.h usability... no
checking usb.h presence... no
checking for usb.h... no
configure: WARNING: no USB support on mingw32
configure: WARNING: no bluetooth support on mingw32
configure: WARNING: Libbraille package not found: /usr /usr/local /usr/local/Libbraille /usr/local/libbraille /opt/Libbraille /opt/libbraille
checking for device directory... 
checking for first serial device... COM1
./configure: pkg-config: command not found
configure: creating ./config.status
config.status: creating config.mk
config.status: creating brltty.spec
config.status: creating brltty.lsm
config.status: creating Programs/brltty-config
config.status: creating Documents/brltty.conf
config.status: creating Documents/brltty.1
config.status: creating Documents/BrlAPIref.doxy
config.status: creating BrailleDrivers/Voyager/mkhlp
config.status: creating ./Makefile
config.status: creating Programs/Makefile
config.status: creating Documents/Makefile
config.status: creating BrailleDrivers/Alva/Makefile
config.status: creating BrailleDrivers/Albatross/Makefile
config.status: creating BrailleDrivers/BrlAPI/Makefile
config.status: creating BrailleDrivers/Braudi/Makefile
config.status: creating BrailleDrivers/BrailleLite/Makefile
config.status: creating BrailleDrivers/Baum/Makefile
config.status: creating BrailleDrivers/BrailleNote/Makefile
config.status: creating BrailleDrivers/CombiBraille/Makefile
config.status: creating BrailleDrivers/EcoBraille/Makefile
config.status: creating BrailleDrivers/EuroBraille/Makefile
config.status: creating BrailleDrivers/FreedomScientific/Makefile
config.status: creating BrailleDrivers/HandyTech/Makefile
config.status: creating BrailleDrivers/LogText/Makefile
config.status: creating BrailleDrivers/MultiBraille/Makefile
config.status: creating BrailleDrivers/MDV/Makefile
config.status: creating BrailleDrivers/MiniBraille/Makefile
config.status: creating BrailleDrivers/Papenmeier/Makefile
config.status: creating BrailleDrivers/TechniBraille/Makefile
config.status: creating BrailleDrivers/TSI/Makefile
config.status: creating BrailleDrivers/TTY/Makefile
config.status: creating BrailleDrivers/VideoBraille/Makefile
config.status: creating BrailleDrivers/Voyager/Makefile
config.status: creating BrailleDrivers/Virtual/Makefile
config.status: creating BrailleDrivers/VisioBraille/Makefile
config.status: creating BrailleDrivers/XWindow/Makefile
config.status: creating ScreenDrivers/Windows/Makefile
config.status: creating ScreenDrivers/Screen/Makefile
config.status: creating config.h
config.status: creating Programs/api.h
config.status: executing brltty-summary commands
config.status: Options Summary:
   execute-root: 
   install-root: 
   libdir: /lib
   sysconfdir: /etc
   program-directory: /bin
   library-directory: /lib/brltty
   data-directory: /etc/brltty
   manpage-directory: /usr/share/man
   include-directory: /usr/include/brltty
   compiler-prefix: 
   init-path: 
   i18n: yes
   api: yes
   api-parameters: 
   preferences-menu: yes
   table-selection: yes
   learn-mode: yes
   contracted-braille: yes
   beeper-support: yes
   pcm-support: yes
   midi-support: yes
   fm-support: yes
   pm-configfile: yes
   gpm: no
   standalone-programs: no
   libbraille-root: 
   external-braille-drivers: 
   internal-braille-drivers: ht
   braille-parameters: 
   braille-device: serial:COM1
   text-table: text.no-h.tbl
   attributes-table: attributes.tbl
   speech-support: no
   external-screen-drivers: 
   internal-screen-drivers: wn sc
   screen-parameters: 
   screen-driver: wn


make


cd Programs && make all
make[1]: Entering directory `/e/brltty/Programs'
gcc -Wall -g -O2 -DWINVER=0X0501 -I. -I.. -I. -I..  -DHAVE_CONFIG_H -c ./main.c
In file included from /usr/include/sys/resource.h:14,
                 from /usr/include/sys/wait.h:15,
                 from ./main.c:31:
/usr/include/sys/time.h:47: warning: `timerclear' redefined
/usr/include/winsock.h:103: warning: this is the location of the previous definition
/usr/include/sys/time.h:51: warning: `timercmp' redefined
/usr/include/winsock.h:102: warning: this is the location of the previous definition
In file included from /usr/include/sys/resource.h:14,
                 from /usr/include/sys/wait.h:15,
                 from ./main.c:31:
/usr/include/sys/time.h:73: warning: `struct timezone' declared inside parameter list
/usr/include/sys/time.h:73: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/sys/time.h:74: warning: `struct timezone' declared inside parameter list
In file included from ./main.c:34:
misc.h:109: conflicting types for `gettimeofday'
/usr/include/sys/time.h:73: previous declaration of `gettimeofday'
misc.h:110: conflicting types for `usleep'
/usr/include/sys/unistd.h:119: previous declaration of `usleep'
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/e/brltty/Programs'
make: *** [all] Error 2

Lars


More information about the BRLTTY mailing list