[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] configure issues
From: |
Ramakrishnan Muthukrishnan |
Subject: |
[Discuss-gnuradio] configure issues |
Date: |
03 Aug 2003 10:02:01 +0530 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I downloaded gnuradio-0.8 and did
./configure --enable-shared
Now, I see that some headerfiles, which exist in my system
are reported as not exixting.
Here is the relevant log:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for gcc... gcc
...
...
I saw the config.log file and am seeing that the compiler was
not properly invoked...
...
configure:1810: result: no
configure:1846: checking for ANSI C header files
configure:1860: conftest.c
./configure: conftest.c: command not found
configure:1866: $? = 127
configure: failed program was:
#line 1851 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
configure:1973: result: no
configure:1997: checking for sys/types.h
configure:2010: -c conftest.c >&5
./configure: -c: command not found
configure:2013: $? = 127
configure: failed program was:
#line 2002 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
...
What is wrong? I am autoconf illiterate and am trying to make
sense of it all by reading the autoconf documents. :-(
Now, at the end of compilation, I get these errors:
Making all in tests
make[4]: Entering directory `/home/rkrishnan/gnuradio-0.8/src/gnu/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src/gnu/tests'
Making all in atsc
make[4]: Entering directory `/home/rkrishnan/gnuradio-0.8/src/gnu/atsc'
/bin/sh ../../../libtool --mode=link g++ -g -O2 -Wall -Woverloaded-virtual -o
atsc_rx atsc_rx.o ../../../src/gnu/lib/libgnuradio.la
g++ -g -O2 -Wall -Woverloaded-virtual -o .libs/atsc_rx atsc_rx.o
../../../src/gnu/lib/.libs/libgnuradio.so -lrfftw -lfftw -lm -Wl,--rpath
-Wl,/usr/local/gnuradio/lib
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestAssert::assertImplementation(bool, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, long, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestAssert::assertEquals(double, double, double, long,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::getName() const'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::TestCase[not-in-charge]()'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to `typeinfo for
CppUnit::TestCase'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::setUp()'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::countTestCases() const'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::TestCase[not-in-charge](std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::runTest()'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::run()'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::~TestCase [not-in-charge]()'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestSuite::TestSuite[in-charge](std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestAssert::assertEquals(long, long, long, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::run(CppUnit::TestResult*)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::toString() const'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestSuite::addTest(CppUnit::Test*)'
../../../src/gnu/lib/.libs/libgnuradio.so: undefined reference to
`CppUnit::TestCase::tearDown()'
collect2: ld returned 1 exit status
make[4]: *** [atsc_rx] Error 1
make[4]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src/gnu/atsc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src/gnu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rkrishnan/gnuradio-0.8'
make: *** [all-recursive-am] Error 2
Any idea what is wrong?
Thanks
--
Ramakrishnan M http://www.hackGNU.org/
Use Free Software -- Help stamp out Software Hoarding!
- [Discuss-gnuradio] configure issues,
Ramakrishnan Muthukrishnan <=