[BRLTTY] brlapi

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Oct 31 21:45:02 EDT 2018


Hello,

mattias jonsson, le mer. 31 oct. 2018 14:05:39 +0100, a ecrit:
> cc -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/local/include/p11-kit-1 -I/usr/local/include/libpng16 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lbrlapi
> /usr/local/bin/ld: /lib/../lib64/libbrlapi.so: unknown type [0x13] section `.relr.dyn'
> /usr/local/bin/ld: skipping incompatible /lib/../lib64/libbrlapi.so when searching for -lbrlapi

So there is an incompatibility here.

> configure:9196: gcc -o conftest -g -O2 -std=gnu99 -Wall -Werror=format-security   -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE   -Wl,-export-dynamic conftest.c -ltinfo  -lncursesw -lpthread -liconv -lsupc++  >&5
> /usr/local/bin/ld: /lib64/libtinfo.so.5: unknown type [0x13] section `.relr.dyn'

Which appears here as well.

It seems you are using cross-compilation? You need to make sure what is
exactly happening actually: does it properly build a 64bit binary etc.
Perhaps you can for instance run

file /lib64/libbrlapi.so* /lib64/libtinfo.so*

I guess you are actually making brltty use a 32bit compiler, and you
need to

export CC="gcc -m64"

before running brltty's configure.

Samuel


More information about the BRLTTY mailing list