http://bugs.winehq.org/show_bug.cgi?id=10655
Summary: syntax error during compiling from source Product: Wine Version: 0.9.50. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-multimedia AssignedTo: wine-bugs@winehq.org ReportedBy: dimich.dmb@gmail.com
./configure and make depend passed successfully, but during `make' i got error:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wall -O2 -march=pentium4 -pipe -o cdrom.o cdrom.c In file included from /usr/include/linux/cdrom.h:14, from cdrom.c:66: /usr/include/asm/byteorder.h:13: error: syntax error before "__u32" /usr/include/asm/byteorder.h:27: error: syntax error before "__u64" make[2]: *** [cdrom.o] Error 1 make[2]: Leaving directory `/home/dimich/src/wine-0.9.50/dlls/ntdll' make[1]: *** [ntdll] Error 2 make[1]: Leaving directory `/home/dimich/src/wine-0.9.50/dlls' make: *** [dlls] Error 2
system: slackware 11.0 /usr/include/linux is the kernel headers for linux-2.6.23.9. config.log is in attachment.
http://bugs.winehq.org/show_bug.cgi?id=10655
--- Comment #1 from Dmytro Bagrii dimich.dmb@gmail.com 2007-12-03 04:00:14 --- Created an attachment (id=9470) --> (http://bugs.winehq.org/attachment.cgi?id=9470) config.log
http://bugs.winehq.org/show_bug.cgi?id=10655
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de Status|UNCONFIRMED |RESOLVED Component|wine-multimedia |wine-misc Resolution| |INVALID
--- Comment #2 from Detlef Riekenberg wine.dev@web.de 2007-12-03 13:37:40 --- This is not a valid wine bug (you are using CFLAGS="-Wall -O2 -march=pentium4 -pipe")
When the error still exist with the default CFLAGS, please reopen and attach the failed include from your kernel-headers (/usr/include/asm/byteorder.h).
Thanks. (Compiling wine works with the defaults.)
http://bugs.winehq.org/show_bug.cgi?id=10655
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-misc |wine-multimedia
--- Comment #3 from Lei Zhang thestig@google.com 2007-12-03 13:48:38 --- Works here with slackware 11, gcc 3.4.6 and the kernel-headers-2.6.23.9 package from slackware-current. (even with those CFLAGS)
Probably misconfigured system. How did you install the kernel headers?
http://bugs.winehq.org/show_bug.cgi?id=10655
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-multimedia |wine-misc
http://bugs.winehq.org/show_bug.cgi?id=10655
--- Comment #4 from Dmytro Bagrii dimich.dmb@gmail.com 2007-12-04 05:34:17 --- You right, it is not WINE bug, but my one. There is symlink /usr/include/asm-386 to the /usr/src/linux/include/asm-i386 in my system, but /usr/include/linux was simlinked to old version kernel headers directory. After symlinking to newest one all compiled and works propertly. Thank you all.
http://bugs.winehq.org/show_bug.cgi?id=10655
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-04 07:36:35 --- Closing invalid.