On Wed, 14 Sep 2005 22:55:27 -0600
Bill Brown <wbrown@accesscomm.ca> wrote:
> amd64-1:/usr/local/src/transcode-1.0.0# ls -al /usr/bin/gcc
> lrwxrwxrwx 1 root root 16 Sep 14 22:58 /usr/bin/gcc
> -> /usr/bin/gcc-3.3 amd64-1:/usr/local/src/transcode-1.0.0# dpkg -l |
> grep gcc ii gcc
> 3.3.5-3 The GNU C compiler
> ii gcc-3.3 3.3.6-9 The GNU
> C compiler
> ii gcc-3.3-base 3.3.6-9 The GNU
> Compiler Collection (base package)
> ii gcc-4.0-base 4.0.1-6 The GNU
> Compiler Collection (base package)
> ii libgcc1 4.0.1-6 GCC
> support library
>
> Thanks for the reply. Looks like I have a mixture of gcc packages.
>
> I removed the link, and it didn't make any difference, so I recreated
> it.
>
> Other ideas?
>
>
>
> Rodney D. Myers wrote:
>
> >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.**
/usr/bin/gcc is required. Just depends on which version it's linked to.
Why not download a copy of transcode, instead of compiling? It seems to
be in the debian system?
Other than that. I have no idea(s).
--
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:
pgpWGJfHFKpSg.pgp
Description: PGP signature