pkgsrc-Users archive

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

Re: update sysutils/file to 5.17 (patch)



On Wed, Mar 12, 2014 at 08:09:23PM +0100, Matthias Ferdinand wrote:
> functions in src/getline.c are only used if configure does not find a
> usable getline function (#if !HAVE_GETLINE).
> 
> without the "public" keyword, on NetBSD 5.1:
> 
>     ...
> =>  checking for getline... no
>     ...
>       CCLD     file
>     file.o: In function `main':
>     file.c:(.text+0x5d9): undefined reference to `getline'
>     file.c:(.text+0xbb9): undefined reference to `getline'
>     *** Error code 1

Ok, thanks for the explanation. I added the patch you suggested.

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index