I tried compiling ffmpeg with --enable-pic but still I am getting libavcodec.a(dsputil_mmx.o): relocation R_X86_64_PC32 against `ff_pb_80' can not be used when making a shared object; recompile with -fPIC
Ankuj Gupta On Fri, Aug 12, 2011 at 10:10 AM, Ankuj Gupta <[email protected]> wrote: > I was able to configure it but when compiling linphone I am getting > following error > > libavcodec.a(allcodecs.o): relocation R_X86_64_32 against > `ff_a64multi_encoder' can not be used when making a shared object; > recompile with -fPIC > > Ankuj > > > On Thu, Aug 11, 2011 at 7:58 PM, Philip Anil-QBW348 > <[email protected]> wrote: >> Which linux are you using? >> On ubuntu, when I got such errors, I went into Synaptic package manager >> and would type for example, libavcodec-dev >> And install the library. >> Anil >> >> -----Original Message----- >> From: >> linphone-users-bounces+anil.philip=motorolasolutions....@nongnu.org >> [mailto:linphone-users-bounces+anil.philip=motorolasolutions.com@nongnu. >> org] On Behalf Of Ankuj Gupta >> Sent: Thursday, August 11, 2011 5:20 AM >> To: [email protected] >> Subject: [Linphone-users] Error while configuring linphone with video >> enable >> >> Hi >> >> I am trying to make linphone for linux pc with video support enabled. >> But the configure command is giving me error.The command I gave is >> >> ./configure --prefix=/data/bgb290/pankajb/ankuj/linphone/libraries >> --with-osip=/data/bgb290/pankajb/ankuj/linphone/libraries/ >> --enable-gtk_ui=no --enable-video=yes >> --with-ffmepg=/data/bgb290/pankajb/ankuj/linphone/libraries/lib >> SPEEX_CFLAGS="-I/data/bgb290/pankajb/ankuj/linphone/libraries/include/" >> SPEEX_LIBS="-L/data/bgb290/pankajb/ankuj/linphone/libraries/lib/ >> -lspeex -lspeexdsp" >> LIBS="-L/data/bgb290/pankajb/ankuj/linphone/libraries/lib/ -lavcodec" >> CFLAGS="-I/data/bgb290/pankajb/ankuj/linphone/libraries/include/" >> >> I get following error >> >> checking for FFMPEG... no >> configure: error: Could not find libavcodec (from ffmpeg) headers and >> library. This is mandatory for video support >> configure: error: ./configure failed for mediastreamer2 >> >> If I disable video support I have been able to run linphone without any >> issues. >> >> Regards >> Ankuj Gupta >> >> _______________________________________________ >> Linphone-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/linphone-users >> >> _______________________________________________ >> Linphone-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/linphone-users >> > _______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
