Hi Mike the answer is : recompile with -fPIC put this option (-fPIC) in every Makefile of this project as a CFLAG . In german you find the docu http://www.pseudonym.org/schauen.html, than look for mjpeg on this page. CU Markus
-----Ursprüngliche Nachricht----- Von: Michael Steinhauser [mailto:mistr.rot@web.de] Gesendet am: Montag, 4. Oktober 2004 21:04 An: Mike.Philipp@passau.netsurf.de Cc: suse-amd64@suse.com Betreff: Re: [suse-amd64] mjpegtools
Mike Philipp wrote:
Hi All,
could anyone compile and link mjpegtools-1.6.2 on the AMD! I've tried it for three days now, but it doesn't work. Does anybody has a src.rpm or an already compiled x86_64 (with mpeg2enc)???
Thanx in advance Mike
Hi, I tried it too and asked at mjpeg-users list. Here are the postings: I tried to install mjpegtools 1.6.2 on Suse 9.1 x86_64. I ran configure with --enable-libsuffix=64 and got no errors. When I typed make, the following error was reportet: /snap
lib/x86_64-suse-linux/3.3.3/crtendS.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libmplex2-1.6.so.0 -o .libs/libmplex2-1.6.so.0.2.2 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64- suse-linux/bin/ld: ../utils/libmjpegutils.a(mjpeg_logging.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC ../utils/libmjpegutils.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libmplex2.la] Fehler 1 make[2]: Leaving directory `/SHARE/Linux/RPMS/SRC/mjpegtools-1.6.2/mplex' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/SHARE/Linux/RPMS/SRC/mjpegtools-1.6.2' make: *** [all] Fehler 2
Can anyone help?
the answer:
Hi,
On Fri, 2004-09-03 at 10:18, Michael Steinhauser wrote:
I tried to install mjpegtools 1.6.2 on Suse 9.1 x86_64.
[..]
../utils/libmjpegutils.a(mjpeg_logging.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC ../utils/libmjpegutils.a: could not read symbols: Bad value
This should be corrected in CVS for some time already.
Ronald
So i downloaded the latest CVS-version, did a ./configure --prefix=/usr --libdir=/usr/lib64 --enable-libsuffix=64 --sysconfdir=/etc --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64 --with-gnu-ld --without-libquicktime --with-gtk-prefix=/opt/gnome and it compiled with no errors. After a checkinstall, where i had to change some settings (version was there to often) i had a installable rpm. It installed without errors, but i did not try it till now.
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
Hi, Markus, thank you for the good tip. I tried similar things before, but it didn't work! Now, I have another problem. I've tried to compile the jpeg-mmx-stuff, and this fails with the following error: gcc -O2 -I. -c -o jcdctmgr.o jcdctmgr.c jcdctmgr.c: In function `simd_aligned_smallbuf': jcdctmgr.c:60: error: `SIMD_ALIGN' undeclared (first use in this function) jcdctmgr.c:60: error: (Each undeclared identifier is reported only once jcdctmgr.c:60: error: for each function it appears in.) make: *** [jcdctmgr.o] Error 1 An idea?? let me know CU Mike On Tue October 5 2004 09:09, Graf, Markus wrote:
Hi Mike
the answer is : recompile with -fPIC
put this option (-fPIC) in every Makefile of this project as a CFLAG . In german you find the docu http://www.pseudonym.org/schauen.html, than look for mjpeg on this page.
CU Markus
-----Ursprüngliche Nachricht----- Von: Michael Steinhauser [mailto:mistr.rot@web.de] Gesendet am: Montag, 4. Oktober 2004 21:04 An: Mike.Philipp@passau.netsurf.de Cc: suse-amd64@suse.com Betreff: Re: [suse-amd64] mjpegtools
Mike Philipp wrote:
Hi All,
could anyone compile and link mjpegtools-1.6.2 on the AMD! I've tried it for three days now, but it doesn't work. Does anybody has a src.rpm or an already compiled x86_64 (with mpeg2enc)???
Thanx in advance Mike
Hi, I tried it too and asked at mjpeg-users list. Here are the postings: I tried to install mjpegtools 1.6.2 on Suse 9.1 x86_64. I ran configure with --enable-libsuffix=64 and got no errors. When I typed make, the following error was reportet: /snap
lib/x86_64-suse-linux/3.3.3/crtendS.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libmplex2-1.6.so.0 -o .libs/libmplex2-1.6.so.0.2.2 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64- suse-linux/bin/ld: ../utils/libmjpegutils.a(mjpeg_logging.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC ../utils/libmjpegutils.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libmplex2.la] Fehler 1 make[2]: Leaving directory `/SHARE/Linux/RPMS/SRC/mjpegtools-1.6.2/mplex' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/SHARE/Linux/RPMS/SRC/mjpegtools-1.6.2' make: *** [all] Fehler 2
Can anyone help?
the answer:
Hi,
On Fri, 2004-09-03 at 10:18, Michael Steinhauser wrote:
I tried to install mjpegtools 1.6.2 on Suse 9.1 x86_64.
[..]
../utils/libmjpegutils.a(mjpeg_logging.o): relocation
R_X86_64_32 can
not be used when making a shared object; recompile with -fPIC ../utils/libmjpegutils.a: could not read symbols: Bad value
This should be corrected in CVS for some time already.
Ronald
So i downloaded the latest CVS-version, did a ./configure --prefix=/usr --libdir=/usr/lib64 --enable-libsuffix=64 --sysconfdir=/etc --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64 --with-gnu-ld --without-libquicktime --with-gtk-prefix=/opt/gnome and it compiled with no errors. After a checkinstall, where i had to change some settings (version was there to often) i had a installable rpm. It installed without errors, but i did not try it till now.
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
I'd like to burn my home made movies (DV) on DVD. That's why I installed kino, dvdauthor and the full mjpegtools package. Installing mjpegtools on my athlon64 3000 with 512Mb and two SATA disks in three different ways I noticed some extraordinary speed differences: 1) On my 64 bit SuSE 9.2 installation I compiled mjpegtools 1.6.2-54 (./ configure --libdir=/usr/lib64 CFLAGS=-fPIC, make, checkinstall). And YES, NASM is installed on my system. 2) On my 64 bit SuSE 9.2 installation I downloaded and installed mjpegtools 1.6.2-54.pm.0 x86_64 from packman (using YaST) 3) On my 32 bit SuSE 9.2 installation (same machine, just another disk) I downloaded and installed mjpegtools 1.6.2-54.pm.0 x86_64 from packman (using YaST) When encoding a piece of video (DV avi type 2 format) tot DVD format using Kino with the options " YUV denoise (fast)" and " mpeg2enc" I measured: Option 1: about 100 frames/minute (even slower than my PIII 600 Mhz) Option 2: about 200 frames/minute Option 3: about 650 frames/minute I know this is not a multimedia user list and I noticed some mmx-like optimalisations wouldn't work using 64-bit mode. But I still can't believe my athlon 64 hardly outperforms a pentium III system. I just like to know if anyone else had the same experience en found some way to gain speed when encoding video in 64 bit mode. Roel Vestjens
participants (3)
-
Graf, Markus
-
Mike Philipp
-
rgj.vestjens@freeler.nl