[BRLTTY] MinGW

Lars Bjørndal lars.bjorndal at broadpark.no
Mon Jun 12 03:47:36 EDT 2006


Hello!

I had to reinstall MingW and MSYS, and no, I cannot compile brltty.
Doing 'make', gives me a message about inttypes.h is missing. What's the
solution here?

The output from make is:

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 ./main.c:23:
../prologue.h:69: inttypes.h: No such file or directory
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/e/brltty/Programs'
make: *** [all] Error 2

The output from ./configure --with-execute-root:

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... bison -y
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 /c/brl${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: WARNING: FestivalLite package not found: /usr /usr/local /usr/local/FestivalLite /usr/local/flite /opt/FestivalLite /opt/flite
configure: WARNING: Mikropuhe package not found: /usr /usr/local /usr/local/Mikropuhe /usr/local/mikropuhe /opt/Mikropuhe /opt/mikropuhe
configure: WARNING: Swift package not found: /usr /usr/local /usr/local/Swift /usr/local/swift /opt/Swift /opt/swift
configure: WARNING: Theta package not found: /usr /usr/local /usr/local/Theta /usr/local/theta /opt/Theta /opt/theta
configure: WARNING: ViaVoice package not found: /usr /usr/local /usr/local/ViaVoice /usr/local/viavoice /opt/ViaVoice /opt/viavoice
./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 SpeechDrivers/Alva/Makefile
config.status: creating SpeechDrivers/BrailleLite/Makefile
config.status: creating SpeechDrivers/CombiBraille/Makefile
config.status: creating SpeechDrivers/ExternalSpeech/Makefile
config.status: creating SpeechDrivers/Festival/Makefile
config.status: creating SpeechDrivers/GenericSay/Makefile
config.status: creating ScreenDrivers/Windows/Makefile
config.status: creating ScreenDrivers/Screen/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating Programs/api.h
config.status: Programs/api.h is unchanged
config.status: executing brltty-summary commands
config.status: Options Summary:
   execute-root: /c/brl
   install-root: /c/brl
   libdir: /lib
   sysconfdir: /etc
   program-directory: /bin
   library-directory: /lib/brltty
   data-directory: /etc/brltty
   manpage-directory: /man
   include-directory: /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: al at ba bd bl bm bn cb ec eu fs ht lt mb md mn pm tn ts tt vd vo vr vs xw
   braille-parameters: 
   braille-device: serial:COM1
   text-table: text.nabcc.tbl
   attributes-table: attributes.tbl
   speech-support: yes
   flite-root: 
   mikropuhe-root: 
   swift-root: 
   theta-root: 
   viavoice-root: 
   external-speech-drivers: 
   internal-speech-drivers: al bl cb es fv gs
   speech-parameters: 
   external-screen-drivers: 
   internal-screen-drivers: wn sc
   screen-parameters: 
   screen-driver: wn

Lars


More information about the BRLTTY mailing list