hansendc / eyefi-config

GNU General Public License v2.0
43 stars 19 forks source link

Compilation error in Linux #4

Closed sandeeppotdar closed 6 years ago

sandeeppotdar commented 6 years ago

Getting the following compilation error in Ubuntu Linux Mint:

osboxes eyefi-config-eyefi-config-013 # make
cc -g -Wall   -c -o eyefi-config.o eyefi-config.c
In file included from eyefi-config.c:11:0:
eyefi-config.h:4:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'eyefi-config.o' failed
make: * [eyefi-config.o] Error 1
sandeeppotdar commented 6 years ago

Just had to install build-essential by running following 2 commands:

sudo apt-get update
sudo apt-get install build-essential