LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-23-2005, 04:00 AM   #16
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15

I don't have "struct" in that file at line 189 either. It is a sentence like that:
int snd_names_list(const char *interface, snd_devname_t **list);
What does it mean?
 
Old 10-23-2005, 10:58 PM   #17
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Rep: Reputation: 15
Probably an obvious question, but does the wine build require you to execute a:

./configure

before running

make

?

I built the program just two nights ago on 10.2 with no problems.

desertViking
 
Old 10-23-2005, 11:58 PM   #18
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
I compiled it with "./tools/wineinstall", it equals to:
./configure
make
make depend
make install

I'm compiling wine-20041019, desertViking, do you compile the same version of wine?

Last edited by shadkong; 10-24-2005 at 12:10 AM.
 
Old 10-24-2005, 05:51 AM   #19
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
---------
I'm compiling wine-20041019..............
---------

i was looking for that package to try myself, but it's not on the
server anymore.

egag
 
Old 10-24-2005, 06:19 AM   #20
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
Thank you!
You can find the old versions at here:
http://prdownloads.sourceforge.net/wine
And you can download the source of 20041019 here:
http://prdownloads.sourceforge.net/w...0041019.tar.gz

Last edited by shadkong; 10-24-2005 at 06:26 AM.
 
Old 10-24-2005, 07:38 AM   #21
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
got it.
( google is your friend... )

you've got to edit two files :

1 :......./wine-20041019/dlls/winmm/winealsa/audio.c:

change :
Code:
#endif                            <line 46
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "winnls.h"
#include "winreg.h"
#include "mmddk.h"
#include "mmreg.h"
#include "dsound.h"
#include "dsdriver.h"
#include "ks.h"
#include "ksguid.h"
#include "ksmedia.h"
#define ALSA_PCM_NEW_HW_PARAMS_API    <--line moves up
#define ALSA_PCM_NEW_SW_PARAMS_API    <--line moves up
#include "alsa.h"                 <--line moves up
#include "wine/library.h"
to
Code:
#endif
#include "windef.h"
#define ALSA_PCM_NEW_HW_PARAMS_API   
#define ALSA_PCM_NEW_SW_PARAMS_API
#include "alsa.h"
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "winnls.h"
#include "winreg.h"
#include "mmddk.h"
#include "mmreg.h"
#include "dsound.h"
#include "dsdriver.h"
#include "ks.h"
#include "ksguid.h"
#include "ksmedia.h"
#include "wine/library.h"
the 3 lines referring to alsa are moved up.

2:......./wine-20041019/dlls/winmm/winealsa/audio_05.c:

same trick...( i'll give only the result )
file should look like :

Code:
#include "windef.h"    <--line 41
#include "alsa.h"       <--this line was moved up
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "mmddk.h"
#include "dsound.h"
#include "dsdriver.h"
#include "wine/debug.h"
after that, things will compile.

good luck,

egag

Last edited by egag; 10-24-2005 at 07:44 AM.
 
Old 10-24-2005, 08:33 AM   #22
desertViking
Member
 
Registered: Aug 2005
Location: Arizona
Distribution: Slackware 13, Arch Linux
Posts: 85

Rep: Reputation: 15
Quote:
Originally posted by shadkong
I

I'm compiling wine-20041019, desertViking, do you compile the same version of wine?
I compiled:

Wine-20050930.tar.gz

But you answered my question anyway. I downloaded it from:

www.winehq.org

Look like there's another solution at hand.

Good luck!

desertViking
 
Old 10-26-2005, 01:07 AM   #23
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
It works! Thank you egag!
 
  


Reply


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
making .tgz packages from sources r_jensen11 Slackware 3 02-03-2004 05:57 PM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 12:14 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 08:00 AM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:26 PM.

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