On Tue, Feb 3, 2009 at 10:12 AM, John Wiegley wrote:
>
> On Feb 3, 2009, at 12:21 AM, Manish wrote:
>
>>> , ledger::value_t const&, boost::gregorian::date const&)]+0
>>
>> | x3c): undefined reference to `vtable for ledger::reconcile_xacts'
>
> I only wish my build system was as thorough. Fixed and pushed.

Thanks!  And make completes!  But fullcheck fails.  I am listing
complete listing this time so you can look at some warnings as well.

,----[ git pull ]
| master% cd /data/desktop/johnw/ledger
| master% git pull
| remote: Counting objects: 5, done.
| remote: Compressing objects: 100% (3/3), done.
| remote: Total 3 (delta 2), reused 0 (delta 0)
| Unpacking objects: 100% (3/3), done.
| From git://github.com/jwiegley/ledger
|    c2306e6..b52e9cf  master     -> origin/master
| Updating c2306e6..b52e9cf
| Fast forward
|  Makefile.am |   29 +++++------------------------
|  1 files changed, 5 insertions(+), 24 deletions(-)
`----
,----[ acprep ]
| master% ./acprep
| Preparing the ledger build system...please wait
|
| Found GNU Autoconf version 2.61
| Found GNU Automake version 1.10.1
| Found GNU Libtool version 1.5.26
|
| Automatically preparing build ... done
|
| The ledger build system is now prepared.  To build here, run:
|   ./configure
|   make
| 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... gawk
| checking whether make sets $(MAKE)... yes
| checking for g++... g++
| checking for C++ compiler default output file name... a.out
| checking whether the C++ compiler works... yes
| checking whether we are cross compiling... no
| checking for suffix of executables...
| checking for suffix of object files... o
| checking whether we are using the GNU C++ compiler... yes
| checking whether g++ accepts -g... yes
| checking for style of include used by make... GNU
| checking dependency style of g++... gcc3
| checking whether make sets $(MAKE)... (cached) yes
| checking build system type... i686-pc-linux-gnu
| checking host system type... i686-pc-linux-gnu
| checking for gcc... gcc
| 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 dependency style of gcc... gcc3
| checking for a sed that does not truncate output... /bin/sed
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking for ld used by gcc... /usr/bin/ld
| checking if the linker (/usr/bin/ld) is GNU ld... yes
| checking for /usr/bin/ld option to reload object files... -r
| checking for BSD-compatible nm... /usr/bin/nm -B
| checking whether ln -s works... yes
| checking how to recognize dependent libraries... pass_all
| checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
| checking dlfcn.h presence... yes
| checking for dlfcn.h... yes
| checking how to run the C++ preprocessor... g++ -E
| checking for g77... no
| checking for xlf... no
| checking for f77... no
| checking for frt... no
| checking for pgf77... no
| checking for cf77... no
| checking for fort77... no
| checking for fl32... no
| checking for af77... no
| checking for xlf90... no
| checking for f90... no
| checking for pgf90... no
| checking for pghpf... no
| checking for epcf90... no
| checking for gfortran... gfortran
| checking whether we are using the GNU Fortran 77 compiler... yes
| checking whether gfortran accepts -g... yes
| checking the maximum length of command line arguments... 98304
| checking command to parse /usr/bin/nm -B output from gcc object... ok
| checking for objdir... .libs
| checking for ar... ar
| checking for ranlib... ranlib
| checking for strip... strip
| checking if gcc supports -fno-rtti -fno-exceptions... no
| checking for gcc option to produce PIC... -fPIC
| checking if gcc PIC flag -fPIC works... yes
| checking if gcc static flag -static works... yes
| checking if gcc supports -c -o file.o... yes
| checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... no
| checking whether to build static libraries... yes
| configure: creating libtool
| appending configuration tag "CXX" to libtool
| checking for ld used by g++... /usr/bin/ld
| checking if the linker (/usr/bin/ld) is GNU ld... yes
| checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
| checking for g++ option to produce PIC... -fPIC
| checking if g++ PIC flag -fPIC works... yes
| checking if g++ static flag -static works... yes
| checking if g++ supports -c -o file.o... yes
| checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| (cached) (cached) checking how to hardcode library paths into
programs... immediate
| appending configuration tag "F77" to libtool
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... no
| checking whether to build static libraries... yes
| checking for gfortran option to produce PIC... -fPIC
| checking if gfortran PIC flag -fPIC works... yes
| checking if gfortran static flag -static works... yes
| checking if gfortran supports -c -o file.o... yes
| checking whether the gfortran linker (/usr/bin/ld) supports shared
libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| (cached) (cached) checking how to hardcode library paths into
programs... immediate
| checking for emacs... emacs
| checking where .elc files should go... ${datarootdir}/emacs/site-lisp
| checking if pipes can be used... true
| checking if libgmp is available... true
| checking if libmpfr is available... true
| checking if boost_regex is available... true
| checking if boost_date_time is available... true
| checking if boost_filesystem is available... true
| checking if libofx is available... false
| checking for a Python interpreter with version >= 2.4... python
| checking for python... /usr/bin/python
| checking for python version... 2.5
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.5/site-packages
| checking for python extension module directory...
${exec_prefix}/lib/python2.5/site-packages
| checking if boost_python is available... true
| checking if cppunit is available... false
| checking for ANSI C header files... (cached) yes
| checking whether stat file-mode macros are broken... no
| checking langinfo.h usability... yes
| checking langinfo.h presence... yes
| checking for langinfo.h... yes
| checking for size_t... yes
| checking whether struct tm is in sys/time.h or time.h... time.h
| checking for access... yes
| checking for realpath... yes
| checking for getpwuid... yes
| checking for getpwnam... yes
| checking for nl_langinfo... yes
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating acconf.h
| config.status: executing depfiles commands
`----
,----[ make ]
| master% time make
| make  all-am
| make[1]: Entering directory `/data/desktop/johnw/ledger'
|     CXX libledger_report_la-session.lo
|     CXX libledger_report_la-report.lo
|     CXX libledger_report_la-filters.lo
|     CXX libledger_report_la-chain.lo
|     CXX libledger_report_la-precmd.lo
|     CXX libledger_report_la-output.lo
|     CXX libledger_report_la-help.lo
|     CXX libledger_report_la-derive.lo
|     CXX libledger_report_la-reconcile.lo
|     CXX libledger_report_la-quotes.lo
|     LD libledger_report.la
|     CXX libledger_parse_la-textual.lo
|     CXX libledger_parse_la-cache.lo
|     CXX libledger_parse_la-xml.lo
|     CXX libledger_parse_la-csv.lo
|     CXX libledger_parse_la-emacs.lo
|     CXX libledger_parse_la-qif.lo
|     CXX libledger_parse_la-gnucash.lo
|     LD libledger_parse.la
|     CXX libledger_data_la-item.lo
|     CXX libledger_data_la-xact.lo
|     CXX libledger_data_la-entry.lo
|     CXX libledger_data_la-account.lo
|     CXX libledger_data_la-journal.lo
|     CXX libledger_data_la-timelog.lo
|     CXX libledger_data_la-iterators.lo
|     CXX libledger_data_la-compare.lo
|     LD libledger_data.la
|     CXX libledger_expr_la-token.lo
|     CXX libledger_expr_la-parser.lo
|     CXX libledger_expr_la-op.lo
|     CXX libledger_expr_la-expr.lo
|     CXX libledger_expr_la-scope.lo
|     CXX libledger_expr_la-predicate.lo
|     CXX libledger_expr_la-format.lo
|     CXX libledger_expr_la-option.lo
|     LD libledger_expr.la
|     CXX libledger_math_la-amount.lo
|     CXX libledger_math_la-commodity.lo
|     CXX libledger_math_la-balance.lo
|     CXX libledger_math_la-balpair.lo
|     CXX libledger_math_la-value.lo
|     LD libledger_math.la
|     CXX libledger_util_la-utils.lo
|     CXX libledger_util_la-error.lo
|     CXX libledger_util_la-times.lo
|     CXX libledger_util_la-mask.lo
|     CXX libledger_util_la-stream.lo
|     CXX libledger_util_la-binary.lo
|     LD libledger_util.la
|     CXX libledger_python_la-py_utils.lo
|     CXX libledger_python_la-py_times.lo
| python/py_times.cc: In static member function �static PyObject*
ledger::date_to_python::convert(const ledger::date&)�:
| python/py_times.cc:49: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:49: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc: In static member function �static void*
ledger::date_from_python::convertible(PyObject*)�:
| python/py_times.cc:58: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:58: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc: In static member function �static void
ledger::date_from_python::construct(PyObject*,
boost::python::converter::rvalue_from_py
| thon_stage1_data*)�:
| python/py_times.cc:65: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:65: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc: In static member function �static PyObject*
ledger::datetime_to_python::convert(const ledger::datetime_t&)�:
| python/py_times.cc:82: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:82: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc: In static member function �static void*
ledger::datetime_from_python::convertible(PyObject*)�:
| python/py_times.cc:95: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:95: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc: In static member function �static void
ledger::datetime_from_python::construct(PyObject*,
boost::python::converter::rvalue_fro
| m_python_stage1_data*)�:
| python/py_times.cc:102: warning: deprecated conversion from string
constant to �char*�
| python/py_times.cc:102: warning: deprecated conversion from string
constant to �char*�
|     CXX libledger_python_la-py_amount.lo
|     CXX libledger_python_la-py_commodity.lo
|     CXX libledger_python_la-py_value.lo
|     CXX libledger_python_la-pyinterp.lo
|     LD libledger_python.la
|     CXX ledger-main.o
|     CXX ledger-work.o
|     LD ledger
| BUILD_DIR=`cd .; pwd`; \
|         SRC_DIR=`cd .; pwd`; \
|         (cd .; \
|          CFLAGS="-isystem /usr/local/include -isystem
/opt/local/include -isystem /opt/local/include/libofx -isystem
/usr/local/include/boost-1_37
|  -isystem /usr/include/python2.5 -I. -I$BUILD_DIR -I./src -I./lib
-I./lib/utfcpp/source -I./lib/irrxml/src -I./python  -pthread -pipe" \
|          LDFLAGS="-L/usr/local/lib -L/usr/lib -L/opt/local/lib
-L/usr/lib/python2.5/config -L$BUILD_DIR -L$BUILD_DIR/.libs" \
|          ARCHFLAGS="" PYLIBS="ledger_python ledger_report
ledger_parse ledger_data ledger_expr ledger_math ledger_util gmp mpfr
boost_system boost
| _date_time boost_filesystem boost_regex boost_python " VERSION="3.0" \
|              SRCDIR="$SRC_DIR" /usr/bin/python python/setup.py build \
|                 --build-lib=$BUILD_DIR/ --build-temp=$BUILD_DIR/build -f)
| running build
| running build_ext
| building 'ledger' extension
| creating /data/desktop/johnw/ledger/build
| creating /data/desktop/johnw/ledger/build/data
| creating /data/desktop/johnw/ledger/build/data/desktop
| creating /data/desktop/johnw/ledger/build/data/desktop/johnw
| creating /data/desktop/johnw/ledger/build/data/desktop/johnw/ledger
| creating /data/desktop/johnw/ledger/build/data/desktop/johnw/ledger/python
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -isystem /usr/local/include -isystem
/opt/local/include -isyst
| em /opt/local/include/libofx -isystem /usr/local/include/boost-1_37
-isystem /usr/include/python2.5 -I. -I/data/desktop/johnw/ledger
-I./src -I./l
| ib -I./lib/utfcpp/source -I./lib/irrxml/src -I./python -pthread
-pipe -fPIC -DPYTHON_MODULE=1 -I/usr/include/python2.5 -c
/data/desktop/johnw/ledg
| er/python/pyledger.cc -o
/data/desktop/johnw/ledger/build/data/desktop/johnw/ledger/python/pyledger.o
| cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
| g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-L/usr/local/lib -L/usr/lib -L/opt/local/lib
-L/usr/lib/python2.5/config -L/data/desktop/joh
| nw/ledger -L/data/desktop/johnw/ledger/.libs -isystem
/usr/local/include -isystem /opt/local/include -isystem
/opt/local/include/libofx -isystem /
| usr/local/include/boost-1_37 -isystem /usr/include/python2.5 -I.
-I/data/desktop/johnw/ledger -I./src -I./lib -I./lib/utfcpp/source
-I./lib/irrxml
| /src -I./python -pthread -pipe
/data/desktop/johnw/ledger/build/data/desktop/johnw/ledger/python/pyledger.o
-lledger_python -lledger_report -lledg
| er_parse -lledger_data -lledger_expr -lledger_math -lledger_util
-lgmp -lmpfr -lboost_system -lboost_date_time -lboost_filesystem
-lboost_regex -l
| boost_python -o /data/desktop/johnw/ledger/ledger.so
| make[1]: Leaving directory `/data/desktop/johnw/ledger'
| make  185.80s user 11.01s system 99% cpu 3:17.45 total
`----
,----[ make fullcheck ]
| master% time make fullcheck
| echo "/usr/bin/python ./test/regress.py ./ledger ./test/regress" >
RegressionTests
| chmod 755 RegressionTests
| /usr/bin/python ./test/convert.py test/unit/t_utils.cc test/python/t_utils.py
| /usr/bin/python ./test/convert.py test/unit/t_times.cc test/python/t_times.py
| /usr/bin/python ./test/convert.py test/unit/t_commodity.cc
test/python/t_commodity.py
| /usr/bin/python ./test/convert.py test/unit/t_amount.cc
test/python/t_amount.py
| /usr/bin/python ./test/convert.py test/unit/t_balance.cc
test/python/t_balance.py
| /usr/bin/python ./test/convert.py test/unit/t_expr.cc test/python/t_expr.py
| all_test_sources: test/UnitTests.cc test/UnitTests.h
test/util_tests.cc test/unit/t_utils.cc test/unit/t_utils.h
test/unit/t_times.cc test/unit/t_
| times.h test/UnitTests.cc test/UnitTests.h test/math_tests.cc
test/unit/t_commodity.cc test/unit/t_commodity.h test/unit/t_amount.cc
test/unit/t_a
| mount.h test/unit/t_balance.cc test/unit/t_balance.h
test/UnitTests.cc test/UnitTests.h test/expr_tests.cc
test/unit/t_expr.cc test/unit/t_expr.h
| test/UnitTests.cc test/UnitTests.h test/data_tests.cc
test/UnitTests.cc test/UnitTests.h test/parse_tests.cc
test/UnitTests.cc test/UnitTests.h te
| st/report_tests.cc
| all_py_test_sources: ./test/python/t_utils.py
./test/python/t_times.py ./test/python/t_commodity.py
./test/python/t_amount.py ./test/python/t_bala
| nce.py ./test/python/t_expr.py
| cat ./test/PyUnitTests.py \
|             | sed "s/%python%/`echo "/usr/bin/python" | sed
's/\//\\\\\//g'`/" \
|             | sed "s/%srcdir%/`echo "." | sed 's/\//\\\\\//g'`/g" \
|             | sed "s/%builddir%/`echo "." | sed 's/\//\\\\\//g'`/g"
> PyUnitTests
| chmod 755 PyUnitTests
| sh ./tools/fullcheck ./util_tests   --verify
| ./tools/fullcheck: line 15: /data/desktop/johnw/ledger/util_tests:
No such file or directory
| ./tools/fullcheck: line 15: exec:
/data/desktop/johnw/ledger/util_tests: cannot execute: No such file or
directory
| make: *** [fullcheck] Error 126
| make fullcheck  0.74s user 0.06s system 93% cpu 0.850 total
`----

Thanks
-- 
Manish

Reply via email to