Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580992 - media-libs/adplug-2.2.1 - ../src/.libs/libadplug.so: undefined reference to `OPL_KEYON'
Summary: media-libs/adplug-2.2.1 - ../src/.libs/libadplug.so: undefined reference to `...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on: 659668
Blocks:
  Show dependency tree
 
Reported: 2016-04-24 00:02 UTC by Joe Sapp (RETIRED)
Modified: 2018-07-26 06:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,90.29 KB, text/plain)
2016-04-24 00:02 UTC, Joe Sapp (RETIRED)
Details
emerge --info (emerge-info,19.46 KB, text/plain)
2016-04-24 00:05 UTC, Joe Sapp (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Sapp (RETIRED) gentoo-dev 2016-04-24 00:02:31 UTC
Created attachment 431748 [details]
build.log

media-libs/adplug-2.2.1 fails to build during linking with some undefined references:

/bin/sh ../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -march=native -pipe ../src/.libs/libadplug.la -lbinio  -Wl,-O1 -Wl,--as-needed -o adplugdb adplugdb.o  -lstdc++
libtool: link: x86_64-pc-linux-gnu-g++ -march=native -pipe -Wl,-O1 -Wl,--as-needed -o .libs/adplugdb adplugdb.o  ../src/.libs/libadplug.so -lbinio -lstdc++
../src/.libs/libadplug.so: undefined reference to `OPL_KEYON'
../src/.libs/libadplug.so: undefined reference to `set_sl_rr'
../src/.libs/libadplug.so: undefined reference to `CSMKeyControll'
../src/.libs/libadplug.so: undefined reference to `set_ksl_tl'
../src/.libs/libadplug.so: undefined reference to `OPL_STATUS_RESET'
../src/.libs/libadplug.so: undefined reference to `set_mul'
../src/.libs/libadplug.so: undefined reference to `set_ar_dr'
../src/.libs/libadplug.so: undefined reference to `OPL_STATUS_SET'
../src/.libs/libadplug.so: undefined reference to `CALC_FCSLOT'
../src/.libs/libadplug.so: undefined reference to `OPL_STATUSMASK_SET'
../src/.libs/libadplug.so: undefined reference to `OPL_CALC_RH'
../src/.libs/libadplug.so: undefined reference to `OPL_KEYOFF'
../src/.libs/libadplug.so: undefined reference to `OPL_CALC_CH'
../src/.libs/libadplug.so: undefined reference to `Limit'
collect2: error: ld returned 1 exit status
Makefile:286: recipe for target 'adplugdb' failed
Comment 1 Joe Sapp (RETIRED) gentoo-dev 2016-04-24 00:05:19 UTC
Created attachment 431750 [details]
emerge --info
Comment 2 Felix Janda 2016-04-24 09:34:45 UTC
Does it compile with CFLAGS=-fgnu89-inline ?
Comment 3 Joe Sapp (RETIRED) gentoo-dev 2016-06-10 02:29:55 UTC
(In reply to Felix Janda from comment #2)
> Does it compile with CFLAGS=-fgnu89-inline ?

Yes, it compiles and links successfully with these CFLAGS.
Comment 4 Larry the Git Cow gentoo-dev 2017-11-20 20:27:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1713780be34c291036483fc06dd67a1ed7c4ac39

commit 1713780be34c291036483fc06dd67a1ed7c4ac39
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2017-11-20 20:25:46 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-11-20 20:27:15 +0000

    media-libs/adplug: Version bump to 2.3
    
    Bug: https://bugs.gentoo.org/509660
    Bug: https://bugs.gentoo.org/580992
    Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-libs/adplug/Manifest          |  1 +
 media-libs/adplug/adplug-2.3.ebuild | 41 +++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)}
Comment 5 Larry the Git Cow gentoo-dev 2018-07-26 06:20:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57736f8f9e67fbdabd1e6bfe7d8392b0cfd8ff37

commit 57736f8f9e67fbdabd1e6bfe7d8392b0cfd8ff37
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-07-26 05:48:34 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-07-26 06:20:31 +0000

    media-libs/adplug: Remove old
    
    Closes: https://bugs.gentoo.org/509660
    Closes: https://bugs.gentoo.org/580992
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/adplug/Manifest            |  1 -
 media-libs/adplug/adplug-2.2.1.ebuild | 28 ----------------------------
 2 files changed, 29 deletions(-)