Bug 186 - FTBS - gigedit latest SVN 2358 on Debian testing
Summary: FTBS - gigedit latest SVN 2358 on Debian testing
Alias: None
Product: gigedit
Classification: Unclassified
Component: gigedit (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Assignee: Andreas Persson
Depends on:
Reported: 2012-08-04 18:05 CEST by J G Miller
Modified: 2013-05-31 18:26 CEST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description J G Miller 2012-08-04 18:05:36 CEST
gcc --version
gcc-4.7.real (Debian 4.7.1-2) 4.7.1

URL: https://svn.linuxsampler.org/svn/gigedit/trunk
Repository Root: https://svn.linuxsampler.org/svn
Repository UUID: d2c4447f-3961-4fff-bec3-96d84be9abe5
Revision: 2358
Node Kind: directory
Schedule: normal
Last Changed Author: persson
Last Changed Rev: 2344
Last Changed Date: 2012-04-29 18:15:45 +0200 (Sun, 29 Apr 2012)

/bin/sh ../../libtool --tag=CXX   --mode=link g++  -g -O2 -g -O2 -I/usr/local/include     -o gigedit main.o libgigedit.la -L/usr/local/lib/linuxsampler -llinuxsampler   
libtool: link: g++ -g -O2 -g -O2 -I/usr/local/include -o .libs/gigedit main.o  ./.libs/libgigedit.so -L/usr/local/lib/linuxsampler /usr/local/lib/linuxsampler/liblinuxsampler.so -pthread -Wl,-rpath -Wl,/usr/local/X11R6/lib/gigedit -Wl,-rpath -Wl,/usr/local/lib/linuxsampler
/usr/bin/ld.bfd.real: main.o: undefined reference to symbol '_ZN4sigc11signal_baseD2Ev'
/usr/bin/ld.bfd.real: note: '_ZN4sigc11signal_baseD2Ev' is defined in DSO /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libsigc-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [gigedit] Error 1
make[3]: Leaving directory `/srv/svn/gigedit/src/gigedit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/srv/svn/gigedit/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/svn/gigedit'

Thus -lsigc-2.0.so.0 needs to be added to the LDFLAGS variable.

One way of doing this is in the gigedit/Makefile.am, and although not rigorous in the patch below, solves the problem.

> else
> gigedit_LDFLAGS = -lsigc-2.0
Comment 1 Andreas Persson 2012-08-05 15:27:20 CEST
I made a little bit more ambitious fix. Please test if it solves the problem.
Comment 2 Christian Schoenebeck 2013-05-31 18:26:26 CEST
Hello J. G. Miller,

seems this bug was fixed in the meantime. Andreas asked you to test his fix on 2012-08-05 but there was no reply from your side. So I simply assume it is fixed now and closed this bug accordingly.

In case it still does not work, feel free to reopen the report.