On Wed, 27 Dec 2017, Riccardo (Jack) Lucchetti wrote:
On Tue, 26 Dec 2017, Allin Cottrell wrote:
> On Tue, 26 Dec 2017, Ignacio Diaz-Emparanza wrote:
>
>> Hi, I am obtaining this errors in trying to build gretl
>>
>> "Makefile:96: fallo en las instrucciones para el objetivo
'gretlcli'
>> make[1]: se sale del directorio '/home/ignacio/gretlcomp/gretl/cli'
>> Makefile:64: fallo en las instrucciones para el objetivo 'cli'
>> ../lib/.libs/libgretl-1.0.so: undefined reference to `shm_unlink'
>> ../lib/.libs/libgretl-1.0.so: undefined reference to `shm_open'
>> collect2: error: ld returned 1 exit status"
>>
>> Do you know why?
>
> Ah, looks like we need to add "-lrt" to the linker line for some systems.
> Is this on Ubuntu, Ignacio?
Happening on Debian too.
OK, I've modified configure.ac accordingly. Please see if this is
now working OK.
Allin