Chyba pri kompilaci Wine (delsi)

Ales Kroutil kroutila na lachema.cz
Pátek Březen 30 10:56:31 CEST 2001


Dobry den,
    potreboval bych poradit s nasledujicim problemem. Na uvod bych jeste
chtel poznamenat, ze nejsem programator.
Vcera jsem si domu prinest dalsi build wine (20010326) a chtel jsem jej
zkompilovat. Configure probehlo normalne, make depend take, ale po
zadani make se to po asi 30 s ukoncilo s hlaskou o (patrne) nedostupnem
errno.h. Tento problem jsem jeste vyresil (alespon v tom smyslu, ze pak
uz se tato chyba neobjevila), ale pri dalsi kompilaci se po nejake
(delsi) dobe vypsalo nasledujici:

.
.
make[1]: Leaving directory `/home/ales/Programy/wine-20010326/tools'
make[1]: Entering directory
`/home/ales/Programy/wine-20010326/loader/dos'
gcc -I. -I. -I../../include -I../../include  -g -O2 -Wall -fPIC
-D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o dosmod ./dosmod.c
./dosmod.c:45: warning: `struct vm86plus_struct' declared inside
parameter list
./dosmod.c:45: warning: its scope is only this definition or
declaration,
./dosmod.c:45: warning: which is probably not what you want.
./dosmod.c: In function `bad_handler':
./dosmod.c:137: invalid use of undefined type `struct vm86plus_struct'
./dosmod.c:137: invalid use of undefined type `struct vm86plus_struct'
./dosmod.c: In function `send_enter_reply':
./dosmod.c:173: sizeof applied to an incomplete type
./dosmod.c:173: sizeof applied to an incomplete type
./dosmod.c: In function `main':
./dosmod.c:289: sizeof applied to an incomplete type
./dosmod.c:289: sizeof applied to an incomplete type
./dosmod.c:291: warning: passing arg 2 of `vm86plus' from incompatible
pointer type
./dosmod.c: At top level:
./dosmod.c:124: storage size of `VM86' isn't known
make[1]: *** [dosmod] Error 1
make[1]: Leaving directory
`/home/ales/Programy/wine-20010326/loader/dos'
make: *** [loader/dos/dosmod] Error 2

S timhle si uz rady nevim.
Potom jsem se pokusil znovu zkompilovat predchozi build wine (20010305),
ktery jsem na zacatku brezna zkompiloval bez problemu. Vysledkem ale
bylo opet predcasne ukonceni, tentokrat s touto hlaskou:

.
.
R__ -D_REENTRANT -I/usr/X11R6/include -o registry.o registry.c
gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall -D__WINE__
-D__WINE_SERVER__ -D_REENTRANT -I/usr/X11R6/include -o request.o
request.c
request.c:90: `SOL_SOCKET' undeclared here (not in a function)
request.c:90: initializer element for `cmsg.level' is not constant
request.c: In function `receive_fd':
request.c:225: invalid use of undefined type `struct msghdr'
request.c:226: invalid use of undefined type `struct msghdr'
request.c:233: warning: implicit declaration of function `recvmsg'
request.c: In function `send_client_fd':
request.c:306: invalid use of undefined type `struct msghdr'
request.c:307: invalid use of undefined type `struct msghdr'
request.c:314: warning: implicit declaration of function `sendmsg'
request.c: In function `master_socket_poll_event':
request.c:357: warning: implicit declaration of function `accept'
request.c: In function `open_master_socket':
request.c:445: warning: implicit declaration of function `socket'
request.c:445: `AF_UNIX' undeclared (first use in this function)
request.c:445: (Each undeclared identifier is reported only once
request.c:445: for each function it appears in.)
request.c:445: `SOCK_STREAM' undeclared (first use in this function)
request.c:452: warning: implicit declaration of function `bind'
request.c:462: warning: implicit declaration of function `listen'
request.c:469: invalid use of undefined type `struct msghdr'
request.c:470: invalid use of undefined type `struct msghdr'
request.c:471: invalid use of undefined type `struct msghdr'
request.c:472: invalid use of undefined type `struct msghdr'
request.c: At top level:
request.c:81: storage size of `msghdr' isn't known
make[1]: *** [request.o] Error 1
make[1]: Leaving directory `/home/ales/Programy/wine-20010305/server'
make: *** [server/wineserver] Error 2

Musi to tedy byt zposobeno instalaci nebo odinstalaci neceho, ovsem nic
tak zasadniho si neuvedomuji. Mozna vam ty hlasky neco reknou a
nasmerujete me spravnym smerem.
Jinak mam celeron 443MHz, 8GB HDD, Slackware 7.0 s jadrem 2.2.17 a X
Window 3.3.6

Dekuji, ze jste docetli az sem a jeste vice dekuji za pripadne rady.

S pozdravem
--
Mgr. Ales Kroutil
Lachema, a.s. - Research Institute
kroutila na lachema.cz




Další informace o konferenci Linux