[arch-general] Problem building Player with pkgbuild

Jan de Groot jan at jgc.homeip.net
Fri Jan 9 02:44:04 EST 2009


On Thu, 2009-01-08 at 22:57 -0500, Christian Babeux wrote:
> 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...

It's <cstring>, not <string.h>



More information about the arch-general mailing list