On Wed, Jun 06, 2018 at 07:39:42PM +0200, Sven Joachim wrote: > On 2018-06-05 21:43 +0200, Sven Joachim wrote: ... > >> | > >> /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/libncurses.a(lib_mouse.o): > >> In function `mouse_activate': > >> | (.text+0x1032): undefined reference to `gpm_fd' > >> | collect2: error: ld returned 1 exit status > >> `---- > >> > >> Adding -lgpm works around that, but neither the pkgconfig files nor > >> ncurses6-config make any mention of -lgpm in the configuration we use > >> for the static libraries, so I guess it is not intended to be necessary. > >> > >> In stretch linking the above program without -lgpm works, not sure when > >> exactly that broke. > > > > Further investigation revealed that it worked in libncurses5-dev > > versions up to 6.1-1, but broke with the switch to ABI 6 in > > 6.1+20180210-1. > > More precisely, it happens since we configure the libraries with > --disable-wattr-macros[1]. If I remove that option or configure the > static libraries with --enable-wattr-macros, the problem disappears. > Still have not figured out why that is the case, though.
nor I, offhand (I'll have to set up a configuration to see the issue). Given the report, I'd expect something amiss in the configure script to handle the case where I'd like libdl to load gpm (but don't know why that would be related to wattr macros...) -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature