Hej !

The compile is not fatal if you download the jpeg source
from http://www.ijg.org/ and copy the missing include files into some
"public" include directory ... but this doesn't solve the original
problem, of course.

about the compile error in jpeg-mmx:
Try removing everything inside the #ifdef HAVE_MMX_INTEL_MNEMONICS
statement; something is odd here, it seems like the assembler jump label
is already defined, but I couldn't find any source of error in there ...
anyone who has had similar problems ? :-)

Servus,
  Gernot
---------- Forwarded message ----------
Date: Sat, 2 Aug 2003 21:52:27 +1000
From: Raena Lea-Shannon <[EMAIL PROTECTED]>
To: Gernot Ziegler <[EMAIL PROTECTED]>
Subject: Re: mjpegtools compile problem

Hi again. I sorted out Kmail issues so I have tried again compiling Support
Librararies for mjpegtools.It is still not working :-(

Here is the complete story:
(BTW I did do an uninstall and make clean of my previous install of jpeg-mmx)

I unpacked Jpeg-mmx in usr/local/src and did ./configure and make and got this
error :

[EMAIL PROTECTED]:/usr/local/src/jpeg-mmx-0.1.4> ./configure
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
jconfig.h is unchanged
[EMAIL PROTECTED]:/usr/local/src/jpeg-mmx-0.1.4> make
gcc -O6  -I.   -c -o jdapimin.o jdapimin.c
/tmp/ccbzo1F7.s: Assembler messages:
/tmp/ccbzo1F7.s:619: Error: symbol `NOT_SUPPORTED' is already defined
make: *** [jdapimin.o] Error 1
[EMAIL PROTECTED]:/usr/local/src/jpeg-mmx-0.1.4> make
gcc -O6  -I.   -c -o jdapimin.o jdapimin.c
/tmp/ccDKLjs4.s: Assembler messages:
/tmp/ccDKLjs4.s:619: Error: symbol `NOT_SUPPORTED' is already defined
make: *** [jdapimin.o] Error 1
[EMAIL PROTECTED]:/usr/local/src/jpeg-mmx-0.1.4>

I ignored this and wen t ahead with compiling libmovtar to see is this error
was fatal. I think it was fatal:

[EMAIL PROTECTED]:~/DownloadApps/libmovtar-0.1.3> ./configure
--with-jpeg-mmx=/usr/local/src/jpeg-mmx-0.1.4
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for sdl-config... /usr/bin/sdl-config
checking for sdl-config... (cached) /usr/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
Activating Intel MMX !
No JPEG-MMX lib found
checking for jpeg_start_compress in -ljpeg-mmx... no
checking for jpeg_start_compress in -ljpeg... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rtjpeg/Makefile
config.status: creating movtar-config

 libmovtar 0.1.3 build configuration :

    - Build movtar_play     : yes
    - JPEG input in      : yes
    - RTJPEG support      : yes

[EMAIL PROTECTED]:~/DownloadApps/libmovtar-0.1.3> make
Making all in rtjpeg
make[1]: Entering directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
source='pnm2rtj.c' object='pnm2rtj.o' libtool=no \
depfile='.deps/pnm2rtj.Po' tmpdepfile='.deps/pnm2rtj.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -g -c `test -f pnm2rtj.c || echo
'./'`pnm2rtj.c
source='RTjpeg.c' object='RTjpeg.o' libtool=no \
depfile='.deps/RTjpeg.Po' tmpdepfile='.deps/RTjpeg.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -g -c `test -f RTjpeg.c || echo './'`RTjpeg.c
source='format.c' object='format.o' libtool=no \
depfile='.deps/format.Po' tmpdepfile='.deps/format.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -g -c `test -f format.c || echo './'`format.c
gcc  -g -O2 -DRTJPEG -g   -o pnm2rtj  pnm2rtj.o RTjpeg.o format.o -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread  -ljpeg
source='rtjshow.c' object='rtjshow.o' libtool=no \
depfile='.deps/rtjshow.Po' tmpdepfile='.deps/rtjshow.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -g -c `test -f rtjshow.c || echo
'./'`rtjshow.c
gcc  -g -O2 -DRTJPEG -g   -o rtjshow  rtjshow.o RTjpeg.o format.o -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread  -ljpeg
make[1]: Leaving directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
make[1]: Entering directory `/home/raena/DownloadApps/libmovtar-0.1.3'
source='movtar.c' object='movtar.o' libtool=no \
depfile='.deps/movtar.Po' tmpdepfile='.deps/movtar.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -c `test -f movtar.c || echo './'`movtar.c
source='tar.c' object='tar.o' libtool=no \
depfile='.deps/tar.Po' tmpdepfile='.deps/tar.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -c `test -f tar.c || echo './'`tar.c
rm -f libmovtar.a
ar cru libmovtar.a movtar.o tar.o
ranlib libmovtar.a
source='movtar_play.c' object='movtar_play.o' libtool=no \
depfile='.deps/movtar_play.Po' tmpdepfile='.deps/movtar_play.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE=\"libmovtar\" -DVERSION=\"0.1.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DRESULTS=\"libmovtar.a\ movtar_split\
movtar_unify\ movtar_yuv422\ movtar_index\ movtar_setinfo\"  -I. -I.
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -Irtjpeg -I/usr/include/SDL
-D_REENTRANT    -g -O2 -DRTJPEG -c `test -f movtar_play.c || echo
'./'`movtar_play.c
movtar_play.c:17:22: jinclude.h: No such file or directory
In file included from movtar_play.c:19:
/usr/include/jpeglib.h:1092:65: jpegint.h: No such file or directory
movtar_play.c:144: warning: integer constant is too large for "long" type
movtar_play.c:145: warning: integer constant is too large for "long" type
movtar_play.c:146: warning: integer constant is too large for "long" type
movtar_play.c:266: warning: integer constant is too large for "long" type
movtar_play.c:267: warning: integer constant is too large for "long" type
movtar_play.c:268: warning: integer constant is too large for "long" type
movtar_play.c: In function `readpicfrommem':
movtar_play.c:582: error: dereferencing pointer to incomplete type
make[1]: *** [movtar_play.o] Error 1
make[1]: Leaving directory `/home/raena/DownloadApps/libmovtar-0.1.3'
make: *** [all-recursive] Error 1
[EMAIL PROTECTED]:~/DownloadApps/libmovtar-0.1.3> make install
Making install in rtjpeg
make[1]: Entering directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
make[2]: Entering directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
/bin/sh ../mkinstalldirs /usr/local/bin
  /usr/bin/install -c pnm2rtj /usr/local/bin/pnm2rtj
/usr/bin/install: cannot remove `/usr/local/bin/pnm2rtj': Permission denied
  /usr/bin/install -c rtjshow /usr/local/bin/rtjshow
/usr/bin/install: cannot remove `/usr/local/bin/rtjshow': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/raena/DownloadApps/libmovtar-0.1.3/rtjpeg'
make: *** [install-recursive] Error 1
[EMAIL PROTECTED]:~/DownloadApps/libmovtar-0.1.3>



> Nope :-)
> I meant that in configure.in, libmovtar expects jpeg-mmx to be in some
> predefined dirs, e.g. /usr/local/src/jpeg-mmx
> try to put jpeg-mmx there instead, and it may detect it ...
>
> > If so then do you mean for me to put the jpeg-mmx tarball in there and
> > unpack and config and make? This is does not seem right. The INSTALL
> > instructions say:
> >
> > First, install JPEG-MMX, simply unpack, './configure' and 'make'.
> > Do *not* run 'make install'! Next, unpack libmovtar and run
> > './configure --with-jpeg-mmx=/path/to/jpeg-mmx, where /path/to/jpeg-mmx
> > is the directory where you just compiled JPEG-MMX. Next, run 'make'
> > and 'make install'. Lastly, unpack quicktime4linux and run
> > './configure' and 'make'. Do *not* run 'make install'!
> >
> >
> >
> > --
> > Raena Lea-Shannon
>
> Servus,
>   Gernot

-- 
Raena Lea-Shannon


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to