Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

xvidcap-1.1.4pre2 will not compile

Help
Allix
2006-06-21
2013-04-24
  • Allix
    Allix
    2006-06-21

    I am running slamd64 , which is a 64 bit distro
    CFLAGS="-O2 -fPIC" ./configure --with-gtk2 --with-forced-embedded-ffmpeg
    that works fine

    its when i type make

    i recieve the following errors

    Making gvidcap in Xw
    make[1]: Entering directory `/mnt/allix/xvidcap-1.1.4pre2/Xw'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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
    Field.c: In function `RequestSelection':
    Field.c:1262: warning: cast from pointer to integer of different size
    Field.c: In function `InsertSelection':
    Field.c:1289: warning: cast to pointer from integer of different size
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT RootIc
    on.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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -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 -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -L/usr/X11R6/lib64 -L/mnt/allix/xvidcap-1.1.4
    pre2/ffmpeg/libavcodec -L/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -o simple  simple.o libXw.a -lpthread -Wl,-Bstatic -lavformat -Wl,-Bdynamic -Wl,-Bstatic -lavcodec -Wl,-Bd
    ynamic -lmp3lame -ljpeg -lpng -lz  -lXext -lXmu -lXt -lX11
    make[1]: Leaving directory `/mnt/allix/xvidcap-1.1.4pre2/Xw'
    Making gvidcap in src
    make[1]: Entering directory `/mnt/allix/xvidcap-1.1.4pre2/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-main.o -MD -MP -MF ".deps/gvidcap-main.Tpo" \           -c -o gvidcap-main.o `test -f 'main.c' || echo './'`main.c; \         then mv -f ".deps/gvidcap-main.Tpo" ".deps/gvidcap-main.Po"; \         else rm -f ".deps/gvidcap-main.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-gtk2_control.o -MD -MP -MF ".deps/gvidcap-gtk2_control.Tpo" \           -c -o gvidcap-gtk2_control.o `test -f 'gtk2_control.c' || echo './'`gtk2_control.c; \         then mv -f ".deps/gvidcap-gtk2_control.Tpo" ".deps/gvidcap-gtk2_control.Po"; \         else rm -f ".deps/gvidcap-gtk2_control.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-options.o -MD -MP -MF ".deps/gvidcap-options.Tpo" \           -c -o gvidcap-options.o `test -f 'options.c' || echo './'`options.c; \         then mv -f ".deps/gvidcap-options.Tpo" ".deps/gvidcap-options.Po"; \         else rm -f ".deps/gvidcap-options.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-gtk2_options.o -MD -MP -MF ".deps/gvidcap-gtk2_options.Tpo" \           -c -o gvidcap-gtk2_options.o `test -f 'gtk2_options.c' || echo './'`gtk2_options.c; \         then mv -f ".deps/gvidcap-gtk2_options.Tpo" ".deps/gvidcap-gtk2_options.Po"; \         else rm -f ".deps/gvidcap-gtk2_options.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-colors.o -MD -MP -MF ".deps/gvidcap-colors.Tpo" \           -c -o gvidcap-colors.o `test -f 'colors.c' || echo './'`colors.c; \         then mv -f ".deps/gvidcap-colors.Tpo" ".deps/gvidcap-colors.Po"; \         else rm -f ".deps/gvidcap-colors.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-util.o -MD -MP -MF ".deps/gvidcap-util.Tpo" \           -c -o gvidcap-util.o `test -f 'util.c' || echo './'`util.c; \         then mv -f ".deps/gvidcap-util.Tpo" ".deps/gvidcap-util.Po"; \         else rm -f ".deps/gvidcap-util.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-frame.o -MD -MP -MF ".deps/gvidcap-frame.Tpo" \           -c -o gvidcap-frame.o `test -f 'frame.c' || echo './'`frame.c; \         then mv -f ".deps/gvidcap-frame.Tpo" ".deps/gvidcap-frame.Po"; \         else rm -f ".deps/gvidcap-frame.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-gtk2_frame.o -MD -MP -MF ".deps/gvidcap-gtk2_frame.Tpo" \           -c -o gvidcap-gtk2_frame.o `test -f 'gtk2_frame.c' || echo './'`gtk2_frame.c; \         then mv -f ".deps/gvidcap-gtk2_frame.Tpo" ".deps/gvidcap-gtk2_frame.Po"; \         else rm -f ".deps/gvidcap-gtk2_frame.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-capture.o -MD -MP -MF ".deps/gvidcap-capture.Tpo" \           -c -o gvidcap-capture.o `test -f 'capture.c' || echo './'`capture.c; \         then mv -f ".deps/gvidcap-capture.Tpo" ".deps/gvidcap-capture.Po"; \         else rm -f ".deps/gvidcap-capture.Tpo"; exit 1; \         fi
    capture.c: In function `XGetZPixmap':
    capture.c:280: warning: large integer implicitly truncated to unsigned type
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-xtoxwd.o -MD -MP -MF ".deps/gvidcap-xtoxwd.Tpo" \           -c -o gvidcap-xtoxwd.o `test -f 'xtoxwd.c' || echo './'`xtoxwd.c; \         then mv -f ".deps/gvidcap-xtoxwd.Tpo" ".deps/gvidcap-xtoxwd.Po"; \         else rm -f ".deps/gvidcap-xtoxwd.Tpo"; exit 1; \         fi
    xtoxwd.c: In function `XWDcolorTable':
    xtoxwd.c:63: warning: passing arg 1 of `swap_4byte' from incompatible pointer type
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-xtopnm.o -MD -MP -MF ".deps/gvidcap-xtopnm.Tpo" \           -c -o gvidcap-xtopnm.o `test -f 'xtopnm.c' || echo './'`xtopnm.c; \         then mv -f ".deps/gvidcap-xtopnm.Tpo" ".deps/gvidcap-xtopnm.Po"; \         else rm -f ".deps/gvidcap-xtopnm.Tpo"; exit 1; \         fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"   `pkg-config --cflags gtk+-2.0`   -O2 -fPIC -I/mnt/allix/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/mn
    t/allix/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT gvidcap-mngutil.o -MD -MP -MF ".deps/gvidcap-mngutil.Tpo" \           -c -o gvidcap-mngutil.o `test -f 'mngutil.c' || echo './'`mngutil.c; \         then mv -f ".deps/gvidcap-mngutil.Tpo" ".deps/gvidcap-mngutil.Po"; \         else rm -f ".deps/gvidcap-mngutil.Tpo"; exit 1; \         fi
    mngutil.c:36: error: conflicting types for 'png_save_uint_16'
    /usr/include/png.h:2633: error: previous declaration of 'png_save_uint_16' was here
    mngutil.c:36: error: conflicting types for 'png_save_uint_16'
    /usr/include/png.h:2633: error: previous declaration of 'png_save_uint_16' was here
    make[1]: *** [gvidcap-mngutil.o] Error 1
    make[1]: Leaving directory `/mnt/allix/xvidcap-1.1.4pre2/src'
    make: *** [gvidcap] Error 1