[arch-general] Problem building Player with pkgbuild
Hi,
I'm trying to build Player with a pkgbuild from the AUR.
Here is the pkgbuild:
http://aur.archlinux.org/packages/player/player/PKGBUILD
Is seems the build is failing because of Arch's strict GCC (I really
don't know if that's the problem)
At first it was failing with this error:
actarrayproxy.cc: In member function ‘player_actarray_actuator_t
PlayerCc::ActArrayProxy::GetActuatorData(uint32_t) const’:
actarrayproxy.cc:246: error: ‘memset’ was not declared in this scope
So I figured that string.h was not included and modified the config.h to
include it :
echo -e "#include
On Thu, 2009-01-08 at 22:57 -0500, Christian Babeux wrote:
echo -e "#include
\n#include \n#include \n#include " >> config.h But now it fails with :
speechproxy.cc:96: error: ‘strdup’ was not declared in this scope
The strange thing is that strdup is declared in string.h...
It's <cstring>, not
Christian Babeux wrote:
Hi,
I'm trying to build Player with a pkgbuild from the AUR.
Here is the pkgbuild: http://aur.archlinux.org/packages/player/player/PKGBUILD
Is seems the build is failing because of Arch's strict GCC (I really don't know if that's the problem)
At first it was failing with this error:
actarrayproxy.cc: In member function ‘player_actarray_actuator_t PlayerCc::ActArrayProxy::GetActuatorData(uint32_t) const’: actarrayproxy.cc:246: error: ‘memset’ was not declared in this scope
So I figured that string.h was not included and modified the config.h to include it :
echo -e "#include
\n#include \n#include \n#include " >> config.h But now it fails with :
speechproxy.cc:96: error: ‘strdup’ was not declared in this scope
The strange thing is that strdup is declared in string.h...
Any ideas ?
Christian Babeux add string.h to speechproxy.cc and you should be OK.
On Thu, Jan 08, 2009 at 10:57:37PM -0500, Christian Babeux wrote:
...
actarrayproxy.cc: In member function ‘player_actarray_actuator_t PlayerCc::ActArrayProxy::GetActuatorData(uint32_t) const’: actarrayproxy.cc:246: error: ‘memset’ was not declared in this scope
...
speechproxy.cc:96: error: ‘strdup’ was not declared in this scope
The strange thing is that strdup is declared in string.h...
Any ideas ?
I'm lazy, so I bookmarked this page. http://gcc.gnu.org/gcc-4.3/porting_to.html, "C++ language issues" bye
participants (4)
-
Alessandro Doro
-
Baho Utot
-
Christian Babeux
-
Jan de Groot