LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error when compiling Wine (https://www.linuxquestions.org/questions/slackware-14/error-when-compiling-wine-211730/)

BrianJ 07-31-2004 12:55 AM

Error when compiling Wine
 
Everytime I get this error when I do make


Code:

In file included from int13.c:34:
/usr/include/linux/fd.h:342: error: variable or field `__user' declared void
/usr/include/linux/fd.h:342: error: parse error before '*' token
/usr/include/linux/fd.h:360: error: parse error before '}' token
make[2]: *** [int13.o] Error 1
make[2]: Leaving directory `/home/lobo/Desktop/wine-20040716/dlls/winedos'
make[1]: *** [winedos] Error 2
make[1]: Leaving directory `/home/lobo/Desktop/wine-20040716/dlls'
make: *** [dlls] Error 2


BrianW 07-31-2004 01:22 AM

try deleting the un-tared directory and re-un-tar it and see

BrianJ 07-31-2004 01:43 AM

Already tried didn't work

SBing 07-31-2004 02:15 PM

I guess if compiling still hasn't worked you'll have already gone for it - try the Slackware package for it instead, even if it's a precompiled binary it'll still do the job alright :)

What version of slackware / kernel do you have?

Cedrik 07-31-2004 02:22 PM

And what is your kernel-headers package version ?

BrianJ 07-31-2004 06:00 PM

2.6.7 the ones that came on slackware 10 disc 2

BrianJ 07-31-2004 11:11 PM

It seems like there pre packaged Binary is for slackware 9

north49er 08-01-2004 12:20 AM

I downloaded the slack10 wine package from www.linuxpackages.net and it installed no problems. Just read what you need to do before running wine for the first time.

Cedrik 08-01-2004 01:35 AM

2.6.7 the ones that came on slackware 10 disc 2
Can I suggest you to not use the kernel-header 2.7 package because it is a little too new for some software to properly compile. Try the 2.4 kernel-header instead. Be quiet, this package provides header files (.h files) wich does not affect the whole system at all if kernel version does not match, even to compile modules, because the compiler will look at /usr/lib/$(uname -r)/build and not in /usr/include/linux.

BrianJ 08-01-2004 06:50 PM

Fixed thanks Cedrik


All times are GMT -5. The time now is 09:34 PM.