Hi all,

Still trying to compile Lyx CVS on debian 3.0. Config completes
sucessfully, and then (with xforms frontend) I get an error (see below).
Is anyone sucessfully compiling the CVS code on debian at the moment? I
think I may have missed a dev library, but can't guess which it is...

Thanks all.

Configuration
  Host type:                      i686-pc-linux-gnu
  Special build flags:            warnings assertions use-aspell
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  C++ Compiler:                   g++ (3.3.1)
  C++ Compiler flags:             -g -O -fno-exceptions -W -Wall -Winline
  Linker flags:                   
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             1.0.0
  LyX binary dir:                 /usr/local/bin
  LyX files dir:                  /usr/local/share/lyx140cvsXF

***************************

and the error is

/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I./../ -I../../boost  -I/usr/X11R6/include  -g -O
-fno-exceptions -W -Wall -Winline -c -o formulabase.lo `test -f
'formulabase.C' || echo './'`formulabase.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost
-I/usr/X11R6/include -g -O -fno-exceptions -W -Wall -Winline -c
formulabase.C -MT formulabase.lo -MD -MP -MF .deps/formulabase.TPlo
In file included from /usr/include/c++/3.3/cstring:51,
                 from /usr/include/c++/3.3/bits/char_traits.h:45,
                 from /usr/include/c++/3.3/string:47,
                 from ../../src/LString.h:23,
                 from ../../src/Lsstream.h:17,
                 from formulabase.C:17:
/usr/include/string.h:257: error: declaration of C function `void
bcopy(const 
   void*, void*, unsigned int)' conflicts with
/usr/include/string.h:43: error: previous declaration `void* bcopy(const
void*, 
   void*, unsigned int)' here
In file included from /usr/include/c++/3.3/bits/char_traits.h:45,
                 from /usr/include/c++/3.3/string:47,
                 from ../../src/LString.h:23,
                 from ../../src/Lsstream.h:17,
                 from formulabase.C:17:
/usr/include/c++/3.3/cstring:80: error: `memmove' not declared
/usr/include/c++/3.3/cstring:103: error: `strchr' not declared
In file included from /usr/include/c++/3.3/string:47,
                 from ../../src/LString.h:23,
                 from ../../src/Lsstream.h:17,
                 from formulabase.C:17:
/usr/include/c++/3.3/bits/char_traits.h: In static member function `static 
   char* std::char_traits<char>::move(char*, const char*, unsigned int)':
/usr/include/c++/3.3/bits/char_traits.h:151: error: `memmove' undeclared
(first 
   use this function)
/usr/include/c++/3.3/bits/char_traits.h:151: error: (Each undeclared
identifier 
   is reported only once for each function it appears in.)
In file included from /usr/include/c++/3.3/memory:58,
                 from /usr/include/c++/3.3/string:48,
                 from ../../src/LString.h:23,
                 from ../../src/Lsstream.h:17,
                 from formulabase.C:17:
/usr/include/c++/3.3/bits/stl_uninitialized.h: In function `char* 
   std::uninitialized_copy(const char*, const char*, char*)':
/usr/include/c++/3.3/bits/stl_uninitialized.h:118: error: `memmove'
undeclared 
   (first use this function)
/usr/include/c++/3.3/bits/stl_uninitialized.h: In function `wchar_t* 
   std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)':
/usr/include/c++/3.3/bits/stl_uninitialized.h:126: error: `memmove'
undeclared 
   (first use this function)
formulabase.C: In function `void std::_Destroy(_Tp*) [with _Tp =
MathArray]':
formulabase.C:695: warning: inlining failed in call to `virtual 
   ButtonRenderer::~ButtonRenderer()'
formulabase.C:695: warning: called from here
formulabase.C:830:2: warning: #warning pretty ugly
make[3]: *** [formulabase.lo] Error 1
make[3]: Leaving directory `/home/rpinna/src/cvs/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rpinna/src/cvs/lyx-devel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rpinna/src/cvs/lyx-devel/src'
make: *** [all-recursive] Error 1



_________________________________________________________________
rod   | "Beneath the waves, the waves / That's where I will be /
      |     I'm going to see the cow beneath the sea."
      |                 They Might Be Giants, Lincoln


Reply via email to