Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Vorbis
Vorbis
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • VorbisVorbis
  • Issues
  • #1974

Closed
Open
Created Sep 13, 2013 by heirecka@heirecka

libvorbis-1.3.3 fails to link its tests

When building the tests for libvorbis-1.3.3 linking fails with the error below. With the attached patch everything works fine.

make[1]: Entering directory `/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/C/64/test'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test -I.. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/include     -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H -c /var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test/util.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test -I.. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/include     -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H -c /var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test/write_read.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test -I.. -I/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/include     -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H -c /var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/libvorbis-1.3.3/test/test.c
make  test
make[2]: Entering directory `/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/C/64/test'
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H   -o test util.o write_read.o test.o ../lib/libvorbisenc.la ../lib/libvorbis.la -logg  
Dequant test 1... OK
Dequant test 2... OK
Dequant test 3... OK
Dequant test 4... OK
Dequant test 5... OK

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H   -o test util.o write_read.o test.o ../lib/libvorbisenc.la ../lib/libvorbis.la -logg  
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H -o .libs/test util.o write_read.o test.o  ../lib/.libs/libvorbisenc.so ../lib/.libs/libvorbis.so /usr/lib64/libogg.so
make[2]: Leaving directory `/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/C/64/test'
util.o:util.c:function gen_windowed_sine: error: undefined reference to 'sin'
util.o:util.c:function gen_windowed_sine: error: undefined reference to 'cos'
collect2: error: ld returned 1 exit status
make[2]: *** [test] Error 1
make[1]: *** [check-am] Error 2
make[1]: *** Waiting for unfinished jobs....

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =media-libs/libvorbis-1.3.3-r1:0::media --destination installed --replacing =media-libs/libvorbis-1.3.3-r1:0::installed --x-of-y 1 of 1:
  * When installing 'media-libs/libvorbis-1.3.3-r1:0::media' replacing { 'media-libs/libvorbis-1.3.3-r1:0::installed' }:
  * When running an ebuild command on 'media-libs/libvorbis-1.3.3-r1:0::media':
  * Install failed for 'media-libs/libvorbis-1.3.3-r1:0::media' (paludis::ActionFailedError)

libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -march=native -pipe -O2 -floop-block -floop-interchange -floop-strip-mine -DUSE_MEMORY_H -o .libs/test util.o write_read.o test.o  ../lib/.libs/libvorbisenc.so ../lib/.libs/libvorbis.so /usr/lib64/libogg.so
make[1]: Leaving directory `/var/tmp/paludis/build/media-libs-libvorbis-1.3.3-r1/work/C/64/test'
util.o:util.c:function gen_windowed_sine: error: undefined reference to 'sin'
util.o:util.c:function gen_windowed_sine: error: undefined reference to 'cos'
collect2: error: ld returned 1 exit status
make[1]: *** [test] Error 1
make: *** [check-recursive] Error 1
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None