[BRLTTY] please check needed version of hid stuff in configure scripts

Halim Sahin halim.sahin at freenet.de
Sun Nov 21 03:29:17 EST 2021


Hi,

can you please check which versions are needed for hid support and
disable drivers which need hid libraries?
Currently I can not build brltty on ubuntu 20.04.

I am getting:

cd Programs && make all
make[1]: Entering directory '/home/halim/brltty/Programs'
../getrevid -s -f revision_identifier.h -d unknown ../
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..   -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./revision.c
./tbl2hex -- ../Tables/Text/en-nabcc.ttb >ttb.auto.h
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..   -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./ttb_translate.c
./tbl2hex -- ../Tables/Contraction/none.ctb >ctb.auto.h
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..   -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC  -c ./ctb_translate.c
./tbl2hex -- ../Tables/Attributes/left_right.atb >atb.auto.h
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..   -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -Wno-address-of-packed-member -Wno-stringop-truncation -fPIC -c ./atb_translate.c
gcc -Wl,-export-dynamic -o brltty brltty.o core.o program.o pgmpath_linux.o pid.o options.o params_linux.o messages.o log.o log_history.o addresses.o file.o device.o parse.o variables.o datafile.o unicode.o utf8.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 thread.o queue.o lock.o dynld_dlfcn.o ports_glibc.o system_linux.o hostcmd.o hostcmd_unix.o revision.o pgmprivs_linux.o report.o config.o rgx.o rgx_libpcre2-32.o service_libsystemd.o activity.o prefs.o pref_tables.o profile.o menu.o menu_prefs.o ses.o status.o update.o blink.o dataarea.o cmd.o cmd_brlapi.o cmd_queue.o cmd_utils.o cmd_clipboard.o cmd_custom.o cmd_input.o cmd_keycodes.o cmd_learn.o cmd_miscellaneous.o cmd_navigation.o cmd_override.o cmd_preferences.o cmd_speech.o cmd_toggle.o cmd_touch.o clipboard.o learn.o pipe.o ttb_translate.o ttb_compile.o ttb_native.o charset.o charset_iconv.o ctb_compile.o cldr.o ctb_translate.o ctb_native.o ctb_external.o ctb_louis.o atb_translate.o atb_compile.o ktb_translate.o ktb_compile.o ktb_list.o ktb_cmds.o ktb_keyboard.o kbd.o kbd_linux.o kbd_keycodes.o bell.o bell_linux.o leds.o leds_linux.o alert.o tune_build.o message.o tune.o notes.o notes_beep.o beep.o beep_linux.o notes_pcm.o pcm.o pcm_alsa.o notes_midi.o midi.o midi_alsa.o notes_fm.o fm_adlib.o hidkeys.o drivers.o driver.o scr.o scr_utils.o scr_base.o scr_main.o scr_real.o scr_gpm.o scr_driver.o routing.o  scr_special.o scr_frozen.o scr_help.o scr_menu.o brl.o brl_utils.o brl_input.o brl_driver.o brl_base.o  io_misc.o io_log.o serial.o serial_termios.o usb.o usb_hid.o usb_devices.o usb_serial.o usb_adapters.o usb_cdc_acm.o usb_belkin.o usb_ch341.o usb_cp2101.o usb_cp2110.o usb_ftdi.o usb_linux.o bluetooth.o bluetooth_names.o bluetooth_linux.o hid.o hid_items.o hid_braille.o hid_linux.o gio.o gio_serial.o gio_usb.o gio_bluetooth.o gio_hid.o gio_null.o mntpt.o mntpt_mntent.o mntfs_linux.o crc_generate.o ihex.o ezusb.o spk.o spk_thread.o spk_driver.o spk_base.o  spk_input.o api_control.o brlapi_server.o brlapi_keyranges.o auth.o    -lsystemd -lasound -lasound  -ldbus-1 -ludev -llouis -lexpat -lpcre2-32 -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -licuuc -licudata  -lbluetooth -lbluetooth -ldl -lcap -lgpm -lpthread 
/usr/bin/ld: hid_linux.o: in function `hidLinuxGetRawUnique':
/home/halim/brltty/Programs/./hid_linux.c:231: undefined reference to `HIDIOCGRAWUNIQ'
/usr/bin/ld: hid_linux.o: in function `hidLinuxSetReport':
/home/halim/brltty/Programs/./hid_linux.c:130: undefined reference to `HIDIOCSOUTPUT'
/usr/bin/ld: hid_linux.o: in function `hidLinuxGetReport':
/home/halim/brltty/Programs/./hid_linux.c:119: undefined reference to `HIDIOCGINPUT'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:915: brltty] Error 1
make[1]: Leaving directory '/home/halim/brltty/Programs'
make: *** [Makefile:49: all] Error 2

BR.
Halim



More information about the BRLTTY mailing list