Subject: Re: pkgsrc Linux 2.6.12-10-amd64-xeon/x86_64 bulk build results 20060717.1027
To: None <darcy@NetBSD.org>
From: Min Sik Kim <minskim@NetBSD.org>
List: pkgsrc-bulk
Date: 07/18/2006 10:52:47
On Jul 18, 2006, at 10:08 AM, D'Arcy J.M. Cain wrote:

> On Tue, 18 Jul 2006 08:18:38 -0700
> Min Sik Kim <minskim@NetBSD.org> wrote:
>> devel/generate                     darcy@NetBSD.org
>
> This appears to be due to strdup and stncasecmp not being  
> declared.  As
> far as I know these are Posix standard functions.  Doesn't Linux have
> these?

Yes, they are declared in string.h, but guarded with #ifdef.  If you  
remove the "-ansi" option of gcc, they are exposed and the package  
builds successfully.

Regards,
Min