I am working on a board with PPC Arch running Vxworks 5.4. I wish to use CUnit(2.1-3) for UT and I am configuring CUnit library with powerpc-eabi using following command:
But I am getting error:
checking for powerpc-eabi-gcc... /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Can you please suggest a possible Solution for this issue. ??
config.log file is pasted below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by CUnit configure 2.1-3, which was
generated by GNU Autoconf 2.59. Invocation command line was
Hi Sudhanshu,
I am not very familiar with PPC cross compiling, but looking at the logs, looks like you may be missing libraries / dependent linking in the cross compilation environment:configure:2527: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99 -nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources conftest.c >&5
/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/ccuFCyRP.o: In function main':
conftest.c:(.text+0x14): undefined reference to__eabi'
collect2: ld returned 1 exit status
configure:2530: $? = 1
configure: failed program was:
Thanks
On Sunday 5 November 2017, 1:47:29 AM GMT-5, Sudhanshu Garg <sud3006@users.sf.net> wrote:
I am working on a board with PPC Arch running Vxworks 5.4. I wish to use CUnit(2.1-3) for UT and I am configuring CUnit library with powerpc-eabi using following command:
But I am getting error:
checking for powerpc-eabi-gcc... /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Can you please suggest a possible Solution for this issue. ??
config.log file is pasted below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by CUnit configure 2.1-3, which was
generated by GNU Autoconf 2.59. Invocation command line was
I am working on a board with PPC Arch running Vxworks 5.4. I wish to use CUnit(2.1-3) for UT and I am configuring CUnit library with powerpc-eabi using following command:
./configure CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc CXX=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++ --build=i686-pc-linux --host=powerpc-eabi LDFLAGS='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/' --with-gnu-ld --prefix=/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/
But I am getting error:
checking for powerpc-eabi-gcc... /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Can you please suggest a possible Solution for this issue. ??
config.log file is pasted below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by CUnit configure 2.1-3, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc CXX=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++ --build=i686-pc-linux --host=powerpc-eabi --prefix=/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/ LDFLAGS=-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ --with-gnu-ld
uname -m = x86_64
uname -r = 2.6.18-416.el5
uname -s = Linux
uname -v = #1 SMP Wed Oct 26 12:04:18 EDT 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sw/packages/ccache/2.3.4/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /vob/pacwan/tools/bin
PATH: /users/guca/perl/bin
PATH: /users/guca/bin
PATH: /usr/kerberos/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /vob/pacwan/tools/bin
PATH: /users/guca/perl/bin
PATH: /users/guca/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /usr/cisco/bin
PATH: /usr/cisco/etc
PATH: /users/sudhgarg/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/cisco/bin
PATH: .
PATH: /auto/ses/bin
PATH: /vob/t2/host/sun4-solaris2/bin
PATH: /auto/sw/licensed/sun/jdk/1.5.0_06/bin
PATH: /users/sudhgarg/bin
PATH: /usr/ucb
PATH: /bin
PATH: /usr/bin
PATH: /auto/ses/bin
PATH: /vob/t2/host/sun4-solaris2/bin
PATH: /auto/sw/licensed/sun/jdk/1.5.0_06/bin
PATH: /users/sudhgarg/bin
Core tests.
configure:1556: checking for a BSD-compatible install
configure:1611: result: /usr/bin/install -c
configure:1622: checking whether build environment is sane
configure:1665: result: yes
configure:1730: checking for gawk
configure:1746: found /router/bin/gawk
configure:1756: result: gawk
configure:1766: checking whether make sets $(MAKE)
configure:1786: result: yes
configure:1862: checking for powerpc-eabi-strip
configure:1891: result: no
configure:1900: checking for strip
configure:1916: found /usr/bin/strip
configure:1927: result: strip
configure:2177: checking for powerpc-eabi-gcc
configure:2203: result: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
configure:2485: checking for C compiler version
configure:2488: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc --version </dev>&5
3.4.5 p5 (Cisco c3.4.5-p5)
configure:2491: $? = 0
configure:2493: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -v </dev>&5
Reading specs from /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/specs
Configured with: /auto/swtools/prod-builds/src/gcc-c3.4.5-p5/gcc/configure --srcdir=/auto/swtools/prod-builds/src/gcc-c3.4.5-p5/gcc --build=i686-pc-linux --target=powerpc-eabi --host=i686-pc-linux --prefix=/sw/packages/gcc/c3.4.5-p5 --exec-prefix=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux --enable-languages=c,c++ --disable-nls
Thread model: single
gcc version 3.4.5 p5 (Cisco c3.4.5-p5)
configure:2496: $? = 0
configure:2498: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc --version </dev>&5
3.4.5 p5 (Cisco c3.4.5-p5)
configure:2501: $? = 0
configure:2524: checking for C compiler default output file name
configure:2527: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99 -nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources conftest.c >&5
/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/ccuFCyRP.o: In function
main': conftest.c:(.text+0x14): undefined reference to
__eabi'collect2: ld returned 1 exit status
configure:2530: $? = 1
configure: failed program was:
| / confdefs.h. /
|
| #define PACKAGE_NAME "CUnit"
| #define PACKAGE_TARNAME "cunit"
| #define PACKAGE_VERSION "2.1-3"
| #define PACKAGE_STRING "CUnit 2.1-3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "CUnit"
| #define VERSION "2.1-3"
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2569: error: C compiler cannot create executables
See `config.log' for more details.
Cache variables.
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
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=set
ac_cv_env_CXX_value=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++
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='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=powerpc-eabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
Output variables.
ACLOCAL='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run tar'
AR=''
AUTOCONF='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run autoconf'
AUTOHEADER='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run autoheader'
AUTOMAKE='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run automake-1.9'
AWK='gawk'
BUILD_AUTOMATED='TRUE'
BUILD_BASIC='TRUE'
BUILD_CONSOLE='TRUE'
BUILD_CURSES='FALSE'
BUILD_EXAMPLES='FALSE'
BUILD_TEST='FALSE'
CC='/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc'
CCDEPMODE=''
CFLAGS=' -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99'
CPP=''
CPPFLAGS=''
CURSES_LIB=''
CXX='/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_AUTOMATED_FALSE='#'
ENABLE_AUTOMATED_TRUE=''
ENABLE_BASIC_FALSE='#'
ENABLE_BASIC_TRUE=''
ENABLE_CONSOLE_FALSE='#'
ENABLE_CONSOLE_TRUE=''
ENABLE_CURSES_FALSE=''
ENABLE_CURSES_TRUE=''
ENABLE_DEBUG='FALSE'
ENABLE_DEPRECATED='FALSE'
ENABLE_EXAMPLES_FALSE=''
ENABLE_EXAMPLES_TRUE='#'
ENABLE_MEMTRACE='FALSE'
ENABLE_TEST_FALSE=''
ENABLE_TEST_TRUE='#'
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_AGE='0'
LIBTOOL_CURRENT='1'
LIBTOOL_REVISION='1'
LIBTOOL_SUFFIX1='1'
LIBTOOL_SUFFIX='1.0.1'
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run makeinfo'
OBJEXT=''
PACKAGE='CUnit'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='CUnit'
PACKAGE_STRING='CUnit 2.1-3'
PACKAGE_TARNAME='cunit'
PACKAGE_VERSION='2.1-3'
PATH_SEPARATOR=':'
RANLIB=''
RELEASE='3'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='2.1'
VERSION_MAJOR='2'
VERSION_MINOR='1'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
amfastdepCC_FALSE=''
amfastdepCC_TRUE=''
amfastdepCXX_FALSE=''
amfastdepCXX_TRUE=''
aminclude=''
amleading_dot='.'
amquote=''
amtar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux'
build_alias='i686-pc-linux'
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='powerpc-eabi'
host_alias='powerpc-eabi'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
configure: exit 77
Hi Sudhanshu,
I am not very familiar with PPC cross compiling, but looking at the logs, looks like you may be missing libraries / dependent linking in the cross compilation environment:configure:2527: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99 -nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources conftest.c >&5
/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/ccuFCyRP.o: In function
main': conftest.c:(.text+0x14): undefined reference to
__eabi'collect2: ld returned 1 exit status
configure:2530: $? = 1
configure: failed program was:
Thanks
I am working on a board with PPC Arch running Vxworks 5.4. I wish to use CUnit(2.1-3) for UT and I am configuring CUnit library with powerpc-eabi using following command:
./configure CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc CXX=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++ --build=i686-pc-linux --host=powerpc-eabi LDFLAGS='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/' --with-gnu-ld --prefix=/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/
But I am getting error:
checking for powerpc-eabi-gcc... /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Can you please suggest a possible Solution for this issue. ??
config.log file is pasted below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by CUnit configure 2.1-3, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc CXX=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++ --build=i686-pc-linux --host=powerpc-eabi --prefix=/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/ LDFLAGS=-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ --with-gnu-ld
uname -m = x86_64
uname -r = 2.6.18-416.el5
uname -s = Linux
uname -v = #1 SMP Wed Oct 26 12:04:18 EDT 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sw/packages/ccache/2.3.4/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /vob/pacwan/tools/bin
PATH: /users/guca/perl/bin
PATH: /users/guca/bin
PATH: /usr/kerberos/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /vob/pacwan/tools/bin
PATH: /users/guca/perl/bin
PATH: /users/guca/bin
PATH: /router/bin
PATH: /usr/atria/bin
PATH: /usr/cisco/bin
PATH: /usr/cisco/etc
PATH: /users/sudhgarg/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/cisco/bin
PATH: .
PATH: /auto/ses/bin
PATH: /vob/t2/host/sun4-solaris2/bin
PATH: /auto/sw/licensed/sun/jdk/1.5.0_06/bin
PATH: /users/sudhgarg/bin
PATH: /usr/ucb
PATH: /bin
PATH: /usr/bin
PATH: /auto/ses/bin
PATH: /vob/t2/host/sun4-solaris2/bin
PATH: /auto/sw/licensed/sun/jdk/1.5.0_06/bin
PATH: /users/sudhgarg/bin
Core tests.
configure:1556: checking for a BSD-compatible install
configure:1611: result: /usr/bin/install -c
configure:1622: checking whether build environment is sane
configure:1665: result: yes
configure:1730: checking for gawk
configure:1746: found /router/bin/gawk
configure:1756: result: gawk
configure:1766: checking whether make sets $(MAKE)
configure:1786: result: yes
configure:1862: checking for powerpc-eabi-strip
configure:1891: result: no
configure:1900: checking for strip
configure:1916: found /usr/bin/strip
configure:1927: result: strip
configure:2177: checking for powerpc-eabi-gcc
configure:2203: result: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
configure:2485: checking for C compiler version
configure:2488: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc --version </dev>&5
3.4.5 p5 (Cisco c3.4.5-p5)
configure:2491: $? = 0
configure:2493: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -v </dev>&5
Reading specs from /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/specs
Configured with: /auto/swtools/prod-builds/src/gcc-c3.4.5-p5/gcc/configure --srcdir=/auto/swtools/prod-builds/src/gcc-c3.4.5-p5/gcc --build=i686-pc-linux --target=powerpc-eabi --host=i686-pc-linux --prefix=/sw/packages/gcc/c3.4.5-p5 --exec-prefix=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux --enable-languages=c,c++ --disable-nls
Thread model: single
gcc version 3.4.5 p5 (Cisco c3.4.5-p5)
configure:2496: $? = 0
configure:2498: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc --version </dev>&5
3.4.5 p5 (Cisco c3.4.5-p5)
configure:2501: $? = 0
configure:2524: checking for C compiler default output file name
configure:2527: /sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99 -nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources conftest.c >&5
/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/lib/gcc/powerpc-eabi/3.4.5/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/ccuFCyRP.o: In function
main': conftest.c:(.text+0x14): undefined reference to
__eabi'collect2: ld returned 1 exit status
configure:2530: $? = 1
configure: failed program was:
| / confdefs.h. /
|
| #define PACKAGE_NAME "CUnit"
| #define PACKAGE_TARNAME "cunit"
| #define PACKAGE_VERSION "2.1-3"
| #define PACKAGE_STRING "CUnit 2.1-3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "CUnit"
| #define VERSION "2.1-3"
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2569: error: C compiler cannot create executables
See `config.log' for more details.
Cache variables.
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
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=set
ac_cv_env_CXX_value=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++
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='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=powerpc-eabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
Output variables.
ACLOCAL='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run tar'
AR=''
AUTOCONF='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run autoconf'
AUTOHEADER='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run autoheader'
AUTOMAKE='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run automake-1.9'
AWK='gawk'
BUILD_AUTOMATED='TRUE'
BUILD_BASIC='TRUE'
BUILD_CONSOLE='TRUE'
BUILD_CURSES='FALSE'
BUILD_EXAMPLES='FALSE'
BUILD_TEST='FALSE'
CC='/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/gcc'
CCDEPMODE=''
CFLAGS=' -DRELEASE=@RELEASE@ -Wall -W -pedantic -Wshadow -ansi -I/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Headers -std=c99'
CPP=''
CPPFLAGS=''
CURSES_LIB=''
CXX='/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/bin/g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_AUTOMATED_FALSE='#'
ENABLE_AUTOMATED_TRUE=''
ENABLE_BASIC_FALSE='#'
ENABLE_BASIC_TRUE=''
ENABLE_CONSOLE_FALSE='#'
ENABLE_CONSOLE_TRUE=''
ENABLE_CURSES_FALSE=''
ENABLE_CURSES_TRUE=''
ENABLE_DEBUG='FALSE'
ENABLE_DEPRECATED='FALSE'
ENABLE_EXAMPLES_FALSE=''
ENABLE_EXAMPLES_TRUE='#'
ENABLE_MEMTRACE='FALSE'
ENABLE_TEST_FALSE=''
ENABLE_TEST_TRUE='#'
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-nostdlib -lgcc -L/sw/packages/gcc/c3.4.5-p5/i686-pc-linux/powerpc-eabi/lib/ -L/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/CUnit/Sources'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_AGE='0'
LIBTOOL_CURRENT='1'
LIBTOOL_REVISION='1'
LIBTOOL_SUFFIX1='1'
LIBTOOL_SUFFIX='1.0.1'
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/missing --run makeinfo'
OBJEXT=''
PACKAGE='CUnit'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='CUnit'
PACKAGE_STRING='CUnit 2.1-3'
PACKAGE_TARNAME='cunit'
PACKAGE_VERSION='2.1-3'
PATH_SEPARATOR=':'
RANLIB=''
RELEASE='3'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='2.1'
VERSION_MAJOR='2'
VERSION_MINOR='1'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
amfastdepCC_FALSE=''
amfastdepCC_TRUE=''
amfastdepCXX_FALSE=''
amfastdepCXX_TRUE=''
aminclude=''
amleading_dot='.'
amquote=''
amtar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux'
build_alias='i686-pc-linux'
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='powerpc-eabi'
host_alias='powerpc-eabi'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/ws/sudhgarg-bgl/build/cunit/CUnit-2.1-3/local/'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
configure: exit 77
Issue in generating libcunit.a | Vxworks Powerpc-eabi
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cunit/discussion/103746/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/