Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis Vorbis
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • VorbisVorbis
  • Issues
  • #1499

Closed
Open
Created Jan 28, 2009 by edgarreynaldo@edgarreynaldo

LibVorbis library build fails on Vista using MinGW 3.4.5 and MSYS (undefined references to ogg functions)

LibVorbis v1.2 won't build normally using MSYS and MinGW 3.4.5 on Vista using these steps :

./configure --prefix=/mingw
mingw32-make
mingw32-make install

It fails during mingw32-make because when the libvorbisfile library is being linked, it doesn't link against the libogg library.

I used a temporary hack to build all 3 vorbis libraries by setting the LIBS environment variable to -logg using "export LIBS=-logg". I don't know if the static version of ogg was the correct version to link against, but everything seems to be working properly. Using the LIBS variable however is incorrect, and in one place it linked against libogg twice using that method. (No harm done, but incorrect anyway).

I've attached a text build log of the failed process in it's entirety (scroll down to the undefined references to ogg functions near the end).

( BuildLog_LibVORBIS_failure.txt )

You can also see a thread I made about this on the Allegro forums at : [http://www.allegro.cc/forums/thread/598976]

I believe I managed to track down the source of the offending compilation line in the generated libtool file in the main libvorbis directory, where the symbol archive_cmds is being assigned its value. The $deplibs symbol in that line should probably have the value -logg or -logg.dll at this point, but I don't believe it has that value during the assignment.

I attached a second text file that shows this, as well as showing that the failed command from the build process works when -logg is added to it.

(LibVORBIS_Compile_Bug_Notes.txt)

Thanks for taking a look, and here's looking forward to a working MinGW build of libvorbis!

Edgar

Assignee
Assign to
Time tracking