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