Skip to content

Build Fails #7

@Nexis81

Description

@Nexis81

I'm not able to build. Below is the message I'm getting with an output of perl -v and the location of EXTERN.h on my system.
Raspberry PI 2 B

:~/WiringPi-Perl# ./build.sh

`
wiringpi_wrap.c:730:20: fatal error: EXTERN.h: No such file or directory
 #include "EXTERN.h"
                    ^
compilation terminated.
WiringPi/wiringPi/wiringPi.c: In function ‘wiringPiSetup’:
WiringPi/wiringPi/wiringPi.c:315:18: warning: incompatible implicit declaration of built-in function ‘malloc’
   if ((gpioMem = malloc (BLOCK_SIZE + (PAGE_SIZE-1))) == NULL)
                  ^
gcc: error: wiringpi_wrap.o: No such file or directory

:~/WiringPi-Perl# perl -v

This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int
(with 42 registered patches, see perl -V for more detail)

:~/WiringPi-Perl# locate EXTERN.h

/usr/lib/arm-linux-gnueabihf/perl/5.20.2/CORE/EXTERN.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions