I am receiving the following error when I try to compile wineasio on openSuse 64 bit.
Any thoughts on this?
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
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libuuid.a(uuid.o)) to format elf32-i386 (wineasio.bMAxlz.o) is not supported
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-03-23
For building on Ubuntu 12.04 "precise" with wine1.4, I had to install gcc-4.5-multilib and I had to modify the Makefile.
My Makefile looks like this now:
### Generated by WinemakerPREFIX=/usrSRCDIR=.SUBDIRS=DLLS=wineasio.dllEXES=### Common settingsCEXTRA=-m32-g-O2-D__WINESRC__-D_REENTRANT-fPIC-Wall-pipe-fno-strict-aliasing-Wdeclaration-after-statement-Wwrite-strings-Wpointer-arithCXXEXTRA=-m32-D__WINESRC__-D_REENTRANT-fPIC-Wall-pipe-fno-strict-aliasing-Wdeclaration-after-statement-Wwrite-strings-Wpointer-arithRCEXTRA=INCLUDE_PATH=-I.-I/usr/include-I$(PREFIX)/include -I$(PREFIX)/include/wine -I$(PREFIX)/include/wine/windowsDLL_PATH=LIBRARY_PATH=LIBRARIES=-ljack### wineasio.dll sources and settingswineasio_dll_MODULE=wineasio.dllwineasio_dll_C_SRCS=asio.c\main.c\regsvr.cwineasio_dll_CXX_SRCS=wineasio_dll_RC_SRCS=wineasio_dll_LDFLAGS=-shared\-m32\$(wineasio_dll_MODULE:%=%.spec)\-mnocygwin\-L/usr/lib/i386-linux-gnu/wine\-L/usr/lib/i386-linux-gnu \ -L/usr/lib/gcc/i686-linux-gnu/4.6.3\-L/usr/lib/gcc/x86_64-linux-gnu/4.6/32\-L/usr/lib32/wine \ -L/usr/lib32wineasio_dll_DLL_PATH=wineasio_dll_DLLS=odbc32\ole32\winmmwineasio_dll_LIBRARY_PATH=wineasio_dll_LIBRARIES=uuidwineasio_dll_OBJS=$(wineasio_dll_C_SRCS:.c=.o)\$(wineasio_dll_CXX_SRCS:.cpp=.o)\$(wineasio_dll_RC_SRCS:.rc=.res)### Global source listsC_SRCS=$(wineasio_dll_C_SRCS)CXX_SRCS=$(wineasio_dll_CXX_SRCS)RC_SRCS=$(wineasio_dll_RC_SRCS)### ToolsCC=gccCXX=g++WINECC=winegccRC=wrc### Generic targetsall:asio.h$(SUBDIRS)$(DLLS:%=%.so)$(EXES:%=%.so)### Build rules.PHONY:allcleandummy$(SUBDIRS):dummy@cd$@&&$(MAKE)# Implicit rules.SUFFIXES:.cpp.rc.resDEFINCL=$(INCLUDE_PATH)$(DEFINES)$(OPTIONS).c.o:$(CC)-c$(DEFINCL)$(CFLAGS)$(CEXTRA)-o$@$<.cpp.o:$(CXX)-c$(CXXFLAGS)$(CXXEXTRA)$(DEFINCL)-o$@$<.cxx.o:$(CXX)-c$(CXXFLAGS)$(CXXEXTRA)$(DEFINCL)-o$@$<.rc.res:$(RC)$(RCFLAGS)$(RCEXTRA)$(DEFINCL)-fo$@$<# Rules for cleaningCLEAN_FILES=y.tab.cy.tab.hlex.yy.ccore*.orig*.rej\\\\#*\\\# *~ *% .\\\#*clean::$(SUBDIRS:%=%/__clean__)$(EXTRASUBDIRS:%=%/__clean__)$(RM)$(CLEAN_FILES)$(RC_SRCS:.rc=.res)$(C_SRCS:.c=.o)$(CXX_SRCS:.cpp=.o)$(RM)$(DLLS:%=%.so)$(EXES:%=%.so)$(EXES:%.exe=%)$(SUBDIRS:%=%/__clean__):dummycd`dirname $@`&&$(MAKE)clean$(EXTRASUBDIRS:%=%/__clean__):dummy-cd`dirname $@`&&$(RM)$(CLEAN_FILES)distclean::clean$(RM)asio.h### Target specific build rulesDEFLIB=$(LIBRARY_PATH)$(LIBRARIES)$(DLL_PATH)$(wineasio_dll_MODULE).so:$(wineasio_dll_OBJS)$(WINECC)$(wineasio_dll_LDFLAGS)-o$@$(wineasio_dll_OBJS)$(wineasio_dll_LIBRARY_PATH)$(DEFLIB)$(wineasio_dll_DLLS:%=-l%)$(wineasio_dll_LIBRARIES:%=-l%)install:if[-d/usr/lib/i386-linux-gnu/wine];thencpwineasio.dll.so/usr/lib/i386-linux-gnu/wine/; else cp wineasio.dll.so /usr/lib/wine;fi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am receiving the following error when I try to compile wineasio on openSuse 64 bit.
Any thoughts on this?
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
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libuuid.a(uuid.o)) to format elf32-i386 (wineasio.bMAxlz.o) is not supported
For building on Ubuntu 12.04 "precise" with wine1.4, I had to install gcc-4.5-multilib and I had to modify the Makefile.
My Makefile looks like this now:
Hi,
I took the advice but I came to the point where terminal tells me:
mensur@Memarra:~$ cd ~/Desktop
mensur@Memarra:~/Desktop$ cd wineasio
mensur@Memarra:~/Desktop/wineasio$ make
winegcc -shared -m32 wineasio.dll.spec -mnocygwin -L/usr/lib/i386-linux-gnu/wine -L/usr/lib/i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/32 -L/usr/lib32/wine -L/usr/lib32 -o wineasio.dll.so asio.o main.o regsvr.o -ljack -lodbc32 -lole32 -lwinmm -luuid
/usr/bin/ld: cannot find -ljack
collect2: ld returned 1 exit status
winegcc: gcc-4.5 failed
make: *** Error 2
What now, what to do?
Install the kxstudio repos http://kxstudio.sourceforge.net/Main_Page, and install wineasio from there.
I've added this hint to the project's front page. If anyone's got links for other distros, drop a note.