You are not logged in.
Hi all,
today I tried to compile wine from source using the abs PKGBUILD. This fails in the late compiling process during making cdrom.o. I did not change anything. I just did 'makepkg' as a normal user in my private abs tree. This should not happen! Can anybody verify that?
I did this because I wanted to test a patch which should solve a problem in wine that I am experiencing. But I couldn't even compile the 'normal' source which I tried as a test before applying the patch... ![]()
http://bugs.winehq.org/show_bug.cgi?id=17269
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Probably some makedepends which aren't properly listed. This is the makedepends array for wine-wc
makedepends=('cups' 'sane' 'flex' 'bison' 'libgphoto2'
'libxinerama' 'giflib' 'ncurses' 'libxcomposite' \
'libxpm' 'libxmu' 'libxxf86vm' 'patch')Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
post the error message.
Offline
post the error message.
It compiles (for a loong time...) until this messages appear:
cdrom.c: In function »GetInquiryData«:
cdrom.c:2682: Error: »INQUIRY« not declarated (first use in this function)
cdrom.c:2682: Error: (each descriptor not declarated will be executed only once
cdrom.c:2682: Error: for each function in which it appears.)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/home/harvey/abs/wine/src/wine-1.1.32/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/home/harvey/abs/wine/src/wine-1.1.32/dlls'
make: *** [dlls] Error 2
==> ERROR: Build failed.I translated the error message from german so it may not be 100% correct.
@ngoonee
The makedepends are met as far as I can tell. BTW, for extra/wine there are even more dependencies than you mentioned. A PKGBUILD from the main repos should work without any changes as it is the same the developers are using for building the repo package.
And yes, I synchronized abs and reinstalled base-devel just to be sure everything is ok. The build machine is 32bit Arch. The testing repo is enabled and I did a pacman -Syu before compiling.
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Just tried building it myself from git (To be able to run Xfire, I wish the Arch Linux official repositories were updated more frequently.)
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wtype-limits -Wpointer-arith -march=i686 -mtune=generic -O2 -pipe -o cdrom.o cdrom.c
cdrom.c: In function 'GetInquiryData':
cdrom.c:2682: error: 'INQUIRY' undeclared (first use in this function)
cdrom.c:2682: error: (Each undeclared identifier is reported only once
cdrom.c:2682: error: for each function it appears in.)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/home/josh/Downloads/wine-git/src/wine-build/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/home/josh/Downloads/wine-git/src/wine-build/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed.
Aborting...
EDIT: Manually trying to compile it causes the same issue, however I'm basically performing the same commands.
Last edited by kyle12 (2009-10-29 06:08:08)
Offline
I tried to build from git myself before I tried to compile the abs version. This did give exactly the same error. Something is wrong here. Maybe the maintainer could shine a light on this?
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Maybe the maintainer could shine a light on this?
I think it's an actual issue with Wine and nothing to do with Arch, but than again I'm a noob ![]()
Last edited by kyle12 (2009-10-29 08:31:29)
Offline
I filed a bug report:
http://bugs.archlinux.org/task/16901
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
It allows you to build, I'm not sure how safe exactly it is... but
Throw
#define INQUIRY 0x12somewhere in the header of dlls/ntdll/cdrom.c
I'll let you guys know if I run into any problems.
Nabbed it from: http://forum.winehq.org/viewtopic.php?p … 3f5d#28186
Last edited by falkman (2009-10-29 17:16:32)
Offline
falkman, thank you for your help. I was able to compile wine-git and as far as I can tell wine is working ![]()
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline