Ciao!
> On 21 October 2011 07:15, Nicola Ferralis<feran...@hotmail.com> wrote:
>> /usr/bin/ld: filempeg.o: undefined reference to symbol
>> 'lame_encode_buffer_float'
>> /usr/bin/ld: note: 'lame_encode_buffer_float' is defined in DSO
>> /usr/lib/libmp3lame.so.0 so try adding it to the linker command line
>> /usr/lib/libmp3lame.so.0: could not read symbols: Invalid operation
>> collect2: ld returned 1 exit status
>> Did anybody encounter this error? Any suggestions on how to deal
with this?
On 10/21/2011 07:55 AM, Michal Fapso wrote:
It seems that you need to add "-lmp3lame" to the linker command line.
I'm trying to compile latest Cinelerra on Oneric and I'm having the same
issue.
I have been suggested to add
LDFLAGS='--copy-dt-needed-entries'
to the configure command.
This is the configure error I get:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/raffa/CinelerraCV':
configure: error: C compiler cannot create executables
See `config.log' for more details
My config.log is attached.
Thank you for any Grandma-proof help.
Ciao!
Raffaella
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Cinelerra configure 2.1.5, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --with-buildinfo=git/recompile --enable-mmx --without-pic LDFLAGS=--copy-dt-needed-entries
## --------- ##
## Platform. ##
## --------- ##
hostname = raffa-laptop
uname -m = i686
uname -r = 3.0.0-12-generic-pae
uname -s = Linux
uname -v = #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2673: checking build system type
configure:2687: result: i686-pc-linux-gnu
configure:2707: checking host system type
configure:2720: result: i686-pc-linux-gnu
configure:2740: checking target system type
configure:2753: result: i686-pc-linux-gnu
configure:2800: checking for a BSD-compatible install
configure:2868: result: /usr/bin/install -c
configure:2879: checking whether build environment is sane
configure:2929: result: yes
configure:3070: checking for a thread-safe mkdir -p
configure:3109: result: /bin/mkdir -p
configure:3122: checking for gawk
configure:3152: result: no
configure:3122: checking for mawk
configure:3138: found /usr/bin/mawk
configure:3149: result: mawk
configure:3160: checking whether make sets $(MAKE)
configure:3182: result: yes
configure:3278: checking whether NLS is requested
configure:3287: result: yes
configure:3325: checking for msgfmt
configure:3356: result: /usr/bin/msgfmt
configure:3365: checking for gmsgfmt
configure:3396: result: /usr/bin/msgfmt
configure:3436: checking for xgettext
configure:3467: result: /usr/bin/xgettext
configure:3507: checking for msgmerge
configure:3537: result: /usr/bin/msgmerge
configure:3600: checking for style of include used by make
configure:3628: result: GNU
configure:3698: checking for gcc
configure:3714: found /usr/bin/gcc
configure:3725: result: gcc
configure:3954: checking for C compiler version
configure:3963: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 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.
configure:3974: $? = 0
configure:3963: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configure:3974: $? = 0
configure:3963: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3974: $? = 4
configure:3963: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3974: $? = 4
configure:3994: checking whether the C compiler works
configure:4016: gcc --copy-dt-needed-entries conftest.c >&5
gcc: error: unrecognized option '--copy-dt-needed-entries'
configure:4020: $? = 1
configure:4058: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Cinelerra"
| #define PACKAGE_TARNAME "cinelerra"
| #define PACKAGE_VERSION "2.1.5"
| #define PACKAGE_STRING "Cinelerra 2.1.5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cinelerra"
| #define VERSION "2.1.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4063: error: in `/home/raffa/CinelerraCV':
configure:4065: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FFMPEG_CFLAGS_set=
ac_cv_env_FFMPEG_CFLAGS_value=
ac_cv_env_FFMPEG_LIBS_set=
ac_cv_env_FFMPEG_LIBS_value=
ac_cv_env_FFMPEG_TEMP_CFLAGS_set=
ac_cv_env_FFMPEG_TEMP_CFLAGS_value=
ac_cv_env_FFMPEG_TEMP_LIBS_set=
ac_cv_env_FFMPEG_TEMP_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=--copy-dt-needed-entries
ac_cv_env_LIBDV_CFLAGS_set=
ac_cv_env_LIBDV_CFLAGS_value=
ac_cv_env_LIBDV_LIBS_set=
ac_cv_env_LIBDV_LIBS_value=
ac_cv_env_LIBIEC61883_CFLAGS_set=
ac_cv_env_LIBIEC61883_CFLAGS_value=
ac_cv_env_LIBIEC61883_LIBS_set=
ac_cv_env_LIBIEC61883_LIBS_value=
ac_cv_env_LIBRAW1394_CFLAGS_set=
ac_cv_env_LIBRAW1394_CFLAGS_value=
ac_cv_env_LIBRAW1394_LIBS_set=
ac_cv_env_LIBRAW1394_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBX264_CFLAGS_set=
ac_cv_env_LIBX264_CFLAGS_value=
ac_cv_env_LIBX264_LIBS_set=
ac_cv_env_LIBX264_LIBS_value=
ac_cv_env_MJPEG_CFLAGS_set=
ac_cv_env_MJPEG_CFLAGS_value=
ac_cv_env_MJPEG_LIBS_set=
ac_cv_env_MJPEG_LIBS_value=
ac_cv_env_OPENEXR_CFLAGS_set=
ac_cv_env_OPENEXR_CFLAGS_value=
ac_cv_env_OPENEXR_LIBS_set=
ac_cv_env_OPENEXR_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PNG_CFLAGS_set=
ac_cv_env_PNG_CFLAGS_value=
ac_cv_env_PNG_LIBS_set=
ac_cv_env_PNG_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_libogg_CFLAGS_set=
ac_cv_env_libogg_CFLAGS_value=
ac_cv_env_libogg_LIBS_set=
ac_cv_env_libogg_LIBS_value=
ac_cv_env_libtheora_CFLAGS_set=
ac_cv_env_libtheora_CFLAGS_value=
ac_cv_env_libtheora_LIBS_set=
ac_cv_env_libtheora_LIBS_value=
ac_cv_env_libvorbis_CFLAGS_set=
ac_cv_env_libvorbis_CFLAGS_value=
ac_cv_env_libvorbis_LIBS_set=
ac_cv_env_libvorbis_LIBS_value=
ac_cv_env_libvorbisenc_CFLAGS_set=
ac_cv_env_libvorbisenc_CFLAGS_value=
ac_cv_env_libvorbisenc_LIBS_set=
ac_cv_env_libvorbisenc_LIBS_value=
ac_cv_env_libvorbisfile_CFLAGS_set=
ac_cv_env_libvorbisfile_CFLAGS_value=
ac_cv_env_libvorbisfile_LIBS_set=
ac_cv_env_libvorbisfile_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
A52DEC_CFLAGS=''
A52DEC_LDFLAGS=''
ACLOCAL='${SHELL} /home/raffa/CinelerraCV/missing --run aclocal-1.11'
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/raffa/CinelerraCV/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/raffa/CinelerraCV/missing --run autoconf'
AUTOHEADER='${SHELL} /home/raffa/CinelerraCV/missing --run autoheader'
AUTOMAKE='${SHELL} /home/raffa/CinelerraCV/missing --run automake-1.11'
AWK='mawk'
BUILDINFO_CUSTOM_TAG=''
BUILDINFO_CUST_FALSE=''
BUILDINFO_CUST_TRUE=''
BUILDINFO_GIT_FALSE=''
BUILDINFO_GIT_TRUE=''
BUILDINFO_RECOMPILE_FALSE=''
BUILDINFO_RECOMPILE_TRUE=''
BUILDINFO_SVN_FALSE=''
BUILDINFO_SVN_TRUE=''
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CPU_CFLAGS=''
CSS_CFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
FAAD_CFLAGS=''
FAAD_LIBS=''
FFMPEG_ARCH_32BIT_FALSE=''
FFMPEG_ARCH_32BIT_TRUE=''
FFMPEG_CFLAGS=''
FFMPEG_EXTERNALTEXT=''
FFMPEG_FOLDER=''
FFMPEG_LIBS=''
FFMPEG_TEMP_CFLAGS=''
FFMPEG_TEMP_LIBS=''
FGREP=''
FIREWIRE_CFLAGS=''
FIREWIRE_LDFLAGS=''
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
GMSGFMT='/usr/bin/msgfmt'
GREP=''
HAVE_FIREWIRE_FALSE=''
HAVE_FIREWIRE_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
LARGEFILE_CFLAGS=''
LD=''
LDFLAGS='--copy-dt-needed-entries'
LIBDECORE_LIBADD=''
LIBDV_CFLAGS=''
LIBDV_LIBS=''
LIBICONV=''
LIBIEC61883_CFLAGS=''
LIBIEC61883_LIBS=''
LIBINTL=''
LIBOBJS=''
LIBRAW1394_CFLAGS=''
LIBRAW1394_LIBS=''
LIBS=''
LIBTOOL=''
LIBX264_CFLAGS=''
LIBX264_LIBS=''
LIPO=''
LN_S=''
LTCXX_FLAGS=''
LTC_FLAGS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/raffa/CinelerraCV/missing --run makeinfo'
MANIFEST_TOOL=''
MJPEG_CFLAGS=''
MJPEG_LIBS=''
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS='$(top_builddir)/./mkinstalldirs'
MSGFMT='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
NM=''
NMEDIT=''
OBJCOPY=''
OBJCOPYARCH=''
OBJCOPYTARGET=''
OBJDUMP=''
OBJEXT=''
OPENEXR_CFLAGS=''
OPENEXR_LIBS=''
OPENGL_LIBS=''
OTOOL64=''
OTOOL=''
PACKAGE='cinelerra'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='Cinelerra'
PACKAGE_STRING='Cinelerra 2.1.5'
PACKAGE_TARNAME='cinelerra'
PACKAGE_URL=''
PACKAGE_VERSION='2.1.5'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PNG_CFLAGS=''
PNG_LIBS=''
POSUB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SOUND_CFLAGS=''
SOUND_LDFLAGS=''
STRIP=''
TARGET_ALTIVEC_FALSE=''
TARGET_ALTIVEC_TRUE=''
TARGET_ARCH_POWERPC_FALSE=''
TARGET_ARCH_POWERPC_TRUE=''
TARGET_BUILTIN_VECTOR_FALSE=''
TARGET_BUILTIN_VECTOR_TRUE=''
USE3DNOW_FALSE=''
USE3DNOW_TRUE=''
USEMMX32_FALSE=''
USEMMX32_TRUE=''
USEMMX_FALSE=''
USEMMX_TRUE=''
USE_NLS='yes'
VERSION='2.1.5'
XGETTEXT='/usr/bin/xgettext'
XIPH_CFLAGS=''
XIPH_LIBS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
buildinfo=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
fontsdir=''
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/raffa/CinelerraCV/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libogg_CFLAGS=''
libogg_LIBS=''
libtheora_CFLAGS=''
libtheora_LIBS=''
libvorbis_CFLAGS=''
libvorbis_LIBS=''
libvorbisenc_CFLAGS=''
libvorbisenc_LIBS=''
libvorbisfile_CFLAGS=''
libvorbisfile_LIBS=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
plugindir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Cinelerra"
#define PACKAGE_TARNAME "cinelerra"
#define PACKAGE_VERSION "2.1.5"
#define PACKAGE_STRING "Cinelerra 2.1.5"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "cinelerra"
#define VERSION "2.1.5"
configure: exit 77