piranha eth0 dev yield ypy python scons py scons Reading SConscript fi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
piranha@eth0 ~/dev/yield/ypy>python ../scons.py
scons: Reading SConscript files ...
Checking for C library python2.5... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/cpp/ypy_exe/ypy_exe.o -c -fno-rtti -fPIC -fexceptions -fno-omit-frame-pointer -g -D_DEBUG -I/usr/include/python2.5 -I/home/piranha/dev/yield/yield/include -I/home/piranha/dev/yield/yield_core/include -Iinclude src/cpp/ypy_exe/ypy_exe.cpp
In file included from include/ypy/python_binding.h:6,
from include/ypy/ypy.h:6,
from src/cpp/ypy_exe/ypy_exe.cpp:1:
/home/piranha/dev/yield/yield_core/include/yield/binding.h: In member function ‘size_t yield::Binding::writeString(const yield::Binding::Declaration&, const char*)’:
/home/piranha/dev/yield/yield_core/include/yield/binding.h:32: error: ‘strlen’ was not declared in this scope
src/cpp/ypy_exe/ypy_exe.cpp: At global scope:
src/cpp/ypy_exe/ypy_exe.cpp:21: warning: deprecated conversion from string constant to ‘char*’
src/cpp/ypy_exe/ypy_exe.cpp:21: warning: deprecated conversion from string constant to ‘char*’
scons: *** [src/cpp/ypy_exe/ypy_exe.o] Error 1
scons: building terminated because of errors.
piranha@eth0 ~/dev/yield/ypy>gcc --version
gcc (Debian 4.3.1-2) 4.3.1
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.