[BRLTTY] brltty5.1 in windows write Error to Focus 14

Siju Samuel sijusamueltech at gmail.com
Mon Jun 16 16:05:49 EDT 2014


hi dave,
with the latest code getting error
with the latest pl. find the following error

 $ make install INSTALL_ROOT="/brlttyjundev11"
cd Programs && make install
make[1]: Entering directory `/c/brlttyjunwindev11/brltty/Programs'
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2 -std=gnu99 -Wall -c ./main.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2 -std=gnu99 -Wall   -c ./brltty.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2 -std=gnu99 -Wall  -c ./program.c
gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H -g
-O2 -std=gnu99 -Wall   -c ./pgmpath_windows.
c
In file included from ./pgmpath_windows.c:23:0:
./system_windows.h:53:8: error: 'AttachConsole' undeclared here (not in a
function)
./system_windows.h:69:8: error: 'SendInput' undeclared here (not in a
function)
./system_windows.h:76:8: error: 'getaddrinfo' undeclared here (not in a
function)
./system_windows.h:77:8: error: 'freeaddrinfo' undeclared here (not in a
function)
make[1]: *** [pgmpath_windows.o] Error 1
thanks, siju


On Mon, Jun 16, 2014 at 10:09 AM, Siju Samuel <sijusamueltech at gmail.com>
wrote:

> i already send the headers on Friday. Please let me know if you did not
> receive it so that I can resend
>
>
> On Fri, Jun 13, 2014 at 5:15 PM, Dave Mielke <dave at mielke.cc> wrote:
>
>> [quoted lines by Siju Samuel on 2014/06/13 at 10:54 -0500]
>>
>> >#ifdef _POSIX_THREAD_SAFE_FUNCTIONS
>> >#define lockStream(stream) flockfile((stream))
>> >#define unlockStream(stream) funlockfile((stream))
>> >#else /* _POSIX_THREAD_SAFE_FUNCTIONS */
>> >#define lockStream(stream)
>> >#define unlockStream(stream)
>> >#endif /* _POSIX_THREAD_SAFE_FUNCTIONS */
>>
>> Yes, this is the interesting bit of code. Note what the documentation
>> says:
>>
>>    AVAILABILITY
>>       These  functions  are  available  when
>>  _POSIX_THREAD_SAFE_FUNCTIONS is
>>       defined.
>>
>> So our code is doing what the documenation says it should do.
>> Interestingly,
>> this code seems to work on MiNGW when in log.c but not when in file.h
>> (its new
>> location). That's why I'd like to look throgh MinGW's headers.
>>
>> --
>> 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/20140616/05c12c63/attachment.html>


More information about the BRLTTY mailing list