Newsgroup: it.comp.os.linux.iniziare
Titolo: slack 9.1 e compilazione mjpegtools

ho bisogno di compilare questo pacchetto ma mi da errore in compilazione e
non capisco dove sta il problema dato che le dipendenze sono (o meglio
dovrebbero) tutte soddisfatte, per lo meno quelle marcate "required" sul
file INSTALL. Vi posto l'output finale del ./configure (se dovesse essere
di auito potrei postare l'output completo):
MJPEG tools 1.6.1.92 build configuration :
    - X86 Optimizations:
      - MMX/3DNow!/SSE enabled      : true
      - cmov support enabled        : true
****************************************************************************
* NOTE:                                                                    *
*   The resultant binaries will ***NOT*** run on a K6 or Pentium CPU       *
****************************************************************************
    - video4linux recording/playback: true
    - software MJPEG playback       : true
    - MPEG Z/Alpha                  : false
    - Quicktime playback/recording  : false
    - PNG input support             : true
    - AVI MJPEG playback/recording  : true (always)
    - libDV (digital video) support : false
    - libDV PAL YV12 read support   : false
    - Gtk+ support for glav         : true
    - glibc support for >2GB files  : true
e di seguito vi posto l'errore in fase di compilazione:
gcc -mcpu=i686 -march=i686 -g -O2 -Wall -Wunused -o .libs/lavplay
lavplay.o -Wl,-rpath -Wl,/usr/lib  ../utils/libmjpegutils.a
./.libs/liblavplay.so ./.libs/liblavjpeg.so ./.libs/liblavfile.so -ljpeg
-L/usr/lib /usr/lib/libSDL.so -lm -ldl -lasound -L/usr/X11R6/lib -lXext
-lpthread -lX11 -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld:
cannot find -lasound collect2: ld returned 1 exit status
make[2]: *** [lavplay] Error 1
make[2]: Leaving directory `/usr/local/src/mjpegtools-1.6.1.92/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mjpegtools-1.6.1.92' make: ***
[all] Error 2
ringrazio in anticipo!
stefano

 cannot find -lasound collect2: ld returned 1 exit status
Credo che ti manchi alsa (e/o i pacchetti devel).
Ciao.
-- 
*** Linux user # 198661 --- ICQ 33500725 ***
***  Home  
http://web.tiscali.it/kailed
  ***
       ***  Powered by SuSeLinux  ***

 Ciao.
Hai ragione! effettivamente avevo disistallato i pacchetti alsa in quanto
non uso quie drivers! come hai fatto a capirlo???
ti ringrazio ancora tantissimo
stefano

dato che ci sono ti propino un'altra cosa che per me resta un mistero:
ho compilato transcode 0.6.11 e sempre in fase di compilazione escono
fuori errori mai visti... la cosa piu' strana e' che ho installato slack
su un altro hd (stessa installazione ovviamente) e la compilazione va a
buon fine.... ti posto l'inizio della parte in cui secondo me comincia
l'errore e la fine (non tutto perche' e' abbastanza lunghetto da leggere
ma se puo' servire non ci sono prob)
g++ -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 
-I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src
-I./../avilib -I./../libvo -I/usr/include -I/usr/local/include
-I/usr/local/include/avifile-0.7 -I/usr/include/libxml2 -I/usr/include
-I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include
-I/usr/local/include -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -MT af6_decore.lo -MD -MP -MF .deps/af6_decore.Tpo
-c af6_decore.cpp  -fPIC -DPIC -o .libs/af6_decore.o af6_decore.cpp:35:36:
avifile-0.7/avm_fourcc.h: No such file or directory af6_decore.cpp:36:33:
avifile-0.7/avifile.h: No such file or directory af6_decore.cpp:37:31:
avifile-0.7/image.h: No such file or directory af6_decore.cpp:38:33:
avifile-0.7/aviplay.h: No such file or directory af6_decore.cpp:39:33:
avifile-0.7/cpuinfo.h: No such file or directory af6_decore.cpp:40:31:
avifile-0.7/utils.h: No such file or directory af6_decore.cpp:41:33:
avifile-0.7/version.h: No such file or directory af6_decore.cpp:42:34:
avifile-0.7/renderer.h: No such file or directory af6_decore.cpp:43:34:
avifile-0.7/creators.h: No such file or directory af6_decore.cpp:59:
namespace `Creators' undeclared af6_decore.cpp: In function `void
af6_decore(info_t*)': af6_decore.cpp:78: `IAviReadStream' undeclared
(first use this function) af6_decore.cpp:78: (Each undeclared identifier
is reported only once for each
   function it appears in.)
af6_decore.cpp:78: `vrs' undeclared (first use this function)
af6_decore.cpp:79: `IAviReadFile' undeclared (first use this function)
af6_decore.cpp:79: `vfile' undeclared (first use this function)
af6_decore.cpp:83: `fourcc_t' undeclared (first use this function)
af6_decore.cpp:83: syntax error before `=' token af6_decore.cpp:95:
`CreateIAviReadFile' undeclared (first use this function)
af6_decore.cpp:98: `AviStream' undeclared (first use this function)
af6_decore.cpp:98: syntax error before `::' token
.
.
.
af6_decore.cpp:378: `ipipe' was not declared in this scope
af6_decore.cpp:378: `sync_str' was not declared in this scope
af6_decore.cpp:378: `sync_str' was not declared in this scope
af6_decore.cpp:378: ISO C++ forbids declaration of `p_write' with no type
af6_decore.cpp:378: redefinition of `int p_write'
af6_decore.cpp:217: `int p_write' previously defined here
af6_decore.cpp:378: initializer list being treated as compound expression
af6_decore.cpp:381: syntax error before `while'
af6_decore.cpp:386: syntax error before `if'
af6_decore.cpp:390: syntax error before `->' token
af6_decore.cpp:398: syntax error before `+=' token
make[3]: *** [af6_decore.lo] Error 1
make[3]: Leaving directory `/usr/local/src/transcode-0.6.11/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/transcode-0.6.11/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/transcode-0.6.11'
make: *** [all] Error 2
e questo e' quanto....
ciao stefano

 quanto non uso quie drivers! come hai fatto a capirlo???
Con un po' di fantasia:
cannot find -lasound
              ^^^^^^
:)


 directory af6_decore.cpp:42:34: avifile-0.7/renderer.h: No such file
Non trova gli headers di avifile. Li hai installati ? Sono compresi in
transcode ?
Nel primo caso, installali; nel secondo....bella domanda...:)


 Ciao.
un po' un mistero (probabilmente perche' avro' reinstallato slack 10 volte
su 2 HD diversi negli ultimi 2 giorni....) ma adesso ho installato per
prova transcode senza avifile e tutto e' andato liscio.... boh....
grazie cmq! mi sei stato di gran aiuto per le mjpegtools
stefano