Compiling wine problem: redhat 8 libperl-devel?

Mike Hearn m.hearn at signal.qinetiq.com
Thu Nov 21 10:37:27 CST 2002


OK, yeah, it turns out I do seem to have the headers, I was thrown by
the odd location of them.....

The actual source of the error is this function in winetest.c (this is
after preprocessing btw)

static void xs_init(void)
{
    extern void boot_wine(CV *cv);
    Perl_newXS(my_perl, "wine::bootstrap",boot_wine,"winetest.c");
}

which causes this output:

gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed
-e perl_inc` -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT
-DNONAMELESSUNION -DNONAMELESSSTRUCT `perl -MExtUtils::Embed -e ccflags`
-D_REENTRANT -I/usr/X11R6/include -o winetest.o winetest.c

winetest.c: In function `xs_init':
winetest.c:158: `my_perl' undeclared (first use in this function)
winetest.c:158: warning: passing arg 3 of `Perl_newXS' from incompatible
pointer type
winetest.c: In function `main':
winetest.c:178: warning: passing arg 2 of `perl_parse' from incompatible
pointer type
make: *** [winetest.o] Error 1


>From what I've heard/seen XS seems to be a total nightmare, and I have
no idea what could be causing this particular problem. Is there any way
of turning off compilation of winetest?

thanks -mike





More information about the wine-devel mailing list