On Mon, 2008-10-06 at 22:01 +0200, Richard wrote:
> Hi!
> I have the following error compiling today's HEAD cvs checkout :

> make[3]: entrant dans le répertoire « /usr/src/CVS/transcode/import »
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I.. -D_REENTRANT -DMOD_PATH=\"/usr/local/lib/transcode\" -I..
> -I../src -I/usr/local/include -Dattribute_deprecated= -O3
> -march=opteron -MT import_ffmpeg_la-import_ffmpeg.lo -MD -MP
> -MF .deps/import_ffmpeg_la-import_ffmpeg.Tpo -c -o
> import_ffmpeg_la-import_ffmpeg.lo `test -f 'import_ffmpeg.c' || echo
> './'`import_ffmpeg.c
> gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=
> \"/usr/local/lib/transcode\" -I.. -I../src -I/usr/local/include
> -Dattribute_deprecated= -O3 -march=opteron -MT
> import_ffmpeg_la-import_ffmpeg.lo -MD -MP
> -MF .deps/import_ffmpeg_la-import_ffmpeg.Tpo -c import_ffmpeg.c -fPIC
> -DPIC -o .libs/import_ffmpeg_la-import_ffmpeg.o
> import_ffmpeg.c: In function ‘import_ffmpeg_open’:
> import_ffmpeg.c:336: erreur: ‘FF_ERR_COMPLIANT’ undeclared (first use
> in this function)
> import_ffmpeg.c:336: erreur: (Each undeclared identifier is reported
> only once
> import_ffmpeg.c:336: erreur: for each function it appears in.)
> make[3]: *** [import_ffmpeg_la-import_ffmpeg.lo] Erreur 1
> make[3]: quittant le répertoire « /usr/src/CVS/transcode/import »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire « /usr/src/CVS/transcode/import »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /usr/src/CVS/transcode »
> make: *** [all] Erreur 2
> + [[ 2 != 0 ]]
> + exit 1

Duh, yet another stupid typo of mine. Fixed, thanks for reporting.

> I'm trying to get a working transcode with ImageMagick (I understood
> it was a moving target...) but if I remove in the Makefile all
> references to import_ffmpeg, it still fails afterward to compile with
> this :

Most likely it's another fault of mine.

> probe_im.c:(.text+0x13): undefined reference to `MagickWandGenesis'
> probe_im.c:(.text+0x18): undefined reference to `NewMagickWand'
> probe_im.c:(.text+0x31): undefined reference to `MagickReadImage'
> probe_im.c:(.text+0x3d): undefined reference to
> `MagickSetLastIterator'
> probe_im.c:(.text+0x48): undefined reference to `MagickGetImageWidth'
> probe_im.c:(.text+0x55): undefined reference to `MagickGetImageHeight'
> probe_im.c:(.text+0x85): undefined reference to `DestroyMagickWand'
> probe_im.c:(.text+0x8a): undefined reference to `MagickWandTerminus'
> probe_im.c:(.text+0xab): undefined reference to `MagickGetException'
> probe_im.c:(.text+0xd5): undefined reference to
> `MagickRelinquishMemory'
> collect2: ld returned 1 exit status
> make[1]: *** [tcprobe] Erreur 1
> make[1]: quittant le répertoire « /usr/src/CVS/transcode/import »
> make: *** [all-recursive] Erreur 1

This puzzles me a bit. I regulary build transcode HEAD with ImageMagick
support (opposed as previous typo bug, I'm stuck with an old ffmpeg
snapshot and I can't yet upgrade).

Please report
- distribution (name, version)
- ImageMagick (version, package or locally built?)
- config.log (attach it please)


> Is there another way than the im module to transcode a PNG serie to a
> video file?

First squash the bugs, then look for alternatives :)

Bests,

-- 
Francesco Romani // Ikitt
http://fromani.exit1.org  ::: transcode homepage
http://tcforge.berlios.de ::: transcode experimental forge

Reply via email to