pkgsrc-Users archive

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

Re: print/hplip error: CoreFoundation/CFPlugInCOM.h: No such file



On Tue, Jan 28, 2020 at 06:06:01PM +0530, Mayuresh wrote:
> On pkgsrc-current on NetBSD 8.0 RPI2 evbarm:
> 
> In file included from scan/sane/hpaio.h:32:0,
>                  from scan/sane/hpaio.c:43:
> scan/sane/common.h:191:1: warning: 'visibility' attribute ignored on non-class types [-Wattributes]
>  char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
>  ^
> In file included from scan/sane/orblitei.h:9:0,
>                  from scan/sane/hpaio.h:36,
>                  from scan/sane/hpaio.c:43:
> scan/sane/OrbliteScan/MacCommon.h:5:40: fatal error: CoreFoundation/CFPlugInCOM.h: No such file or directory

Here is the code in question. Probably __linux__ needs to be defined for
NetBSD? Only one source file with the snippet below checks __linux__

#ifndef __linux__
#include <CoreFoundation/CFPlugInCOM.h>
#define __CFPlugInCOM_Included__
#endif

#ifdef __linux__
#    include "LinuxCommon.h"
#endif

Mayuresh


Home | Main Index | Thread Index | Old Index