types.h:52: error: conflicting types for ‘ino_t&am

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
maxim_
Newbie
Newbie
Posts: 2
Joined: Fri May 30, 2008 4:40 pm

types.h:52: error: conflicting types for ‘ino_t&am

Post by maxim_ »

hello

cant to build wine-1.0-rc2

log:

Code: Select all

make[2]: Entering directory `/usr/local/src/wine-1.0-rc2/dlls/winex11.drv'
gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/asm-i386 -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o bitblt.o bitblt.c
gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/asm-i386 -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o bitmap.o bitmap.c
gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/asm-i386 -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o brush.o brush.c
gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/asm-i386 -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o clipboard.o clipboard.c
In file included from ../../include/wine/port.h:36,
                 from clipboard.c:65:
/usr/include/sys/types.h:52: error: conflicting types for ‘ino_t’
/usr/include/linux/types.h:14: error: previous declaration of ‘ino_t’ was here
/usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
/usr/include/linux/types.h:13: error: previous declaration of ‘dev_t’ was here
/usr/include/sys/types.h:67: error: conflicting types for ‘gid_t’
/usr/include/linux/types.h:27: error: previous declaration of ‘gid_t’ was here
/usr/include/sys/types.h:72: error: conflicting types for ‘mode_t’
/usr/include/linux/types.h:15: error: previous declaration of ‘mode_t’ was here
/usr/include/sys/types.h:77: error: conflicting types for ‘nlink_t’
/usr/include/linux/types.h:16: error: previous declaration of ‘nlink_t’ was here
/usr/include/sys/types.h:82: error: conflicting types for ‘uid_t’
/usr/include/linux/types.h:26: error: previous declaration of ‘uid_t’ was here
/usr/include/sys/types.h:90: error: conflicting types for ‘off_t’
/usr/include/linux/types.h:17: error: previous declaration of ‘off_t’ was here
In file included from /usr/include/sys/types.h:133,
                 from ../../include/wine/port.h:36,
                 from clipboard.c:65:
/usr/include/time.h:105: error: conflicting types for ‘timer_t’
/usr/include/linux/types.h:22: error: previous declaration of ‘timer_t’ was here
In file included from /usr/include/sys/types.h:220,
                 from ../../include/wine/port.h:36,
                 from clipboard.c:65:
/usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
/usr/include/linux/types.h:12: error: previous declaration of ‘fd_set’ was here
In file included from ../../include/wine/port.h:36,
                 from clipboard.c:65:
/usr/include/sys/types.h:248: error: conflicting types for ‘blkcnt_t’
/usr/include/linux/types.h:124: error: previous declaration of ‘blkcnt_t’ was here
clipboard.c: В функции ‘X11DRV_CLIPBOARD_QueryTargets’
clipboard.c:1716: warning: implicit declaration of function ‘usleep’
make[2]: *** [clipboard.o] error 1
make[2]: Leaving directory `/usr/local/src/wine-1.0-rc2/dlls/winex11.drv'
make[1]: *** [winex11.drv] error 2
make[1]: Leaving directory `/usr/local/src/wine-1.0-rc2/dlls'
make: *** [dlls] error 2
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: types.h:52: error: conflicting types for ‘ino_

Post by vitamin »

maxim_ wrote:hello

cant to build wine-1.0-rc2
You might have invalid headers installed that don't match your kernel.
maxim_
Newbie
Newbie
Posts: 2
Joined: Fri May 30, 2008 4:40 pm

Post by maxim_ »

OS
Mandriva 2008 64bit

what headers Im must install?

thanks
John Drescher

types.h:52: error: conflicting types for ‘ ino_t&a

Post by John Drescher »

On Sat, May 31, 2008 at 1:43 AM, maxim_ <[email protected]> wrote:
OS
Mandriva 2008 64bit

what headers Im must install?
The kernel-headers package that matches your kernel version.


uname -a

should help determining that.

John
Locked