wineasio make error on 64bit oneric

Help
Anonymous
2011-10-31
2013-01-27
  • Anonymous - 2011-10-31

    Hi all, I get the following error message when I try to make in 64bit oneric:
    /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory

    It seems to be something to do with arch-specific headers… but thats all I can figure out.

    Thanks

     
  • Peter L Jones

    Peter L Jones - 2011-11-03

    Sorry, haven't got a test environment here for oneric yet, so I can only provide hints from Google…

    There's a comment in Debian Bugs that may relate: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640829

    There's also a comment in the Ubuntu Networking & WIreless forum that you need to do:
    > sudo apt-get install -reinstall linux-headers-$(uname -r) linux-headers-generic-pae build-essential dkms

    The "dkms" bit may be the important part there as it seems to be a common thread joining most of the hits in my search.

    From the debian article, I'm not sure what the solution actually was… it'd have been nice if the answer had been clearer!

     
  • Alexandre Campo

    Alexandre Campo - 2011-11-28

    Install the packages  gcc and g++ multilibs.
    After that I faced a problem with winebuild :
    winebuild: as -32 failed with status 1

    Solution :
    replace line 114 of the makefile with following

    $(wineasio_dll_MODULE).so: $(wineasio_dll_OBJS)
            winegcc -m32 -Bwinebuild -Wb,-as-cmd="as",-v -shared ./wineasio.dll.spec \
            asio.o main.o regsvr.o -o wineasio.dll.so \
            -lwinmm -luser32 -ladvapi32 -lkernel32 -lntdll -ldxguid -luuid -lpthread -lrt -lole32

    basically I have removed the -32 option of as, and the -m option of ld, as it seems they are already present at compile time.

    cheers

     
  • Anonymous - 2012-02-14

    I get somewhat the same issue on openSUSE 12.1 (x86_64) when typing in make:

    make: *** No rule to make target `asio.h', needed by `all'. ==NOTE: Everything below come up when I type in make -i -k. Only this line shows when I just type in make.==
    gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -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/features.h:382:0,
                     from /usr/include/stdio.h:28,
                     from asio.c:33:
    /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    compilation terminated.
    make:  Error 1 (ignored)
    gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o main.o main.c
    main.c:21:20: fatal error: windef.h: No such file or directory
    compilation terminated.
    make:  Error 1 (ignored)
    gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o regsvr.o regsvr.c
    regsvr.c:26:20: fatal error: windef.h: No such file or directory
    compilation terminated.
    make:  Error 1 (ignored)
    winegcc -shared -m32 wineasio.dll.spec -mnocygwin -L/usr/lib32/wine -L/usr/lib32 -o wineasio.dll.so asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -lwinmm -luuid
    make: winegcc: Command not found
    make:  Error 127 (ignored)
    make: Target `all' not remade because of errors.
    aidan@waggawaggawagga-2:~/Downloads/wineasio> sudo make install
    if ; then cp wineasio.dll.so /usr/lib32/wine; else cp wineasio.dll.so /usr/lib/wine; fi
    cp: cannot stat `wineasio.dll.so': No such file or directory
    make: ***  Error 1

     
  • Anonymous - 2012-02-17

    Wow. Thanks, worked great for me (Gentoo, 64 bit).

    However, in my case I had to change the line of 114 to this:

    $(wineasio_dll_MODULE).so: $(wineasio_dll_OBJS)
    winegcc -m32 -Bwinebuild -Wb,-as-cmd="as",-ld-cmd="ld" -shared ./wineasio.dll.spec \
    asio.o main.o regsvr.o -o wineasio.dll.so \
    -lwinmm -luser32 -ladvapi32 -lkernel32 -lntdll -ldxguid -luuid -lpthread -lrt -lole32

    Looks like it can vary depending on the version of wineasio-x. I took wineasio-x from here:
    http://jacklab.berlios.de/wineasio/wineasio-x/wineasio-x.3.tgz

     

Log in to post a comment.