OK, so I downloaded jpeg-mmx-0.1.4.tar.gz, untarred into 
/tmp/BUZ/jpeg-mmx on my system, did a configure and make
of jpeg-mmx in that directory (but did *not* install), 
then went back to the /tmp/BUZ/libmovtar directory and 
did the following:

# make clean

# ./configure --with-jpeg-mmx=../jpeg-mmx

(Output looks OK, including "Activating Intel MMX !")

# make

(everything looks OK, until ....
gcc  -g -O2 -DRTJPEG -g   -o pnm2rtj  pnm2rtj.o RTjpeg.o format.o -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread -L ../jpeg-mmx   -ljpeg-mmx -L ../jpeg-mmx
/usr/bin/ld: cannot find -ljpeg-mmx
collect2: ld returned 1 exit status
make[1]: *** [pnm2rtj] Error 1
make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3/rtjpeg'
make: *** [all-recursive] Error 1

I am not a software developer, so I don't understand this very
well, but .... the linker is not finding the jpeg-mmx librar(ies)
which are in /tmp/BUZ/jpeg-mmx???? Is that the problem? How do I
fix this?

Thx, Randy

Hallo


> Attempting to compile libmovtar-0.1.3 on RH8.0 system. Configure
> looks good but the make fails as below. Ideas appreciated.

[...]

> movtar_play.c:17:22: jinclude.h: No such file or directory
> In file included from movtar_play.c:19:
> /usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory
> movtar_play.c: In function `readpicfrommem':
> movtar_play.c:582: dereferencing pointer to incomplete type
> make[1]: *** [movtar_play.o] Error 1
> make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3'
> make: *** [all-recursive] Error 1

It seems that libmovtar need the jpeg-mmx. You should download the
jpeg-mmx libary from the mjpeg file area on SF, compile it and do NOT
install it.
When running the libmovtar configure again. You will very likely have to
add manually the path to the jpeg-mmx lib. 

BTW: When you compile the mjpeg tools you might also need to add the
path to the jpeg-mmx.

BTW2: the jpeg-mmx is no replacement for the libjpeg.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard






-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to