The directory /opt/www/bruyninckxh2/web/tmp/drutex-13eca7b808b7f3e589ce9c007544c84f-1 has been created.

[Bug 603] New: compile error in ltilib header with recent gcc

For more infomation about this bug, visit
Summary: compile error in ltilib header with recent gcc
Product: BFL
Version: trunk
Platform: All
OS/Version: GNU/Linux
Status: NEW
Severity: normal
Priority: P3
Component: packages
AssignedTo: bfl [..] ...
ReportedBy: klaas [dot] gadeyne [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

[ 1%] Building CXX object
src/CMakeFiles/orocos-bfl.dir/wrappers/matrix/matrix_LTI.o
cd /home/kgad/SVN/orocos/bfl-trunk/build-lti/src && /usr/bin/c++
-Dorocos_bfl_EXPORTS -g -fPIC
-I/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix
-I/home/kgad/SVN/orocos/bfl-trunk/build-lti/src/wrappers/matrix
-I/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/rng
-I/home/kgad/SVN/orocos/bfl-trunk/build-lti/src/wrappers/rng
-I/home/kgad/SVN/orocos/bfl-trunk/src/sample
-I/home/kgad/SVN/orocos/bfl-trunk/src/pdf
-I/home/kgad/SVN/orocos/bfl-trunk/src/model
-I/home/kgad/SVN/orocos/bfl-trunk/src/filter
-I/home/kgad/SVN/orocos/bfl-trunk/src/smoother -o
CMakeFiles/orocos-bfl.dir/wrappers/matrix/matrix_LTI.o -c
/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix/matrix_LTI.cpp
/usr/include/ltilib/ltiGenericVector_template.h: In member function
'lti::genericVector& lti::genericVector::copy(const
lti::genericVector&) [with T = double]':
/usr/include/ltilib/ltiGenericMatrix_inline.h:377: instantiated from 'void
lti::genericMatrix::getRowCopy(int, lti::genericVector&) const [with T =
double]'
/usr/include/ltilib/ltiMatrix_inline.h:102: instantiated from 'void
lti::matrix::getRowCopy(int, lti::vector&) const [with T = double]'
/usr/include/ltilib/ltiMatrix_inline.h:95: instantiated from 'lti::vector
lti::matrix::getRowCopy(int) const [with T = double]'
/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix/matrix_LTI.cpp:57:
instantiated from here
:505: error: 'memcpy' was not declared in this scope

[kgad@watt ~/SVN/orocos/bfl-trunk/build-lti]$
gcc --version
gcc (Debian 4.3.2-1) 4.3.2
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.

[kgad@watt ~/SVN/orocos/bfl-trunk/build-lti]$
apt-cache show liblti
Package: liblti
Version: 1.9.15-6
Architecture: i386
Depends: libc6
Replaces: libltilib
Conflicts: libltilib
Installed-Size: 40000
Maintainer: Wim Meeussen <wim [dot] meeussen [..] ...>
Priority: optional
Section: libs
Filename: pool/main/libl/liblti/liblti_1.9.15-6_i386.deb
Size: 9096966
MD5sum: ff97dd5bf2694369c9a7c3bead16e6c1
Description: LTI matrix library

It's a missing #include in the header, but it seems that ltilib is
somewhat unmaintained (we've got the most recent version, which dates back from
2005)?