build for Linux fedora 15

Added by Alexandr Chernikov over 10 years ago

Good day
When trying to compile in fedora 15, the latest Showtime version from GIT the following errors may appear:

[[email protected] showtime]$ make
CC build.linux/ext/audio/sid.o
/home/zero/showtime/ext/audio/sid.c: В функции «GenerateDigi»:
/home/zero/showtime/ext/audio/sid.c:271:16: error: variable «last_sample» set but not used [-Werror=unused-but-set-wariable]

  • [[email protected] showtime]$ ./configure --pkg-config-path=${HOME}/libav/lib/pkgconfig
    Configuring for Linux environment
    Using C compiler: cc
    Using C++ compiler: c++
    Using libavcodec: 53.2.0
    Using libavformat: 53.0.3
    Using libavutil: 51.1.0
    Using libswscale: 1.1.0
    Using Freetype2: 12.2.6
    Using libfontconfig: 2.8.0
    Using libX11: 1.4.3
    Using libXext: 1.2.0
    Using GLW Frontend: x11
    Using GL: 7.11.0
    Using ALSA: 1.0.24
    Using libpulse: 0.9.22
    Using GTK+: 2.24.4
    Using GTK Threading: 2.28.6
    Using libxscrnsaver: 1.2.1
    Using libxxf86vm: 1.1.1
    Using libXv: 1.0.6
    Using libdbus-1: 1.4.6
    Using libcdio_cdda: 0.82
    Using libcddb: 1.3.2
    Using AVAHI client: 0.6.30
    Using openssl: 1.0.0d
    Using libvdpau: 0.4.1
    Development build.
    The generated binary will contain compiled-in paths to
    the current build tree. If you plan to install the binary,
    please reconfigure with --release.
    Final binary is: build.linux/showtime *

In ubuntu 11.04 make passes without errors, but the bin a file at start causes an error.


Replies (1)

RE: build for Linux fedora 15 - Added by Alexandr Chernikov over 10 years ago

error due to the new gcc 4.6, solved by deleting the line -Werror in makefile

CFLAGS = -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations

(1-1/1)