After successfully building/installing efl-1.15.1, Enlightenment emotion_generic_players-1.15.0 on pristine Debian Jessie, ./configure --prefix=/usr succeeds but make fail:
make --no-print-directory all-am
CC src/vlc/src_vlc_vlc-emotion_generic_vlc.o
CCLD src/vlc/vlc
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_add_end'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_event_freeze_count_get'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_call_resolve'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_hook_call_post'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_add_internal_start'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_do_end'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_parent_set'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_finalize'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_event_thaw'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_event_callback_call'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_destructor'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_event_freeze'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_do_start'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `_eo_api_op_id_get'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libecore.so: undefined reference to `eo_hook_call_pre'
collect2: error: ld returned 1 exit status
make[1]: *** [src/vlc/vlc] Error 1
Makefile:456: recipe for target 'src/vlc/vlc' failed
make: *** [all] Error 2
Makefile:350: recipe for target 'all' failed
And Then Tried Clang...
CXX=clang++ CC=clang ./configure --prefix=/usr ...
which, again builds/installs efl-1.15.1; successfully finishes the ./configure phase of emotion generic players 1.15.0 but fails (as with gcc 4.9.2 and 5.2.1 versions above) at the make phase:
make --no-print-directory all-am
CC src/vlc/src_vlc_vlc-emotion_generic_vlc.o
CCLD src/vlc/vlc
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_add_end'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_event_freeze_count_get'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_call_resolve'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_hook_call_post'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_add_internal_start'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_do_end'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_parent_set'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_finalize'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_event_thaw'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_event_callback_call'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_destructor'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_event_freeze'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_do_start'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `_eo_api_op_id_get'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../libecore.so: undefined reference to `eo_hook_call_pre'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [src/vlc/vlc] Error 1
Makefile:456: recipe for target 'src/vlc/vlc' failed
make: *** [all] Error 2
Makefile:350: recipe for target 'all' failed
12/12/2015
Shell
emotion_generic_players-1.15.0$ gcc --version |
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And then tried again gcc but with newer version efl-1.15.2 --which built and installed successfully-- as in version 1.15.1.
And Here is subsequent emotion generic players 1.15.0 successful configure log:
./configure --prefix=/usr
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether the compiler supports -Wall... yes
checking whether the compiler supports -Wextra... yes
checking whether the compiler supports -Wpointer-arith... yes
checking whether the compiler supports -Wno-missing-field-initializers... yes
checking whether the compiler supports -fvisibility=hidden... yes
checking whether the compiler supports -fdata-sections... yes
checking whether the compiler supports -ffunction-sections... yes
checking whether the linker supports -fvisibility=hidden... yes
checking whether the linker supports -fdata-sections... yes
checking whether the linker supports -ffunction-sections... yes
checking whether the linker supports -Wl,--gc-sections... yes
checking whether the linker supports -fno-strict-aliasing... yes
checking whether the linker supports -Wl,--as-needed... yes
checking whether the compiler supports -Wshadow... yes
checking for EMOTION... yes
checking where to install generic players... /usr/lib/emotion/generic_players/v-1.15
checking for VLC... yes
checking for library containing shm_open... -lrt
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgbuild/PKGBUILD
config.status: creating config.h
config.status: executing depfiles commands
-------------------------------------------------------------
emotion_generic_players 1.15.0
------------------------------------------------------------------------
Configuration Options Summary:
Build Profile..........: dev
Players:
VLC....................: yes
Compilation..............: make (or gmake)
CPPFLAGS...............:
CFLAGS.................: -g -O2
CXXFLAGS...............:
LDFLAGS................:
prefix.................: /usr
emotion generic players: /usr/lib/emotion/generic_players/v-1.15
Nevertheless, make issue with emotion generic players does not change. make fails with similar errors as with gcc and clang in prior instances. Only differences (besides being different compilers) are:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and
collect2: error: ld returned 1 exit status
References: How to build clang with clang?