On Wed, 14 Sep 2005 22:24:49 -0600 Bill Brown <wbrown@accesscomm.ca> wrote: > Having some trouble trying to compile the transcode program > (transcode-1.0.0 - http://www.transcoding.org/cgi-bin/transcode) so > that I can then compile the tovid program (tovid-0.21 - > http://tovid.sourceforge.net/) for media conversion. > > After installing numerous packages via apt-get, I also had to install > jpeg-6b, lame-3.96.1 via source and then compile. I also had to > install ffmpeg. At this point, I was able to get > transcode ./configure d. However, it won't make. I uninstalled the > apt-get packaage and reinstalled the source and configured with the > --enable-shared, as per > http://www.transcoding.org/cgi-bin/transcode?Building_Transcode > > However, I still get stopped when I try and make. Here is the error: > > make[3]: Entering directory > `/usr/local/src/transcode-1.0.0/import/v4l' make[3]: Nothing to be > done for `all'. make[3]: Leaving directory > `/usr/local/src/transcode-1.0.0/import/v4l' make[3]: Entering > directory `/usr/local/src/transcode-1.0.0/import' /bin/sh ../libtool > --mode=link gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -g -O2 -o import_ffmpeg.la > -rpath /usr/local/lib/transcode -module -avoid-version > import_ffmpeg.lo -L/usr/lib -lavcodec -lm -lz -lpthread -lm -lz -ldl > gcc -shared .libs/import_ffmpeg.o -ldl -lz -lm -lpthread -lavcodec > -L/usr/lib -Wl,-soname -Wl,import_ffmpeg.so > -o .libs/import_ffmpeg.so /usr/bin/ld: /usr/lib/libavcodec.a(utils.o): > relocation R_X86_64_32S against `a local symbol' can not be used when > making a shared object; recompile with -fPIC /usr/lib/libavcodec.a: > could not read symbols: Bad value collect2: ld returned 1 exit status > make[3]: *** [import_ffmpeg.la] Error 1 > make[3]: Leaving directory `/usr/local/src/transcode-1.0.0/import' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/src/transcode-1.0.0/import' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/transcode-1.0.0' > make: *** [all] Error 2 > amd64-1:/usr/local/src/transcode-1.0.0# > > I tried adding fPIC to the line: > CFLAGS = -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -g -O2 > in Makefile, but no change. > > Thanks in advance for any help... > > Bill > Before a hardware problem, I had tovid working perfectly. Which gcc are you using? 3.** or 4.00 ls -la /usr/bin/gcc If you are using 4.0, remove and symlink to 3.** -- Rodney D. Myers <rdmyers.42@gmail.com> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759
Attachment:
pgpnA2upSD4Au.pgp
Description: PGP signature