Compiling problem on Fedora 8

Help
2008-02-17
2013-04-25
  • Andy Tomlin
    Andy Tomlin
    2008-02-17

    I downloaded fuppes version SVN-578

    I am trying to compile on Fedora 8 to enable flac transcoding to wav for ps3

    I had a lot of dependancy issues. Had to uninstall flac to install libflac, bunch of library updates to get the configure to complete. Here is the output from my configure, followed by the compile.

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    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 ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... gfortran
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether gfortran accepts -g... yes
    checking the maximum length of command line arguments... 98304
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for correct ltmain.sh version... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for gfortran option to produce PIC... -fPIC
    checking if gfortran PIC flag -fPIC works... yes
    checking if gfortran static flag -static works... yes
    checking if gfortran supports -c -o file.o... yes
    checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for off_t... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for PCRE... yes
    checking for LIBXML... yes
    checking for SQLITE3... yes
    checking for pthread_create in -lpthread... yes
    checking for UUID... yes
    checking for type of second arg to iconv... char**
    checking for taglib-config... no
    configure: *** taglib support disabled ***
    checking for IMAGEMAGICK... no
    configure: *** ImageMagick (Magick++) support disabled ***
    checking for LIBAVFORMAT... no
    checking for LIBAVFORMAT... no
    checking for LIBAVFORMAT... no
    configure: *** libavformat (FFmpeg) support disabled ***
    checking lame/lame.h usability... no
    checking lame/lame.h presence... no
    checking for lame/lame.h... no
    checking for TWOLAME... no
    checking for VORBISFILE... yes
    checking mpcdec/config_types.h usability... no
    checking mpcdec/config_types.h presence... no
    checking for mpcdec/config_types.h... no
    checking FLAC/file_decoder.h usability... no
    checking FLAC/file_decoder.h presence... no
    checking for FLAC/file_decoder.h... no
    checking FLAC/stream_decoder.h usability... yes
    checking FLAC/stream_decoder.h presence... yes
    checking for FLAC/stream_decoder.h... yes
    checking faad.h usability... no
    checking faad.h presence... no
    checking for faad.h... no
    checking for simage-config... no
    configure: *** simage support disabled ***
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for ANSI C header files... (cached) yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... 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/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for unistd.h... (cached) yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking for off_t... (cached) yes
    checking size of off_t... 8
    checking for unsigned long long int... yes
    checking size of unsigned long long int... 8
    checking for unsigned long int... yes
    checking size of unsigned long int... 4
    checking for unsigned int... yes
    checking size of unsigned int... 4
    checking for unsigned short... yes
    checking size of unsigned short... 2
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/gnome/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands

      SUMMARY

      audio transcoding enabled
        encoder:
          lame       : no
          twolame    : no
          wav        : yes
          pcm        : yes
        decoder:
          vorbis     : yes (libvorbisfile)
          mpc        : no
          flac       : yes
          fadd       : no

      video transcoding (experimental)
      ffmpeg     : disabled

      iconv      : enabled
      uuid       : enabled
      taglib     : disabled
      ImageMagick: disabled
      simage     : disabled
      libavformat: disabled

    GNOME
      panel applet : disabled
      libnotify    : disabled

    Thanks for using fuppes
    please report bugs

    --------------------------

    Running the compile gives the following

    --------------------------

    Making all in src
    make[1]: Entering directory `/usr/fuppes-SVN-578/src'
    if test -e "../version.sh"; then \                 ../version.sh; \         fi
    make  all-am
    make[2]: Entering directory `/usr/fuppes-SVN-578/src'
    /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I/usr/include/libxml2       -DINOTIFY_THREAD_SAFE    -g -O2 -MT UDPSocket.lo -MD -MP -MF .deps/UDPSocket.Tpo -c -o UDPSocket.lo `test -f 'lib/SSDP/UDPSocket.cpp' || echo './'`lib/SSDP/UDPSocket.cpp
    g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DINOTIFY_THREAD_SAFE -g -O2 -MT UDPSocket.lo -MD -MP -MF .deps/UDPSocket.Tpo -c lib/SSDP/UDPSocket.cpp  -fPIC -DPIC -o .libs/UDPSocket.o
    lib/SSDP/UDPSocket.cpp: In member function 'bool CUDPSocket::SetupSocket(bool, std::string)':
    lib/SSDP/UDPSocket.cpp:58: warning: deprecated conversion from string constant to 'char*'
    lib/SSDP/UDPSocket.cpp:71: warning: deprecated conversion from string constant to 'char*'
    lib/SSDP/UDPSocket.cpp:93: error: 'memset' was not declared in this scope
    lib/SSDP/UDPSocket.cpp:98: warning: deprecated conversion from string constant to 'char*'
    lib/SSDP/UDPSocket.cpp:115: warning: deprecated conversion from string constant to 'char*'
    lib/SSDP/UDPSocket.cpp: In member function 'void CUDPSocket::SendMulticast(std::string)':
    lib/SSDP/UDPSocket.cpp:165: error: 'memset' was not declared in this scope
    lib/SSDP/UDPSocket.cpp:168: error: 'strlen' was not declared in this scope
    lib/SSDP/UDPSocket.cpp: In member function 'void CUDPSocket::SendUnicast(std::string, sockaddr_in)':
    lib/SSDP/UDPSocket.cpp:175: error: 'strlen' was not declared in this scope
    make[2]: *** [UDPSocket.lo] Error 1
    make[2]: Leaving directory `/usr/fuppes-SVN-578/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/fuppes-SVN-578/src'
    make: *** [all-recursive] Error 1

     
    • Ulrich Völkel
      Ulrich Völkel
      2008-02-19

      This problem occurs with gcc 4.3. Please use the development version from svn which already fixed this problem.

      - Uli