Re: [LAU] freewheelin on arch

From: Brendan Jones <brendan.jones.it@email-addr-hidden>
Date: Thu Mar 15 2012 - 20:08:25 EET

On 03/15/2012 06:49 PM, Atte André Jensen wrote:
> Hi
>
> I'm trying to build freewheelin on arch, but fails like this (tried both
> the src download, and the two version sín aur):
>
> g++ -g -O2 -g -O2 -I. -g -Wall -Wno-non-virtual-dtor -D_REENTRANT
> -DPTHREADS -DNDEBUG -DVERSION=\"0.6\"
> -DFWEELIN_DATADIR=\"/usr/local/share/fweelin\"
> -DADDON_DIR=\"/usr/local/lib/jack\" -I/usr/include/freetype2
> -I/usr/include/libxml2 -funroll-loops -finline-functions
> -fomit-frame-pointer -ffast-math -fexpensive-optimizations
> -fstrict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2
> -O9 -g -O2 -o fweelin elastin.o fweelin.o fweelin_datatypes.o
> fweelin_event.o fweelin_config.o fweelin_browser.o fweelin_audioio.o
> fweelin_sdlio.o fweelin_midiio.o fweelin_videoio.o fweelin_core.o
> fweelin_mem.o fweelin_block.o fweelin_core_dsp.o fweelin_fluidsynth.o
> -lSM -lICE -L/usr/X11R6/lib -lX11 -lsndfile -lvorbisenc -lvorbisfile
> -lvorbis -ljack -lasound -lpthread -lm -lxml2 -lSDL_ttf -lSDL_gfx
> -lfreetype -ldl -lgnutls-openssl -lfluidsynth
> /usr/bin/ld: fweelin_block.o: undefined reference to symbol
> 'ogg_stream_flush'
> /usr/bin/ld: note: 'ogg_stream_flush' is defined in DSO
> /usr/lib/libogg.so.0 so try adding it to the linker command line
> /usr/lib/libogg.so.0: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [fweelin] Error 1
> make[1]: Leaving directory
> `/home/atte/software/freewheelin/fweelin-0.6/src'
> make: *** [all-recursive] Error 1
>
> Seems I should "try adding [libogg.so.0] to the linker command line",
> but how exactly do I do that?
>
> NB: I'm aware that freewheelin is abandonware, but I'm more familiar
> with it and it seems more to-the-point than sooperlooper...
>
Just add -logg to the LIBS variable in the configure.ac and rerun
./configure - repeat for any other modules where you get this error.
There is an explanation that applies equally here [1].

[1] http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Mar 15 20:15:02 2012

This archive was generated by hypermail 2.1.8 : Thu Mar 15 2012 - 20:15:02 EET