fatal error: bits/predefs.h

  • ractionjackson

    Followed the instructions to the letter, encountered a problem right with asio.o:

    rhj@t410:~/downloads/wineasio$ make
    gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include /wine/windows -m32 -g -O2 -DWINESRC -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o asio.o asio.c
    In file included from /usr/include/stdio.h:28:0,
    from asio.c:33:
    /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
    compilation terminated.
    make: ** [asio.o] Error 1
    rhj@t410:~/downloads/wineasio$ md5sum

    \1b281735390cf0776fd9a9a494e9320c asio.c
    8dd0aee160b87fafc00cd038cd43c1a5 asio.h
    6ab17b41640564434dda85c06b7124f7 COPYING.LIB
    d41d8cd98f00b204e9800998ecf8427e framefile-1024.dat
    1f3a527b1b155063eaabe0ef193386c6 main.c
    76a8f533bde6c1c9791a9fca88885dfc Makefile
    9c0329b810ea1efcd21040576499d38d README
    4baefc5c83c75fb63075dc5e893cb712 regsvr.c
    5261377e25332289d6deebd294b8874d wineasio.dll.spec
    rhj@t410:~/downloads/wineasio$ uname -ra
    Linux t410 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

    Are there any dependencies not listed in the instructions? Or perhaps an error with the makefile?

    Forgive me, English is not my native language.

    Thank you in advance.

  • Have you installed the wine-dev & and jack-dev and whatever other packages are needed to build software on debian? Sorry to not be of better help, but it was a long time ago that I did something on debian. You might also want to investigate the kxstudio repos (if they work on your linux) which has binaries for many audio apps.

  • ractionjackson

    Something weird, when I go to install libdev-wine it wants to remove binutils, gcc, and a whole host of other things that seem pretty important:

    rhj@t410:~/downloads/wineasio$ sudo apt-get install libwine-dev
    [sudo] password for rhj:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    binutils:i386 faenza-crunchbang-icon-theme inotify-tools libdpkg-perl
    libfile-fcntllock-perl libgmp10:i386 libgomp1:i386 libinotifytools0
    libitm1:i386 liblapack3gf liblo7 libmozjs18d libmpc2:i386 libmpfr4:i386
    libqt4-dbus libquadmath0:i386 libvdpau1 libvorbisidec1 primus-libs
    primus-libs:i386 primus-libs-ia32:i386 socat xulrunner-18.0
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    libc6-dev:i386 libdpkg-perl libgettextpo0:i386 libunistring0:i386
    linux-libc-dev linux-libc-dev:i386
    Suggested packages:
    glibc-doc:i386 manpages-dev:i386 debian-keyring wine-doc:i386
    Recommended packages:
    gcc:i386 c-compiler:i386

    The following packages will be REMOVED:
    bbswitch-dkms binutils build-essential bumblebee debhelper dkms dpkg-dev
    equivs flashplugin-nonfree g++ g++-4.7 gcc gcc-4.6 gcc-4.7
    libstdc++6-4.7-dev libtool linux-headers-3.2.0-4-amd64 linux-headers-amd64
    network-manager-pptp network-manager-pptp-gnome pptp-linux primus

    The following NEW packages will be installed:
    libc6-dev:i386 libgettextpo0:i386 libunistring0:i386 libwine-dev:i386
    The following packages will be upgraded:
    libdpkg-perl linux-libc-dev
    2 upgraded, 5 newly installed, 23 to remove and 73 not upgraded.
    Need to get 13.2 MB of archives.
    After this operation, 45.2 MB disk space will be freed.
    Do you want to continue [Y/n]?


  • I'd imagine that you have a 64bit linux system, and now it wants to install 32bit dev tools, but as I said, I really don't know enough to be able to tell with a debian linux.