linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02756
[Bug 690584] [NEW] scons: *** [build/debug-default/bin/_pyadchpp.so] Error 1
Public bug reported:
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for dlopen() in C library dl... (cached) yes
Checking for pthread_create() in C library pthread... (cached) yes
Checking for SSL_connect() in C library ssl... (cached) yes
No Linux support for PHP extensions yet
scons: done reading SConscript files.
scons: Building targets ...
swig -o build/release-default/swig/python_wrap.cc -outdir build/release-default/bin -c++ -threads -Wall -python -O -modern -features autodoc=1 swig/python.i
swig/full.i:26: Warning 322: Redundant redeclaration of 'Callback',
swig/full.i:11: Warning 322: previous declaration of 'Callback'.
swig/adchpp.i:547: Warning 403: Class 'adchpp::Client' might be abstract, no constructors generated,
swig/adchpp.i:499: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:569: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:499: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:553: Warning 509: Overloaded method adchpp::Client::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:499: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
swig/adchpp.i:574: Warning 509: Overloaded method adchpp::Bot::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:499: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
swig/adchpp.i:634: Warning 472: Overloaded method adchpp::ClientManager::createBot(PyObject *) with no explicit typecheck typemap for arg 1 of type 'adchpp::Bot::SendHandler'
Linking build/release-default/bin/_pyadchpp.so (shared)
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libpython2.7.a(posixmodule.o): In function `posix_openpty':
/root/Python-2.7.1/./Modules/posixmodule.c:3746: undefined reference to `openpty'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libpython2.7.a(posixmodule.o): In function `posix_forkpty':
/root/Python-2.7.1/./Modules/posixmodule.c:3806: undefined reference to `forkpty'
collect2: выполнение ld завершилось с кодом возврата 1
# collect2 0.36 0.10
scons: *** [build/release-default/bin/_pyadchpp.so] Error 1
scons: building terminated because of errors.
scons -v
SCons by Steven Knight et al.:
script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
root@hub2:~/adc/adchpp#
swig -version
SWIG Version 2.0.1
Compiled with g++ [i686-pc-linux-gnu]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
python -V
Python 2.7.1
gcc -v
Используются внутренние спецификации.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Целевая архитектура: i686-pc-linux-gnu
Параметры конфигурации: ./configure
Модель многопоточности: posix
gcc версия 4.5.1 (GCC)
** Affects: adchpp
Importance: Undecided
Status: New
** Tags: bug install
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/690584
Title:
scons: *** [build/debug-default/bin/_pyadchpp.so] Error 1
Status in ADCH++:
New
Bug description:
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for dlopen() in C library dl... (cached) yes
Checking for pthread_create() in C library pthread... (cached) yes
Checking for SSL_connect() in C library ssl... (cached) yes
No Linux support for PHP extensions yet
scons: done reading SConscript files.
scons: Building targets ...
swig -o build/release-default/swig/python_wrap.cc -outdir build/release-default/bin -c++ -threads -Wall -python -O -modern -features autodoc=1 swig/python.i
swig/full.i:26: Warning 322: Redundant redeclaration of 'Callback',
swig/full.i:11: Warning 322: previous declaration of 'Callback'.
swig/adchpp.i:547: Warning 403: Class 'adchpp::Client' might be abstract, no constructors generated,
swig/adchpp.i:499: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:569: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:499: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:553: Warning 509: Overloaded method adchpp::Client::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:499: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
swig/adchpp.i:574: Warning 509: Overloaded method adchpp::Bot::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:499: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
swig/adchpp.i:634: Warning 472: Overloaded method adchpp::ClientManager::createBot(PyObject *) with no explicit typecheck typemap for arg 1 of type 'adchpp::Bot::SendHandler'
Linking build/release-default/bin/_pyadchpp.so (shared)
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libpython2.7.a(posixmodule.o): In function `posix_openpty':
/root/Python-2.7.1/./Modules/posixmodule.c:3746: undefined reference to `openpty'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libpython2.7.a(posixmodule.o): In function `posix_forkpty':
/root/Python-2.7.1/./Modules/posixmodule.c:3806: undefined reference to `forkpty'
collect2: выполнение ld завершилось с кодом возврата 1
# collect2 0.36 0.10
scons: *** [build/release-default/bin/_pyadchpp.so] Error 1
scons: building terminated because of errors.
scons -v
SCons by Steven Knight et al.:
script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
root@hub2:~/adc/adchpp#
swig -version
SWIG Version 2.0.1
Compiled with g++ [i686-pc-linux-gnu]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
python -V
Python 2.7.1
gcc -v
Используются внутренние спецификации.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Целевая архитектура: i686-pc-linux-gnu
Параметры конфигурации: ./configure
Модель многопоточности: posix
gcc версия 4.5.1 (GCC)
Follow ups
References