All recursive ошибка 1

I’m trying to install aircrack-ng but i get a problem while i’m on make. Normal process is this

wget https://download.aircrack-ng.org/aircrack-ng-1.4.tar.gz
tar -zxvf aircrack-ng-1.4.tar.gz
cd aircrack-ng-1.4
autoreconf -i
./configure --with-experimental
make
make install

I did first three steps normally. Then I did autoreconf -i:

patatoide@PotatoePC:~/git/aircrack-ng-1.4$ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build/m4/stubs'.
libtoolize: copying file 'build/m4/stubs/libtool.m4'
libtoolize: copying file 'build/m4/stubs/ltoptions.m4'
libtoolize: copying file 'build/m4/stubs/ltsugar.m4'
libtoolize: copying file 'build/m4/stubs/ltversion.m4'
libtoolize: copying file 'build/m4/stubs/lt~obsolete.m4'
configure.ac:69: installing './compile'
configure.ac:50: installing './config.guess'
configure.ac:50: installing './config.sub'
configure.ac:60: installing './install-sh'
configure.ac:60: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'`

After that, I did ./configure --with-experimental

patatoide@PotatoePC:~/git/aircrack-ng-1.4$  ./configure --with-experimental
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
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 dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to print strings... printf
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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %sn
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for OPENSSL_init in -lcrypto... no
checking for pkg-config... /usr/bin/pkg-config
checking for openssl/ssl.h in /usr/local/ssl... yes
checking whether compiling and linking against OpenSSL works... yes
checking whether gcrypt is enabled...
checking for OpenSSL or libgcrypt... OpenSSL
checking openssl/cmac.h usability... no
checking openssl/cmac.h presence... no
checking for openssl/cmac.h... no
checking for ethtool... /sbin/ethtool
checking for LIBNL3X... yes
checking for python3... /usr/bin/python3
checking for python3-config... no
checking for Python prefix... /usr
checking for Python site-packages directory... lib/python3.5/site-packages
checking if Python >= '2.7'... yes
checking if Python <= '4.0'... yes
checking for greadlink... no
checking for readlink... readlink
checking for HWLOC... no
checking pcap header directories... /usr/include/pcap
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking for PCRE... no
checking for rfkill... /usr/sbin/rfkill
checking for SQLite3 header... found; /usr/include/sqlite3.h
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_open in -lsqlite3... yes
checking for SQLite3 library version >= 3.0.0... yes
checking for ZLIB... yes
checking for CMOCKA... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... yes
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_create in -lpthread... yes
checking for pthread_setaffinity_np... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking whether to build with code coverage support... no
checking for valgrind... no
checking for C compiler vendor... gnu
checking for C compiler version... 6.3.0
checking CFLAGS for maximum warnings... -Wall
checking CXXFLAGS for maximum warnings... -Wall
checking whether C compiler accepts -O3... yes
checking whether C compiler accepts -std=gnu99... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wstrict-overflow=2... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fstack-protector-strong... yes
checking whether C compiler accepts -Wno-unused-but-set-variable... yes
checking whether C compiler accepts -Wno-array-bounds... yes
checking for C++ compiler vendor... gnu
checking for C++ compiler version... 6.3.0
checking CFLAGS for maximum warnings... (cached) -Wall
checking CXXFLAGS for maximum warnings... (cached) -Wall
checking whether C++ compiler accepts -O3... yes
checking whether C++ compiler accepts -fvisibility=hidden... yes
checking whether C++ compiler accepts -fstack-protector-strong... yes
checking whether C++ compiler accepts -Wno-unused-but-set-variable... yes
checking whether C++ compiler accepts -Wno-array-bounds... yes
checking for C compiler vendor... (cached) gnu
checking for C compiler version... (cached) 6.3.0
checking whether C compiler accepts -mavx2... yes
checking whether C compiler accepts -mavx... yes
checking whether C compiler accepts -msse2... yes
checking whether C compiler accepts -mmmx... yes
checking for C++ compiler vendor... (cached) gnu
checking for C++ compiler version... (cached) 6.3.0
checking whether C++ compiler accepts -masm=intel... yes
checking whether C++ compiler accepts -mavx2... yes
checking whether C++ compiler accepts -mavx... yes
checking whether C++ compiler accepts -msse2... yes
checking whether C++ compiler accepts -mmmx... yes
checking for malloc in -lduma... no
checking for C compiler vendor... (cached) gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating manpages/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/airdrop-ng/Makefile
config.status: creating scripts/airdrop-ng/doc/Makefile
config.status: creating scripts/airgraph-ng/Makefile
config.status: creating scripts/airgraph-ng/man/Makefile
config.status: creating scripts/versuck-ng/Makefile
config.status: creating src/Makefile
config.status: creating src/aircrack-crypto/Makefile
config.status: creating src/aircrack-util/Makefile
config.status: creating src/include/Makefile
config.status: creating src/aircrack-osdep/Makefile
config.status: creating src/aircrack-osdep/radiotap/Makefile
config.status: creating test/Makefile
config.status: creating test/test-env.sh
config.status: creating test/cryptounittest/Makefile
config.status: creating test/unit/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

aircrack-ng 1.4

  Build Environment:
    Build Machine:               x86_64-pc-linux-gnu
    Host Machine:                x86_64-pc-linux-gnu
    Target Machine:              x86_64-pc-linux-gnu

    Install Prefix:              /usr/local

  Compiler Environment:
    C Compiler:                  gcc
    C++ Compiler:                g++
    Python:                      /usr/bin/python3

    CFLAGS:
    CXXFLAGS:
    CPPFLAGS:                     -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
    LDFLAGS:
    LIBS:                         -ldl -lm

    Optimized CFLAGS:              -Wall -O3 -std=gnu99 -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds
    Optimized CXXFLAGS:            -Wall -O3 -fvisibility=hidden -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -masm=intel
    Optimized CPPFLAGS:
    Optimized LIBS:

  Target Environment:
    OS:                          linux
    ASAN:                        no
    CPU L1 cache-line size:      64

  Crypto Libraries:
    Gcrypt:
    OpenSSL:                     -lssl -lcrypto

  Required Libraries:
    Ethtool:                     yes, found /sbin/ethtool
    Libnl:                       yes, found libnl-3.0

  Optional Libraries:
    Airpcap:                     no
    Cmocka:                      no
    DUMA:                        no
    Hwloc:                       no
    Jemalloc:                    no
    Pcap:                        yes
    Pcre:                        no
    Sqlite:                      yes
    Tcmalloc:                    no
    Zlib:                        yes

  Features:
    CMAC Support:                no
    Experimental Extra Scripts:  no
    Experimental Features:       yes
'

Sadly, I get to the part that confuses me. I introduce make and this is the output:

patatoide@PotatoePC:~/git/aircrack-ng-1.4$ make
Making all in manpages
make[1]: Entering directory '/home/patatoide/git/aircrack-ng-1.4/manpages'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/patatoide/git/aircrack-ng-1.4/manpages'
Making all in scripts
make[1]: Entering directory '/home/patatoide/git/aircrack-ng-1.4/scripts'
make[2]: Entering directory '/home/patatoide/git/aircrack-ng-1.4/scripts'
cp "/home/patatoide/git/aircrack-ng-1.4/scripts/airmon-ng.linux" "/home/patatoide/git/aircrack-ng-1.4/scripts/airmon-ng"
chmod +x "/home/patatoide/git/aircrack-ng-1.4/scripts/airmon-ng"
make[2]: Leaving directory '/home/patatoide/git/aircrack-ng-1.4/scripts'
make[1]: Leaving directory '/home/patatoide/git/aircrack-ng-1.4/scripts'
Making all in src
make[1]: Entering directory '/home/patatoide/git/aircrack-ng-1.4/src'
Making all in aircrack-crypto
make[2]: Entering directory '/home/patatoide/git/aircrack-ng-1.4/src/aircrack-crypto'
  CC       libaircrack_crypto_la-memory.lo
  CC       libaircrack_crypto_la-sha1-git.lo
  CC       libaircrack_crypto_la-wpapsk.lo
  CC       libaircrack_crypto_la-crypto_engine.lo
  CPPAS    sha1-sse2.lo
  CCLD     libaircrack-crypto.la
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:878: recipe for target 'libaircrack-crypto.la' failed
make[2]: *** [libaircrack-crypto.la] Error 1
make[2]: Leaving directory '/home/patatoide/git/aircrack-ng-1.4/src/aircrack-crypto'
Makefile:1931: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/patatoide/git/aircrack-ng-1.4/src'
Makefile:585: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Could somebody please tell me where is the error and how to fix it? :( I’m sorry, I’m new at Linux, but i try to learn as much as I can

i hope you can help me. I want to install libmad and madplay on my System, so that SOX can decode mp3 files.

My System:

cat /proc/version
Linux version 3.4.76-65.111.amzn1.i686 (mockbuild@gobi-build-31003) 
(gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) )
#1 SMP Tue Jan 14 21:06:12 UTC 2014

What i´ve done:

Download:

[user@ip ~]$ wget ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
    --2014-01-25 15:50:40--  ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
               => ‘libmad-0.15.1b.tar.gz’
    Resolving ftp.mars.org (ftp.mars.org)... 216.75.62.9, 2001:470:8398:101::1
    Connecting to ftp.mars.org (ftp.mars.org)|216.75.62.9|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD (1) /pub/mpeg ... done.
    ==> SIZE libmad-0.15.1b.tar.gz ... 502379
    ==> PASV ... done.    ==> RETR libmad-0.15.1b.tar.gz ... done.
    Length: 502379 (491K) (unauthoritative)

    100%[=======================================>] 502,379     1.29MB/s   in 0.4s

    2014-01-25 15:50:41 (1.29 MB/s) - ‘libmad-0.15.1b.tar.gz’ saved [502379]

unpacked

[user@ip ~]$ gunzip libmad-0.15.1b.tar.gz
[user@ip ~]$ tar xfv libmad-0.15.1b.tar

./configure (I know that it is much and no idea whether it is relevant but I’ll give it once for the fault i get)

[user@ip libmad-0.15.1b]$ ./configure
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for a sed that does not truncate output... /bin/sed
checking for egrep... 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 recognise 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 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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
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 if gcc static flag  works... 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 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++ 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
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for pid_t... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for waitpid... yes
checking for fcntl... yes
checking for pipe... yes
checking for fork... yes
checking whether to optimize for speed or for accuracy... default
checking for architecture-specific fixed-point math routines... INTEL
checking for ISO/IEC interpretation... best accepted practices
checking whether to enable profiling... no
checking whether to enable debugging... default
checking whether to enable experimental code... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating msvc++/Makefile
config.status: creating libmad.list
config.status: creating config.h
config.status: executing depfiles commands

And if i want to compile it with «make» i get the following error:

[ec2-user@ip-172-31-7-175 libmad-0.15.1b]$ make
(sed -e '1s|.*|/*|' -e '1b' -e '$s|.*| */|' -e '$b'  
                -e 's/^.*/ *&/' ./COPYRIGHT; echo;  
        echo "# ifdef __cplusplus";  
        echo 'extern "C" {';  
        echo "# endif"; echo;  
        if [ ".-DFPM_INTEL" != "." ]; then  
                echo ".-DFPM_INTEL" | sed -e 's|^.-D|# define |'; echo;  
        fi;  
        sed -ne 's/^# *define  *(HAVE_.*_ASM).*/# define 1/p'  
                config.h; echo;  
        sed -ne 's/^# *define  *OPT_(SPEED|ACCURACY).*/# define OPT_1/p'  
                config.h; echo;  
        sed -ne 's/^# *define  *(SIZEOF_.*)/# define 1/p'  
                config.h; echo;  
        for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h; do  
                echo;  
                sed -n -f ./mad.h.sed ./$header;  
        done; echo;  
        echo "# ifdef __cplusplus";  
        echo '}';  
        echo "# endif") >mad.h
make  all-recursive
make[1]: Entering directory `/home/ec2-user/libmad-0.15.1b'
make[2]: Entering directory `/home/ec2-user/libmad-0.15.1b'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL  DASO_ZEROCHECK    -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jump  -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fsche ule-insns2 -fstrength-reduce -MT version.lo -MD -MP -MF ".deps/version.Tpo" -c -  version.lo version.c; 
        then mv -f ".deps/version.Tpo" ".deps/version.Plo"; else rm -f ".deps/ve sion.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK -Wall -march=i486 -  -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -MT vers on.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fPIC -DPIC -o .libs/version.o
cc1: error: unrecognized command line option '-fforce-mem'
make[2]: *** [version.lo] Error 1
make[2]: Leaving directory `/home/ec2-user/libmad-0.15.1b'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/libmad-0.15.1b'
make: *** [all] Error 2

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • New to Ubuntu
  • [ubuntu] [all-recursive] Error 1

  1. [all-recursive] Error 1

    I’ve been trying to compile Screem and only recently got the ./configure to make all of the files; but, when I try to ‘make’ it gives the [all-recursive error 1:

    oddfox@etpc:~/screem$ sudo make
    make all-recursive
    make[1]: Entering directory `/home/oddfox/screem’
    Making all in po
    make[2]: Entering directory `/home/oddfox/screem/po’
    make[2]: Nothing to be done for `all’.
    make[2]: Leaving directory `/home/oddfox/screem/po’
    Making all in libegg
    make[2]: Entering directory `/home/oddfox/screem/libegg’
    Making all in util
    make[3]: Entering directory `/home/oddfox/screem/libegg/util’
    make[3]: Nothing to be done for `all’.
    make[3]: Leaving directory `/home/oddfox/screem/libegg/util’
    Making all in recent-files
    make[3]: Entering directory `/home/oddfox/screem/libegg/recent-files’
    if /bin/bash ../../libtool —tag=CC —mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DEGG_COMPILATION -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtkhtml-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtksourceview-1.0 -I/usr/include/gnome-menus -Wall -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOMEUI_DISABLE_DEPRECATED -g -O2 -MT egg-recent-view.lo -MD -MP -MF «.deps/egg-recent-view.Tpo» -c -o egg-recent-view.lo egg-recent-view.c;
    then mv -f «.deps/egg-recent-view.Tpo» «.deps/egg-recent-view.Plo»; else rm -f «.deps/egg-recent-view.Tpo»; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DEGG_COMPILATION -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gtkhtml-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtksourceview-1.0 -I/usr/include/gnome-menus -Wall -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOMEUI_DISABLE_DEPRECATED -g -O2 -MT egg-recent-view.lo -MD -MP -MF .deps/egg-recent-view.Tpo -c egg-recent-view.c -fPIC -DPIC -o .libs/egg-recent-view.o
    In file included from egg-recent-view.c:28:
    egg-recent-view.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘egg_recent_view_get_type’
    egg-recent-view.c:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘egg_recent_view_get_type’
    egg-recent-view.c: In function ‘egg_recent_view_get_model’:
    egg-recent-view.c:58: warning: implicit declaration of function ‘egg_recent_view_get_type’
    make[3]: *** [egg-recent-view.lo] Error 1
    make[3]: Leaving directory `/home/oddfox/screem/libegg/recent-files’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/oddfox/screem/libegg’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/oddfox/screem’
    make: *** [all] Error 2

    I’ve posted the configure log too because something might be going wrong there, but I’m unable to really tell.

    Here’s the ./configure log (I’m not sure if something is going wrong there, because I’ve read around and it seems my error might come from not executing ‘sudo make’ but I’ve tried that and had no luck. I figure it might be something wrong during configuration. Here’s that log too:

    oddfox@etpc:~/screem$ ./configure
    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 build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking for style of include used by make… GNU
    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 dependency style of gcc… gcc3
    checking for a sed that does not truncate output… /bin/sed
    checking for egrep… 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 recognise 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 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 how to run the C++ preprocessor… g++ -E
    checking for g77… no
    checking for f77… no
    checking for xlf… no
    checking for frt… no
    checking for pgf77… no
    checking for fort77… no
    checking for fl32… no
    checking for af77… no
    checking for f90… no
    checking for xlf90… no
    checking for pgf90… no
    checking for epcf90… no
    checking for f95… no
    checking for fort… no
    checking for xlf95… no
    checking for ifc… no
    checking for efc… no
    checking for pgf95… no
    checking for lf95… no
    checking for gfortran… no
    checking whether we are using the GNU Fortran 77 compiler… no
    checking whether accepts -g… no
    checking the maximum length of command line arguments… 32768
    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 if gcc static flag works… 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 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… no
    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++ 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
    checking whether stripping libraries is possible… yes
    appending configuration tag «F77» to libtool
    checking for library containing strerror… none required
    checking for gcc… (cached) gcc
    checking whether we are using the GNU C compiler… (cached) yes
    checking whether gcc accepts -g… (cached) yes
    checking for gcc option to accept ANSI C… (cached) none needed
    checking dependency style of gcc… (cached) gcc3
    checking for ANSI C header files… (cached) yes
    checking for gconftool-2… /usr/bin/gconftool-2
    checking for intltool >= 0.29… 0.34.1 found
    checking for perl… /usr/bin/perl
    checking for XML:arser… ok
    checking for iconv… /usr/bin/iconv
    checking for msgfmt… /usr/bin/msgfmt
    checking for msgmerge… /usr/bin/msgmerge
    checking for xgettext… /usr/bin/xgettext
    checking for pkg-config… /usr/bin/pkg-config
    checking for GLIB — version >= 2.5.6… yes (version 2.18.2)
    checking for pkg-config… (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking for SCREEM… yes
    checking for GNOMEMENU… yes
    checking for DBUS… yes
    checking for EGG… yes
    checking for CROCO… yes
    Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
    Using $(sysconfdir)/gconf/schemas as install directory for schema files
    checking for mkdir… yes
    checking for strsignal… yes
    checking for strerror… yes
    checking for memcpy… yes
    checking for strstr… yes
    checking for fnmatch… yes
    checking for dirent.h that defines DIR… yes
    checking for library containing opendir… none required
    checking for sys/wait.h that is POSIX.1 compatible… yes
    checking fcntl.h usability… yes
    checking fcntl.h presence… yes
    checking for fcntl.h… yes
    checking for unistd.h… (cached) yes
    checking stdarg.h usability… yes
    checking stdarg.h presence… yes
    checking for stdarg.h… yes
    checking for strings.h… (cached) yes
    checking sys/time.h usability… yes
    checking sys/time.h presence… yes
    checking for sys/time.h… yes
    checking for stdlib.h… (cached) yes
    checking termios.h usability… yes
    checking termios.h presence… yes
    checking for termios.h… yes
    checking for off_t… yes
    checking for long… yes
    checking size of long… 4
    checking for off_t… (cached) yes
    checking size of off_t… 4
    checking locale.h usability… yes
    checking locale.h presence… yes
    checking for locale.h… yes
    checking for LC_MESSAGES… yes
    checking libintl.h usability… yes
    checking libintl.h presence… yes
    checking for libintl.h… yes
    checking for ngettext in libc… yes
    checking for dgettext in libc… yes
    checking for bind_textdomain_codeset… yes
    checking for msgfmt… /usr/bin/msgfmt
    checking for dcgettext… yes
    checking for gmsgfmt… /usr/bin/msgfmt
    checking for xgettext… /usr/bin/xgettext
    checking for catalogs to be installed… az cs da de el es fr it ja ko nb no pl pt_BR ru rw sk sv tr uk vi zh_CN
    checking for scrollkeeper-config… /usr/bin/scrollkeeper-config
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libegg/Makefile
    config.status: creating libegg/recent-files/Makefile
    config.status: creating libegg/util/Makefile
    config.status: creating libegg/toolbar-editor/Makefile
    config.status: creating gdl/Makefile
    config.status: creating include/Makefile
    config.status: creating src/Makefile
    config.status: creating glade/Makefile
    config.status: creating ui/Makefile
    config.status: creating po/Makefile.in
    config.status: creating plugins/Makefile
    config.status: creating plugins/screem-plugin.pc
    config.status: creating plugins/colourWizard/Makefile
    config.status: creating plugins/entityWizard/Makefile
    config.status: creating plugins/linkWizard/Makefile
    config.status: creating plugins/tableWizard/Makefile
    config.status: creating plugins/ssiWizard/Makefile
    config.status: creating plugins/formWizard/Makefile
    config.status: creating plugins/uploadWizard/Makefile
    config.status: creating plugins/css-wizard/Makefile
    config.status: creating plugins/object-wizard/Makefile
    config.status: creating resources/Makefile
    config.status: creating resources/Applets/Makefile
    config.status: creating resources/Images/Makefile
    config.status: creating resources/Javascript/Makefile
    config.status: creating resources/PHP3/Makefile
    config.status: creating resources/HTML/Makefile
    config.status: creating resources/Templates/Makefile
    config.status: creating splash/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/C/Makefile
    config.status: creating docs/C/figures/Makefile
    config.status: creating pixmaps/Makefile
    config.status: creating hints/Makefile
    config.status: creating dtd/Makefile
    config.status: creating data/Makefile
    config.status: creating data/mime/Makefile
    config.status: creating data/tagtrees/Makefile
    config.status: creating helpers/Makefile
    config.status: creating helpers/Tidy/Makefile
    config.status: creating helpers/browsers/Makefile
    config.status: creating helpers/browsers-remote/Makefile
    config.status: creating tests/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing intltool commands
    config.status: executing default-1 commands
    config.status: executing default commands

    Configuration:
    Source code location: .
    Compiler: gcc

    Install location: /usr/local

    Type make to build Screem.

    I made sure GCC was already installed, etc. So…I’m not sure what’s wrong and i’m a n00b at compiling.

    Thanks.

    0ddfox

    Last edited by 0ddFox; April 3rd, 2009 at 08:31 PM.

    Reason: clarification


  2. Re: [all-recursive] Error 1

    Did you know it is in the repos? Assuming that you are trying to install

    screem — A GNOME website development environment

    You can install it from there

    Code:

    sudo apt-get install screem

    Just a fyi — if you had used code instead of quote then the config log would look a lot smaller


Tags for this Thread

Bookmarks

Bookmarks


Posting Permissions

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Closed

AtomScott opened this issue

May 30, 2019

· 3 comments

Comments

@AtomScott

I’m trying to build the rcssmonitor after running «./configure» but I get the following error on the ubuntu 18.04 machine I am using.

me@mypcr:~/rcssmonitor$ make
make  all-recursive
make[1]: Entering directory '/home/member/rcssmonitor'
Making all in src
make[2]: Entering directory '/home/member/rcssmonitor/src'
g++ -W -Wall -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/qt4/QtCore -g -O2 -L/usr/X11R6/lib64 -L/usr/lib/x86_64-linux-gnu -o rcssmonitor rcsslogplayer/rcssmonitor-parser.o rcsslogplayer/rcssmonitor-types.o rcsslogplayer/rcssmonitor-util.o rcssmonitor-angle_deg.o rcssmonitor-ball_painter.o rcssmonitor-circle_2d.o rcssmonitor-config_dialog.o rcssmonitor-disp_holder.o rcssmonitor-draw_info_painter.o rcssmonitor-field_canvas.o rcssmonitor-field_painter.o rcssmonitor-line_2d.o rcssmonitor-log_player.o rcssmonitor-main_window.o rcssmonitor-monitor_client.o rcssmonitor-options.o rcssmonitor-player_painter.o rcssmonitor-player_type_dialog.o rcssmonitor-score_board_painter.o rcssmonitor-team_graphic.o rcssmonitor-team_graphic_painter.o rcssmonitor-vector_2d.o rcssmonitor-main.o rcssmonitor-moc_config_dialog.o rcssmonitor-moc_field_canvas.o rcssmonitor-moc_log_player.o rcssmonitor-moc_main_window.o rcssmonitor-moc_monitor_client.o rcssmonitor-moc_player_type_dialog.o -lboost_program_options -pthread -lQtGui -lQtCore -lfontconfig -lpthread -laudio -lXt -lgthread-2.0 -lglib-2.0 -lpng -lz -lfreetype -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXi -lXrender -lfontconfig -lfreetype -lXext -lX11 -lm -lQtNetwork -lQtCore -lfontconfig -lpthread -lz -lQtCore -lfontconfig -lpthread -lz -lm -ldl -lgthread-2.0 -lglib-2.0 -lrt -lz -lm 
/usr/bin/ld: cannot find -lfontconfig
collect2: error: ld returned 1 exit status
Makefile:488: recipe for target 'rcssmonitor' failed
make[2]: *** [rcssmonitor] Error 1
make[2]: Leaving directory '/home/member/rcssmonitor/src'
Makefile:392: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/member/rcssmonitor'
Makefile:333: recipe for target 'all' failed
make: *** [all] Error 2

I was able to install the soccer server without any problem by following the instructions, but I am stuck here.

Any help wil be helpful.

@Afshari9978

you should install following packages from apt using this command:

sudo apt install libfontconfig1 fontconfig libfontconfig1-dev fontconfig-config libxi-dev libaudio-dev libxrender-dev

@AtomScott

Thank you, running the command solved the problem.

@ProgramPaNo18

Hi i tried and installed those packages but still i cant make the project
here is the error:
make all-recursive make[1]: Entering directory '/home/pano/Desktop/2D/Monitor/rcssmonitor-15.2.1' Making all in src make[2]: Entering directory '/home/pano/Desktop/2D/Monitor/rcssmonitor-15.2.1/src' g++ -W -Wall -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/qt4/QtCore -g -O2 -L/usr/X11R6/lib64 -L/usr/lib/x86_64-linux-gnu -o rcssmonitor rcsslogplayer/rcssmonitor-parser.o rcsslogplayer/rcssmonitor-types.o rcsslogplayer/rcssmonitor-util.o rcssmonitor-angle_deg.o rcssmonitor-ball_painter.o rcssmonitor-circle_2d.o rcssmonitor-config_dialog.o rcssmonitor-disp_holder.o rcssmonitor-draw_info_painter.o rcssmonitor-field_canvas.o rcssmonitor-field_painter.o rcssmonitor-line_2d.o rcssmonitor-log_player.o rcssmonitor-main_window.o rcssmonitor-monitor_client.o rcssmonitor-options.o rcssmonitor-player_painter.o rcssmonitor-player_type_dialog.o rcssmonitor-score_board_painter.o rcssmonitor-team_graphic.o rcssmonitor-team_graphic_painter.o rcssmonitor-vector_2d.o rcssmonitor-main.o rcssmonitor-moc_config_dialog.o rcssmonitor-moc_field_canvas.o rcssmonitor-moc_log_player.o rcssmonitor-moc_main_window.o rcssmonitor-moc_monitor_client.o rcssmonitor-moc_player_type_dialog.o -lboost_program_options -pthread -lQtGui -lQtCore -lfontconfig -lpthread -laudio -lXt -lgthread-2.0 -lglib-2.0 -lpng -lz -lfreetype -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXi -lXrender -lfontconfig -lfreetype -lXext -lX11 -lm -lQtNetwork -lQtCore -lfontconfig -lpthread -lz -lQtCore -lfontconfig -lpthread -lz -lm -ldl -lgthread-2.0 -lglib-2.0 -lrt -lz -lm /usr/bin/ld: cannot find -lXt /usr/bin/ld: cannot find -lSM /usr/bin/ld: cannot find -lICE collect2: error: ld returned 1 exit status Makefile:488: recipe for target 'rcssmonitor' failed make[2]: *** [rcssmonitor] Error 1 make[2]: Leaving directory '/home/pano/Desktop/2D/Monitor/rcssmonitor-15.2.1/src' Makefile:392: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/pano/Desktop/2D/Monitor/rcssmonitor-15.2.1' Makefile:333: recipe for target 'all' failed make: *** [all] Error 2
I have Linux Mint 19.3 Bionic and i think this is a problem with all bionic versions of linux

#1 2015-03-03 17:30:13

SwitchDhole
Member
Registered: 2015-02-01
Posts: 51

[SOLVED] Recipie for target all-recursive failed

Hello Arch Forums! I’m compiling prboom and alephone. Both give me the same error,

Makefile:285: recipe for target ‘install-recursive’ failed

I’ve done some searching and still haven’t found a solution. What is all-recursive, and how can I continue installation?

Here’s the full report:

make  all-recursive
make[1]: Entering directory ‘/home/switch/Downloads/prboom-2.5.0’
Making all in doc
make[2]: Entering directory ‘/home/switch/Downloads/prboom-2.5.0/doc’
make[2]: Nothing to be done for ‘all’.
make[2]: Leaving directory ‘/home/switch/Downloads/prboom-2.5.0/doc’
Making all in data
make[2]: Entering directory ‘/home/switch/Downloads/prboom-2.5.0/data’
make[2]: Nothing to be done for ‘all’.
make[2]: Leaving directory ‘/home/switch/Downloads/prboom-2.5.0/data’
Making all in src
make[2]: Entering directory ‘/home/switch/Downloads/prboom-2.5.0/src’
Making all in SDL
make[3]: Entering directory ‘/home/switch/Downloads/prboom-2.5.0/src/SDL’
gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -Wall -Wno-unused -Wno-switch -march=native -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT i_sshot.o -MD -MP -MF .deps/i_sshot.Tpo -c -o i_sshot.o i_sshot.c
i_sshot.c: In function ‘I_ScreenShot’:
i_sshot.c:234:32: error: ‘png_error_ptr_NULL’ undeclared (first use in this function)
         PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
                                ^
i_sshot.c:234:32: note: each undeclared identifier is reported only once for each function it appears in
i_sshot.c:282:43: error: ‘png_infopp_NULL’ undeclared (first use in this function)
       png_destroy_write_struct(&png_ptr,  png_infopp_NULL);
                                           ^
Makefile:242: recipe for target ‘i_sshot.o’ failed
make[3]: *** [i_sshot.o] Error 1
make[3]: Leaving directory ‘/home/switch/Downloads/prboom-2.5.0/src/SDL’
Makefile:460: recipe for target ‘all-recursive’ failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ‘/home/switch/Downloads/prboom-2.5.0/src’
Makefile:285: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/home/switch/Downloads/prboom-2.5.0’
Makefile:205: recipe for target ‘all’ failed
make: *** [all] Error 2

Last edited by SwitchDhole (2015-03-04 05:59:45)

#2 2015-03-03 17:56:33

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: [SOLVED] Recipie for target all-recursive failed

This sounds like a problem that is specific to the package or the code itself. I’m don’t use either of those, but I can give you some general recommendations.

`pacman -Syu` has been known to fix compilation errors when a package depends on a header file that is owned by another package. Unfortunately this works the other way around, too: the packages you’re trying to install might depend on an older header file that has been upgraded by pacman. The latter is usually a result of outdated code and is much harder to fix.

`grep png_error_ptr_NULL -R /usr/include` will show you which header files the identifier appears in (if any). One of them should contain the declaration, so make sure that file is #include’d in i_sshot.c

For best results, I recommend contacting the package maintainer, posting a comment on the AUR package page, or contacting upstream directly. Those users are likely to be more knowledgeable about this software than the rest of us on the forum.

#3 2015-03-03 19:00:24

SwitchDhole
Member
Registered: 2015-02-01
Posts: 51

Re: [SOLVED] Recipie for target all-recursive failed

It probably is due to outdated code. I’ll use the AUR version then. These are emulators for DOOM and Marathon, so they’re bound to be dated.

What’s the difference between using the AUR and compiling the package from the website, anyway?

I thought the website package would be more ‘pure’, as in not using anything Arch specific and less likely to contain malicious code.

Last edited by SwitchDhole (2015-03-03 19:09:34)

#4 2015-03-03 19:34:51

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,211

Re: [SOLVED] Recipie for target all-recursive failed

AUR package prboom compiles correctly.  Looking at the prboom pkgbuild it does two things you are probably not doing

  # path fix
  sed "s|/games|/bin|g" -i src/Makefile.in
  # allow building with newer libpng
  patch -p1 < ../libpng-1.4.patch

Looking at your make error, I see

 i_sshot.c:234:32: error: ‘png_error_ptr_NULL’ undeclared (first use in this function)
         PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);

The libpng version needs to be updated from upstream package.

#5 2015-03-03 19:35:42

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] Recipie for target all-recursive failed

Using a pkgbuild means that pacman can manage all of the files, making it easier to remove the software and/or manage updates. Just make sure that the pkgbuild doesn’t do any weird stuff and the AUR will prove to be rather useful for installing software.

Last edited by runical (2015-03-03 19:36:09)

Понравилась статья? Поделить с друзьями:

Не пропустите эти материалы по теме:

  • Яндекс еда ошибка привязки карты
  • All in one checker ошибка загрузите базу
  • Alimentazione gusta ошибка рено
  • Alignment error due to printheads ошибка
  • Alight motion ошибка 3565

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии