[BRLTTY] Compiling in windows : Cython Not Found

Siju Samuel sijusamueltech at gmail.com
Fri Jun 13 12:18:40 EDT 2014


Hi,

1)  Mingw downloaded in Jul 2013
$ gcc --version
gcc.exe (GCC) 4.6.2
localhost /bin
$ uname -r
1.0.17(0.48/3/2)
localhost /bin
$ uname -mrs
MINGW32_NT-6.1 1.0.17(0.48/3/2) i686
localhost /bin
$ uname -a
MINGW32_NT-6.1 localhost 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys


2) With the latest code, gets error in io_misc.c.


gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./charset_windows.c
gcc -I. -I. -I./../../../Programs -I../../../Programs -I./../../..
-I../../..
 -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall  '-DDRIVER_NAME=FreedomScientific'
'-DD
RIVER_CODE=fs' '-DDRIVER_COMMENT="Focus 1 44/70/84, Focus 2 40/80, Focus
Blue 14
/40, PAC Mate 20/40"' '-DDRIVER_VERSION=""' '-DDRIVER_DEVELOPERS="Dave
Mielke <d
ave at mielke.cc>"' -c ./braille.c
./braille.c: In function 'brl_readPacket':
./braille.c:1060:5: warning: unknown conversion type character 'z' in
format [-W
format]
./braille.c:1060:5: warning: unknown conversion type character 'z' in
format [-W
format]
./braille.c:1060:5: warning: too many arguments for format
[-Wformat-extra-args]
./braille.c: In function 'brl_writePacket':
./braille.c:1084:20: warning: unknown conversion type character 'z' in
format [-
Wformat]
./braille.c:1084:20: warning: unknown conversion type character 'z' in
format [-
Wformat]
./braille.c:1084:20: warning: too many arguments for format
[-Wformat-extra-args
]
./braille.c:1094:14: warning: unknown conversion type character 'z' in
format [-
Wformat]
./braille.c:1094:14: warning: unknown conversion type character 'z' in
format [-
Wformat]
./braille.c:1094:14: warning: too many arguments for format
[-Wformat-extra-args
]
make[2]: Leaving directory
`/c/brlttyjunwindev11/brltty/Drivers/Braille/FreedomS
cientific'
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./io_misc.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./gio.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./gio_serial.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./serial.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./serial_windows.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./gio_usb.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb.c
./usb.c: In function 'usbGetLanguage':
./usb.c:121:7: warning: unknown conversion type character 'z' in format
[-Wforma
t]
./usb.c:121:7: warning: too many arguments for format [-Wformat-extra-args]
./usb.c: In function 'usbMakeInputPipe':
./usb.c:586:5: warning: implicit declaration of function 'setBlockingIo'
[-Wimpl
icit-function-declaration]
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_hid.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_serial.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_adapters.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_cdc_acm.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_belkin.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_cp2101.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_cp2110.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./usb_ftdi.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./usb_libusb.c
./usb_libusb.c: In function 'usbReadEndpoint':
./usb_libusb.c:193:7: warning: passing argument 1 of 'usbApplyInputFilters'
disc
ards 'const' qualifier from pointer target type [enabled by default]
./usb_internal.h:90:12: note: expected 'struct UsbEndpoint *' but argument
is of
 type 'const struct UsbEndpoint *'
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./gio_bluetooth.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./bluetooth.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./bluetooth_names.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./bluetooth_none.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./mntpt.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./mntpt_none.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall   -c ./mntfs_none.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./spk.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./spk_thread.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./spk_input.c
./mkdrvtab SpeechDriver spk_driver_  >spk.auto.h
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./spk_driver.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./spk_base.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./api_control.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./brlapi_server.c
./brlapi_server.c: In function 'adjustPermissions':
./brlapi_server.c:1698:3: warning: implicit declaration of function
'getegid' [-
Wimplicit-function-declaration]
./brlapi_server.c: At top level:
./brlapi_server.c:1697:1: warning: 'adjustPermissions' defined but not used
[-Wu
nused-function]
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./brlapi_keyranges.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2
-std=gnu99 -Wall  -c ./auth.c
gcc -Wl,--export-all-symbols,--enable-auto-import -o brltty.exe main.o
brltty.o
program.o pgmpath_windows.o service_windows.o pid.o options.o params_none.o
log.
o addresses.o file.o device.o parse.o timing.o async_handle.o async_data.o
async
_wait.o async_alarm.o async_task.o async_io.o async_event.o async_signal.o
async
_thread.o queue.o dynld_windows.o ports_windows.o system_windows.o
hostcmd.o hos
tcmd_windows.o datafile.o unicode.o lock.o charset.o charset_windows.o
revision.
o config.o prefs.o prefs_table.o menu.o ses.o status.o update.o blink.o
clipboar
d.o dataarea.o cmd.o cmd_brlapi.o cmd_queue.o cmd_navigation.o cmd_speech.o
cmd_
touch.o cmd_learn.o scancodes.o ttb_compile.o ttb_native.o ttb_translate.o
atb_c
ompile.o atb_translate.o ctb_compile.o ctb_translate.o ktb_compile.o
ktb_transla
te.o ktb_list.o ktb_keyboard.o keyboard.o keyboard_none.o alert.o message.o
tune
.o notes.o notes_beep.o beep.o beep_windows.o notes_pcm.o pcm.o
pcm_windows.o no
tes_midi.o midi.o midi_windows.o notes_fm.o fm_adlib.o hidkeys.o drivers.o
drive
r.o scr.o scr_utils.o scr_base.o scr_help.o scr_frozen.o scr_menu.o
menu_prefs.o
 scr_main.o scr_real.o scr_driver.o routing.o  brl.o brl_utils.o
brl_input.o brl
_driver.o brl_base.o ./../Drivers/Braille/FreedomScientific/braille.o
io_misc.o
gio.o gio_serial.o serial.o serial_windows.o gio_usb.o usb.o usb_hid.o
usb_seria
l.o usb_adapters.o usb_cdc_acm.o usb_belkin.o usb_cp2101.o usb_cp2110.o
usb_ftdi
.o usb_libusb.o gio_bluetooth.o bluetooth.o bluetooth_names.o
bluetooth_none.o m
ntpt.o mntpt_none.o mntfs_none.o spk.o spk_thread.o spk_input.o
spk_driver.o spk
_base.o  api_control.o brlapi_server.o brlapi_keyranges.o auth.o
-lusb    -
liconv -lintl -lwinmm -lgdi32 -lws2_32 -lsupc++
io_misc.o: In function `writeSocketData':
c:\brlttyjunwindev11\brltty\Programs/./io_misc.c:337: undefined reference
to `wr
iteSocketDescriptor'
io_misc.o: In function `readSocketData':
c:\brlttyjunwindev11\brltty\Programs/./io_misc.c:332: undefined reference
to `re
adSocketDescriptor'
collect2: ld returned 1 exit status
make[1]: *** [brltty.exe] Error 1
make[1]: Leaving directory `/c/brlttyjunwindev11/brltty/Programs'
make: *** [install] Error 2






Thanks,siju



On Fri, Jun 13, 2014 at 10:23 AM, Dave Mielke <dave at mielke.cc> wrote:

> [quoted lines by Siju Samuel on 2014/06/13 at 09:42 -0500]
>
> >the above output I #warning WARNING - The w32api.h header file is
> deprecated and will be removed.copies using  mouse. So I guess missed a
> column.
> here
> >is the similar content.
>
> Okay. This output gives the proper symbol names so I guess that was it.
>
> How new or old is your MinGW installation?
>
> Do you know if any local changes have been made to its C header files?
>
> I'm asking because (at least) your MinGW seems to be violating the
> documentation. The documentation for the flockfile() and funlockfile()
> functions says that they exist if _POSIX_THREAD_SAFE_FUNCTIONS is defined,
> and
> our code is donig this test.
>
> In any event, I've made a change to try to get past this problem for now so
> please update and try again.
>
> --
> Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of
> God.
> Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
> EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20140613/1b67f546/attachment.html>


More information about the BRLTTY mailing list