Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2009, 05:57 AM   #1
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
wineasio compile error

Im trying to compile wineasio with latest version of wine.I can compile wineasio with the debian version of wine in Debian Squeeze.but when trying to compile with the latest from the wine squeeze repos i get this error..
strat@frostbite:~/wineasio$ 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
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
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
winegcc -shared wineasio.dll.spec -mnocygwin -o asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -loleaut32 -lwinspool -lwinmm -lpthread -luuid
/usr/bin/ld: cannot find -lodbc32
collect2: ld returned 1 exit status
winegcc: gcc failed
make: *** [] Error 2
Ive searched and cant find out what lodbc32 is or what library it is part off.Im guessing its part of gcc..Gcc version is..

strat@frostbite:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-5' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-5)

Last edited by stratotak; 03-04-2009 at 06:00 AM.
Old 03-05-2009, 08:01 PM   #2
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
The '-l' prefix means that it's a library, so when dealing with -lodbc32 you have to look for something odbc32. This is obviously some kind of a 32-bit database routine library. Such libraries are often stored with a naming scheme like lib*, in the current case libodbc or libodbc32. On Windows it would be odbc32.dll.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 01:58 AM.
Old 03-06-2009, 02:48 AM   #3
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Original Poster
Rep: Reputation: 39
I finally just gave up trying to compile wneasio against latest wine.I searched in synaptic and starting installing anything with the words odbc in it..thinking one might be the one..tried aptitude build-dep wine thinking maybe it wold install the correct library i need..what ever lodb32 is part of i cant find it..theres a in /usr/lib/wine..but its looking for something in /usr/bin/ i removed wines deb repos and uninstalled wine and reinstalled debians version along with libwine-dev and wineasio compiles just find..So Ill just wait till Debian updates wine ..

strat@debian:~/wineasio$ make
winegcc -shared wineasio.dll.spec -mnocygwin -o asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -loleaut32 -lwinspool -lwinmm -lpthread -luuid
strat@debian:~/wineasio$ su
debian:/home/strat/wineasio# make install
cp /usr/lib/wine
debian:/home/strat/wineasio# exit
strat@debian:~/wineasio$ regsvr32 wineasio.dll
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/strat/.wine' has been updated.
fixme:ole:DllRegisterServer stub
Successfully registered DLL wineasio.dll

Last edited by stratotak; 03-06-2009 at 02:58 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asterisk compile error make: *** [makeopts] Error 1 crmexclusive Debian 3 02-24-2012 07:33 PM
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 07:13 AM
rpm compile time error:make error ashmita04 Red Hat 1 07-09-2007 04:44 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 08:56 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 12:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration