Re: [code] [textadept] Linker problem: undefined references

From: Mitchell <m.att.foicica.com>
Date: Thu, 14 Aug 2014 12:23:54 -0400 (Eastern Daylight Time)

Hi Joshua,

On Thu, 14 Aug 2014, Joshua Krmer wrote:

> Hi all,
>
> to test the newest commits, I wanted to compile textadept-curses
> myself (on OpenSUSE 13.1). The curses section in the Makefile seems to
> be incomplete, "make curses" works only after adding the following to
> the Makefile:
>
> CURSES_LIBS = -lncursesw $(shell pkg-config --libs glib-2.0)
> CFLAGS = $(shell pkg-config --cflags glib-2.0)

The terminal version does not require glib. This should not be needed.

> However, I still get the following linker errors:
>
> textadept-curses.o: In function `main':
> textadept.c:(.text+0x5fc9): undefined reference to `lspawn_pushfds'
> textadept.c:(.text+0x6031): undefined reference to `lspawn_readfds'
> textadept.c:(.text+0x60c3): undefined reference to `lspawn_pushfds'
> collect2: error: ld returned 1 exit status

I ran into this yesterday and the problem is that when you run `make
deps` with latest Textadept hg, it pulls in an archived version of lspawn,
which is outdated. You'll need to run `make deps NIGHTLY=1` to pull the
latest lspawn.

I hope that helps.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 14 Aug 2014 - 12:23:54 EDT

This archive was generated by hypermail 2.2.0 : Fri 15 Aug 2014 - 06:28:11 EDT