Re: Problem building Player with pkgbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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>



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux