Compilation problem on Fedora4

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

    Hi,

    I wanted to make some tutorial videos for Yafray and gimp but I am not able to compile xvidcap-1.1.4pre2 on Fedora4.

    I was using this old ffmpeg as it got compiled on Fedora3 with this version. ffmpeg-0.4.8-4.rhfc3.

    If a newer version of xvidcap is comming shortly I can wait otherwise can you please guide me as how to compile it? 

    It is a very important tool for me on linux otherwise I have to go to windows for recordings.

    Regards,
    GauravNawani
    ---------------------------------------------
    http://www.geocities.com/gauravnawani
    http://www.ironcode.com

    -------------------------------------------------------------
    The terminal dump

    --------------------------------------------------------------
    [gaurav@localhost xvidcap-1.1.4pre2]$ ./configure --with-gtk2
    checking for a BSD-compatible install... /usr/bin/install -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 file name... 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 lame_init in -lmp3lame... yes
    checking for img_convert in -lavcodec... no
    checking for avienc_init in -lavformat... no
    Checking for GTK2 version ... 2.6.7
    checking for pthread_mutex_init in -lpthread... yes
    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 ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... 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
    [gaurav@localhost xvidcap-1.1.4pre2]$ make
    make  all-recursive
    make[1]: Entering directory `/home/gaurav/xvidcap-1.1.4pre2'
    Making all in Xw
    make[2]: Entering directory `/home/gaurav/xvidcap-1.1.4pre2/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 -f ".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 -f ".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 -f ".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 -f ".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 -f ".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 -f ".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 -f ".deps/simple.Tpo" ".deps/simple.Po"; \ else rm -f ".deps/simple.Tpo"; exit 1; \ fi
    simple.c: In function Quit:
    simple.c:43: warning: incompatible implicit declaration of built-in function exit
    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 -f ".deps/testxw.Tpo" ".deps/testxw.Po"; \ else rm -f ".deps/testxw.Tpo"; exit 1; \ fi
    testxw.c: In function Quit:
    testxw.c:44: warning: incompatible implicit declaration of built-in function exit
    testxw.c: In function main:
    testxw.c:121: warning: pointer targets in passing argument 3 of XCreateBitmapFromData differ in signedness
    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 -f ".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  -o simple  simple.o libXw.a -lpthread -lmp3lame -ljpeg -lpng -lz  -lXext -lXmu -lXt -lX11
    make[2]: Leaving directory `/home/gaurav/xvidcap-1.1.4pre2/Xw'
    Making all in src
    make[2]: Entering directory `/home/gaurav/xvidcap-1.1.4pre2/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"     -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 -f ".deps/xvidcap-main.Tpo" ".deps/xvidcap-main.Po"; \ else rm -f ".deps/xvidcap-main.Tpo"; exit 1; \ fi
    main.c: In function main:
    main.c:550: error: CAP_AVI undeclared (first use in this function)
    main.c:550: error: (Each undeclared identifier is reported only once
    main.c:550: error: for each function it appears in.)
    make[2]: *** [xvidcap-main.o] Error 1
    make[2]: Leaving directory `/home/gaurav/xvidcap-1.1.4pre2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/gaurav/xvidcap-1.1.4pre2'
    make: *** [all] Error 2

     
    • Karl H. Beckers

      Karl H. Beckers - 2005-07-18

      Hi,
      1.1.3 certainly is the stable version ...

      However, you should try doing what the release notes say:

      ./configure --with-gtk2 --with-forced-embedded-ffmpeg
      make gvidcap

      HTH,

      Karl.

       
    • Gaurav

      Gaurav - 2005-07-19

      Thanks for reply Karl,

      I had tried that too but I was waiting for yout response. I have just now sent you the terminal output through mail from the contact page on http://www.jarre-de-the.net/faq/index.php?aktion=kontakt

      Regards,
      Gaurav

       
    • Karl H. Beckers

      Karl H. Beckers - 2005-07-19

      Hi there,

      I suggest you try and get a ggc 3.x somewhere and try using that. I've
      found your error messages here:

      https://www.redhat.com/archives/fedora-test-list/2005-March/msg00554.html

      It seems that other people have successfully built ffmpeg with gcc4 but
      it may be that the ffmpeg folks have added stuff for gcc4 compatibility
      after the snapshot I'm currently using.

      HTH,

      Karl.

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks