[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

WineX "Cedega" compilation



Hi there,

I miss so much WineX that I decided to compile it under my pure64 environment, without any ia32 chroot.

Here are the first steps of my road to fun:

- get winex with CVS

- configure:

$ cd winex
$ export CC="gcc-3.4 -m32"
$ export LDFLAGS="-I /emul/ia32-libs/usr/include"
$ ./configure --x-libraries=/emul/ia32-linux/usr/X11R6/lib \
--x-includes=/emul/ia32-linux/usr/X11R6/include

- break my teeth:

$ make
[snip]
make[2]: Entering directory `/home/greg/TGZ/winex/winex/dlls/ntdll'
gcc-3.4 -m32 -MMD -c  -I. -I. -I../../include -I../../include  -I /emul/ia32-linux/usr/include -Wall
-mpreferred-scsignal_i386.c: In function `wine_sigaction':
signal_i386.c:123: error: `__NR_sigaction' undeclared (first use in this function)
[etc etc]

I'm pretty sure that __NR_sigaction is used in /emul/ia32-libs/usr/include/bits/syscall.h to define 
SYS_sigaction:

#define SYS_sigaction __NR_sigaction

No __NR_sigaction is declared in kernel headers, but I found __NR_rt_sigaction.

My questions:
- Did someone find the way to compile well WineX on AMD64 ?
- Do someone can explain me the __NR_something problem I have ?

Thank you !

       greg

--
http://www.livretdulibre.org/html-ed2/livret_libre.html



Reply to: