[code] [textadept] Linker problem: undefined references

From: Joshua Krämer <joshua.kraemer.att.gmail.com>
Date: Thu, 14 Aug 2014 18:17:09 +0200

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)

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

Kind regards,
Joshua

-- 
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:17:09 EDT

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