what my intension is i want to cross complile vlc source code into arm9 mini 2440 target board for that i am compiling vlc source code in intel desktop pc which has fedora 10 version. so that in order to compile vlc source code we need to install following codecs those are libmad 0.15.1b,libid3tag-0.15.1b,madplay-0.15.1b,i got these codecs from
http://www.underbit.com/products/mad/ .and vlc sorce code from
http://www.videolan.org/vlc/download-sources.html. i have successfully compiled libmad 0.15.1b and libid3tag-0.15.1b . those two are compiled in the following way
[color]
./cofigure --prefix=/home/narendra/lib/
make
make install
[/color]
i was trying to compile madplay-0.15.1b in the following way
Code:
./configure --prefix=/home/narendra/madplay-0.15.1b CPPFLAGS="-I /home/narendra/lib/libmad-0.15.1b/include/" LDFLAGS="-L /home/narendra/lib/libid3tag-0.15.1b/lib/"
after this command i keep getting this error message
Code:
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... configure: error: C compiler cannot create executables
See `config.log' for more details.
i have read config.log file but i am not getting and config.log file details are
Code:
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost
uname -m = i686
uname -r = 2.6.27.5-117.fc10.i686
uname -s = Linux
uname -v = #1 SMP Tue Nov 18 12:19:59 EST 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib/ccache
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/narendra/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1571: checking for a BSD-compatible install
configure:1626: result: /usr/bin/install -c
configure:1637: checking whether build environment is sane
configure:1680: result: yes
configure:1737: checking for gawk
configure:1753: found /usr/bin/gawk
configure:1763: result: gawk
configure:1773: checking whether make sets $(MAKE)
configure:1793: result: yes
configure:1968: checking build system type
configure:1986: result: i686-pc-linux-gnu
configure:1994: checking host system type
configure:2008: result: i686-pc-linux-gnu
configure:2071: checking for gcc
configure:2087: found /usr/lib/ccache/gcc
configure:2097: result: gcc
configure:2341: checking for C compiler version
configure:2344: gcc --version </dev/null >&5
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
Copyright (C) 2008 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:2347: $? = 0
configure:2349: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
Thread model: posix
gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
configure:2352: $? = 0
configure:2354: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2357: $? = 1
configure:2380: checking for C compiler default output file name
configure:2383: gcc -I /home/narendra/lib/libmad-0.15.1b/include/ -L /home/narendra/lib/libid3tag-0.15.1b/lib/ conftest.c >&5
cc1: error: /home/narendra/lib/libmad-0.15.1b/include/: Permission denied
configure:2386: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "MPEG audio decoder and player"
| #define PACKAGE_TARNAME "madplay"
| #define PACKAGE_VERSION "0.15.2b"
| #define PACKAGE_STRING "MPEG audio decoder and player 0.15.2b"
| #define PACKAGE_BUGREPORT "rob@mars.org"
#define PACKAGE "madplay"
| #define VERSION "0.15.2b"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2425: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
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=set
ac_cv_env_CPPFLAGS_value='-I /home/narendra/lib/libmad-0.15.1b/include/'
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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L /home/narendra/lib/libid3tag-0.15.1b/lib/'
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_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/narendra/madplay-0.15.2b/missing --run aclocal-1.8'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/narendra/madplay-0.15.2b/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/narendra/madplay-0.15.2b/missing --run autoconf'
AUTOHEADER='${SHELL} /home/narendra/madplay-0.15.2b/missing --run autoheader'
AUTOMAKE='${SHELL} /home/narendra/madplay-0.15.2b/missing --run automake-1.8'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS='-I /home/narendra/lib/libmad-0.15.1b/include/'
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GENCAT=''
GLIBC21=''
GMSGFMT=''
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LDFLAGS='-L /home/narendra/lib/libid3tag-0.15.1b/lib/'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/narendra/madplay-0.15.2b/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
PACKAGE='madplay'
PACKAGE_BUGREPORT='rob@mars.org'
PACKAGE_NAME='MPEG audio decoder and player'
PACKAGE_STRING='MPEG audio decoder and player 0.15.2b'
PACKAGE_TARNAME='madplay'
PACKAGE_VERSION='0.15.2b'
PATH_SEPARATOR=':'
POSUB=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='0.15.2b'
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
depend_audio=''
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/narendra/madplay-0.15.2b/install-sh'
ldadd_audio=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/home/narendra/madplay-0.15.2b'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "madplay"
#define PACKAGE_BUGREPORT "rob@mars.org"
#define PACKAGE_NAME "MPEG audio decoder and player"
#define PACKAGE_STRING "MPEG audio decoder and player 0.15.2b"
#define PACKAGE_TARNAME "madplay"
#define PACKAGE_VERSION "0.15.2b"
#define VERSION "0.15.2b"
configure: exit 78
;