On 2007/04/19 15:02, Antoine Jacoutot wrote: > On Thu, 19 Apr 2007, Stuart Henderson wrote: > >The livemedia commits break linking for vlc on amd64, -fPIC is needed. > >This fixes the build, but I'm not sure how to test whether live555 then > >works (and I don't understand when to use -fpic and when -fPIC, and > >it's not particularly easy to google for). > > Hmm, weird. > I cannot reproduce this here. > > # arch > OpenBSD.amd64 > > # pkg_info |grep vlc > vlc-0.8.6p4-no_web videolan client; multimedia player
ah, I am building the normal port version, not no_web. It's failing when building the plugin. /usr/bin/ld: /usr/local/live/UsageEnvironment/libUsageEnvironment.a: relocation R_X86_64_32S ca n not be used when making a shared object; recompile with -fPIC /usr/local/live/UsageEnvironment/libUsageEnvironment.a: could not read symbols: Bad value collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/ports/x11/vlc/w-vlc-0.8.6p4/vlc-0.8.6/mozilla (line 1440 of Makefile). [...] the whole log is here: http://spacehopper.org/openbsd/live-vlc-build.txt.gz