[BRLTTY] keycode, logfile, apitest.c

Adrian van Bloois adrian at pa0rda.nl
Thu Dec 5 06:55:36 EST 2019


On Thu, Dec 05, 2019 at 11:46:05AM +0000, Quartel, Eric de wrote:
> 
>    Hello,
> 
>    Try to run brltty with the additional command line option:
> 
>    -ldebug,server
> 
>    sudo brltty -ldebug/server
-ldebug is sufficient, server is not a loglevel or facility.


> 
>    but get error message:
> 
>    brltty: unkown log level or category: debug/server
> 
>    > Where do I go wrong? What is the debug/server
> 
> 
>    When I compile apitest.c
> 
>    gcc apitest.c -o apitest -lbrlapi -I/home/pi/Documents/brltty/Headers
>    -I/home/pi/Documents/brltty/Programs
> 
>    I get the message:
> 
>    apitest.c: In function `enterLearnMode':
> 
>    apitest.c:229:11: warning: implicit declaration of function
>    `cmdBrlapiToBrltty' [-Wimplicit-function-declaration]
> 
>         cmd = cmdBrlapiToBrltty(code);
> 
>               ^~~~~~~~~~~~~~~~~
> 
>    /usr/bin/ld: /tmp/ccnQQ8Fw.o: undefined reference to symbol
>    'pthread_create@@GLIBC_2.4'
> 
>    /usr/bin/ld: //lib/arm-linux-gnueabihf/libpthread.so.0: error adding
>    symbols: DSO missing from command line
> 
>    collect2: error: ld returned 1 exit status
> 
>    >Where do i go wrong?
> 
>    Thanks for your help, Eric

> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty


-- 
	Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
	Edsger W. Dijkstra


More information about the BRLTTY mailing list