why the hell this never work? :(

Help
2005-07-08
2013-04-24
  • Nobody/Anonymous

    wsjunior@darkstar:~/xvidcap-1.1.3$ LDFLAGS="-lm" ./configure
    checking for a BSD-compatible install... /usr/bin/ginstall -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    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 suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking for zlibVersion in -lz... yes
    checking for png_set_filter in -lpng... yes
    checking for jpeg_CreateCompress in -ljpeg... yes
    checking for img_convert in -lavcodec... yes
    checking for avienc_init in -lavformat... yes
    checking for audio_init in -lavformat... (cached) no
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    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 fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for unistd.h... (cached) yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking sys/soundcard.h usability... yes
    checking sys/soundcard.h presence... yes
    checking for sys/soundcard.h... yes
    checking for stdint.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for fdatasync... yes
    checking for gettimeofday... yes
    checking for memmove... yes
    checking for memset... yes
    checking for munmap... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strdup... yes
    checking for strstr... yes
    checking for getopt_long... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating gt/Makefile
    config.status: creating Xw/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    wsjunior@darkstar:~/xvidcap-1.1.3$ make
    make  all-recursive
    make[1]: Entering directory `/home/wsjunior/xvidcap-1.1.3'
    Making all in Xw
    make[2]: Entering directory `/home/wsjunior/xvidcap-1.1.3/Xw'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Base.o -MD -MP -MF ".deps/Base.Tpo" \   -c -o Base.o `test -f 'Base.c' || echo './'`Base.c; \ then mv ".deps/Base.Tpo" ".deps/Base.Po"; \ else rm -f ".deps/Base.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Box.o -MD -MP -MF ".deps/Box.Tpo" \   -c -o Box.o `test -f 'Box.c' || echo './'`Box.c; \ then mv ".deps/Box.Tpo" ".deps/Box.Po"; \ else rm -f ".deps/Box.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Button.o -MD -MP -MF ".deps/Button.Tpo" \   -c -o Button.o `test -f 'Button.c' || echo './'`Button.c; \ then mv ".deps/Button.Tpo" ".deps/Button.Po"; \ else rm -f ".deps/Button.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Field.o -MD -MP -MF ".deps/Field.Tpo" \   -c -o Field.o `test -f 'Field.c' || echo './'`Field.c; \ then mv ".deps/Field.Tpo" ".deps/Field.Po"; \ else rm -f ".deps/Field.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Label.o -MD -MP -MF ".deps/Label.Tpo" \   -c -o Label.o `test -f 'Label.c' || echo './'`Label.c; \ then mv ".deps/Label.Tpo" ".deps/Label.Po"; \ else rm -f ".deps/Label.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT RootIcon.o -MD -MP -MF ".deps/RootIcon.Tpo" \   -c -o RootIcon.o `test -f 'RootIcon.c' || echo './'`RootIcon.c; \ then mv ".deps/RootIcon.Tpo" ".deps/RootIcon.Po"; \ else rm -f ".deps/RootIcon.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT simple.o -MD -MP -MF ".deps/simple.Tpo" \   -c -o simple.o `test -f 'simple.c' || echo './'`simple.c; \ then mv ".deps/simple.Tpo" ".deps/simple.Po"; \ else rm -f ".deps/simple.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT testxw.o -MD -MP -MF ".deps/testxw.Tpo" \   -c -o testxw.o `test -f 'testxw.c' || echo './'`testxw.c; \ then mv ".deps/testxw.Tpo" ".deps/testxw.Po"; \ else rm -f ".deps/testxw.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -MT Toggle.o -MD -MP -MF ".deps/Toggle.Tpo" \   -c -o Toggle.o `test -f 'Toggle.c' || echo './'`Toggle.c; \ then mv ".deps/Toggle.Tpo" ".deps/Toggle.Po"; \ else rm -f ".deps/Toggle.Tpo"; exit 1; \ fi
    rm -f libXw.a
    ar cru libXw.a Base.o Box.o Button.o Field.o Label.o RootIcon.o simple.o testxw.o Toggle.o
    ranlib libXw.a
    gcc -I/usr/X11R6/include -g -O2 -L/usr/X11R6/lib -lm -o simple  simple.o libXw.a -lavformat -lavcodec -ljpeg -lpng -lz  -lXext -lXmu -lXt -lX11
    make[2]: Leaving directory `/home/wsjunior/xvidcap-1.1.3/Xw'
    Making all in src
    make[2]: Entering directory `/home/wsjunior/xvidcap-1.1.3/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-main.o -MD -MP -MF ".deps/xvidcap-main.Tpo" \   -c -o xvidcap-main.o `test -f 'main.c' || echo './'`main.c; \ then mv ".deps/xvidcap-main.Tpo" ".deps/xvidcap-main.Po"; \ else rm -f ".deps/xvidcap-main.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xt_control.o -MD -MP -MF ".deps/xvidcap-xt_control.Tpo" \   -c -o xvidcap-xt_control.o `test -f 'xt_control.c' || echo './'`xt_control.c; \ then mv ".deps/xvidcap-xt_control.Tpo" ".deps/xvidcap-xt_control.Po"; \ else rm -f ".deps/xvidcap-xt_control.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-options.o -MD -MP -MF ".deps/xvidcap-options.Tpo" \   -c -o xvidcap-options.o `test -f 'options.c' || echo './'`options.c; \ then mv ".deps/xvidcap-options.Tpo" ".deps/xvidcap-options.Po"; \ else rm -f ".deps/xvidcap-options.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xt_options.o -MD -MP -MF ".deps/xvidcap-xt_options.Tpo" \   -c -o xvidcap-xt_options.o `test -f 'xt_options.c' || echo './'`xt_options.c; \ then mv ".deps/xvidcap-xt_options.Tpo" ".deps/xvidcap-xt_options.Po"; \ else rm -f ".deps/xvidcap-xt_options.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-colors.o -MD -MP -MF ".deps/xvidcap-colors.Tpo" \   -c -o xvidcap-colors.o `test -f 'colors.c' || echo './'`colors.c; \ then mv ".deps/xvidcap-colors.Tpo" ".deps/xvidcap-colors.Po"; \ else rm -f ".deps/xvidcap-colors.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-util.o -MD -MP -MF ".deps/xvidcap-util.Tpo" \   -c -o xvidcap-util.o `test -f 'util.c' || echo './'`util.c; \ then mv ".deps/xvidcap-util.Tpo" ".deps/xvidcap-util.Po"; \ else rm -f ".deps/xvidcap-util.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-frame.o -MD -MP -MF ".deps/xvidcap-frame.Tpo" \   -c -o xvidcap-frame.o `test -f 'frame.c' || echo './'`frame.c; \ then mv ".deps/xvidcap-frame.Tpo" ".deps/xvidcap-frame.Po"; \ else rm -f ".deps/xvidcap-frame.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xt_frame.o -MD -MP -MF ".deps/xvidcap-xt_frame.Tpo" \   -c -o xvidcap-xt_frame.o `test -f 'xt_frame.c' || echo './'`xt_frame.c; \ then mv ".deps/xvidcap-xt_frame.Tpo" ".deps/xvidcap-xt_frame.Po"; \ else rm -f ".deps/xvidcap-xt_frame.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-capture.o -MD -MP -MF ".deps/xvidcap-capture.Tpo" \   -c -o xvidcap-capture.o `test -f 'capture.c' || echo './'`capture.c; \ then mv ".deps/xvidcap-capture.Tpo" ".deps/xvidcap-capture.Po"; \ else rm -f ".deps/xvidcap-capture.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xtoxwd.o -MD -MP -MF ".deps/xvidcap-xtoxwd.Tpo" \   -c -o xvidcap-xtoxwd.o `test -f 'xtoxwd.c' || echo './'`xtoxwd.c; \ then mv ".deps/xvidcap-xtoxwd.Tpo" ".deps/xvidcap-xtoxwd.Po"; \ else rm -f ".deps/xvidcap-xtoxwd.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xtopnm.o -MD -MP -MF ".deps/xvidcap-xtopnm.Tpo" \   -c -o xvidcap-xtopnm.o `test -f 'xtopnm.c' || echo './'`xtopnm.c; \ then mv ".deps/xvidcap-xtopnm.Tpo" ".deps/xvidcap-xtopnm.Po"; \ else rm -f ".deps/xvidcap-xtopnm.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-mngutil.o -MD -MP -MF ".deps/xvidcap-mngutil.Tpo" \   -c -o xvidcap-mngutil.o `test -f 'mngutil.c' || echo './'`mngutil.c; \ then mv ".deps/xvidcap-mngutil.Tpo" ".deps/xvidcap-mngutil.Po"; \ else rm -f ".deps/xvidcap-mngutil.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xtomng.o -MD -MP -MF ".deps/xvidcap-xtomng.Tpo" \   -c -o xvidcap-xtomng.o `test -f 'xtomng.c' || echo './'`xtomng.c; \ then mv ".deps/xvidcap-xtomng.Tpo" ".deps/xvidcap-xtomng.Po"; \ else rm -f ".deps/xvidcap-xtomng.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xutil.o -MD -MP -MF ".deps/xvidcap-xutil.Tpo" \   -c -o xvidcap-xutil.o `test -f 'xutil.c' || echo './'`xutil.c; \ then mv ".deps/xvidcap-xutil.Tpo" ".deps/xvidcap-xutil.Po"; \ else rm -f ".deps/xvidcap-xutil.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-job.o -MD -MP -MF ".deps/xvidcap-job.Tpo" \   -c -o xvidcap-job.o `test -f 'job.c' || echo './'`job.c; \ then mv ".deps/xvidcap-job.Tpo" ".deps/xvidcap-job.Po"; \ else rm -f ".deps/xvidcap-job.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-video.o -MD -MP -MF ".deps/xvidcap-video.Tpo" \   -c -o xvidcap-video.o `test -f 'video.c' || echo './'`video.c; \ then mv ".deps/xvidcap-video.Tpo" ".deps/xvidcap-video.Po"; \ else rm -f ".deps/xvidcap-video.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.3\"     -g -O2 -MT xvidcap-xtoffmpeg.o -MD -MP -MF ".deps/xvidcap-xtoffmpeg.Tpo" \   -c -o xvidcap-xtoffmpeg.o `test -f 'xtoffmpeg.c' || echo './'`xtoffmpeg.c; \ then mv ".deps/xvidcap-xtoffmpeg.Tpo" ".deps/xvidcap-xtoffmpeg.Po"; \ else rm -f ".deps/xvidcap-xtoffmpeg.Tpo"; exit 1; \ fi
    xtoffmpeg.c: In function `XImageToFFMPEG':
    xtoffmpeg.c:1120: warning: passing arg 2 of `av_write_frame' makes pointer from integer without a cast
    xtoffmpeg.c:1120: error: too many arguments to function `av_write_frame'
    make[2]: ** [xvidcap-xtoffmpeg.o] Erro 1
    make[2]: Leaving directory `/home/wsjunior/xvidcap-1.1.3/src'
    make[1]: ** [all-recursive] Erro 1
    make[1]: Leaving directory `/home/wsjunior/xvidcap-1.1.3'
    make: ** [all] Erro 2

     
    • Karl H. Beckers

      Karl H. Beckers - 2005-07-11

      Well,

      could you be bothered to read the FAQ?

      1.1.3 needs EXACTLY libavcodec 0.4.8 ...
      You appear to have installed some other version.
      Either change that to 0.4.8 or use the --with-forced-embedded-ffmpeg switch to ./configure

      Karl.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks