[arch-general] Problem building Player with pkgbuild

Baho Utot baho-utot at columbus.rr.com
Fri Jan 9 04:36:03 EST 2009


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 <unistd.h>\n#include <stdlib.h>\n#include 
> <stdio.h>\n#include <string.h>" >> 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.


More information about the arch-general mailing list