I'm missing the
/usr/include/sys dir and all of its headers.
I have build-essentials and supposedly every other -dev package I require for this make.
From reading around I understand that it's safe to symlink to headers inside
/usr/include/sys because the headers at the target are 64bit yet work with 32bit building, unless a specific 32bit header is required.
It sounds reasonable to some extent, but I have my doubts.
The suggestion I read was to symlink to the specific headers, and I wonder if I can just symlink to the whole
/usr/include/x86_64-linux-gnu/sys dir since I'm likely missing numerous headers.
Although this is a general question, I'll include the specific problem I encounter:
I'm failing to make fsthost. it says it's missing sys/types.h.
Looking around I saw a suggestion to install libc6-dev-i386, which ended up changing one missing header fault with another. So I removed it because it's for AMD.
This is what I get when trying to do
make GTK2=1 for fsthost 1.5.4
gcc -c -m32 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -g -O2 -Wall -Wno-deprecated-declarations -Wno-multichar -frounding-math -fsignaling-nans -mfpmath=sse -msse2 -DNO_VUMETER -fno-pic -fno-PIC -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows -o gtk_32.o gtk.c In file included from gtk.c:1:0: jackvst.h:4:23: fatal error: sys/types.h: No such file or directory #include <sys/types.h> ^ compilation terminated. make: *** [gtk_32.o] Error 1
Running on Mint 17 Xfce.