Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 15:01:37 -0600
From:      David Elliott <dfe@netnitco.net>
To:        Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Cc:        freebsd-emulation@freebsd.org, wine-devel@winehq.com
Subject:   Re: I'm afraid you broke Wine on FreeBSD 3.3
Message-ID:  <38C962B1.909C6490@netnitco.net>
References:  <Pine.GSO.4.21.0003101625110.25456-100000@nunki.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry about that.  It is due to the header files having an ifdef linux around
them.

Either:
A) Remove the ifdef linux around the header files (which means it still won't
work, but it will fail nicely noticing that it can't read /proc/scsi/scsi)
or
B) Add ifdef linux around the code that uses the structures

Probably want to go with B.

The ideal situation would be to do that and also add support for CAM (I believe
that is what FreeBSD uses for SCSI).

-Dave

Gerald Pfeifer wrote:

> ...by means of your recent changes to dlls/winaspi. :-(
>
> gmake[1]: Entering directory `/a/vexpert/files8/test/wine/dlls/winaspi'
> /sw/gcc-2.95.2/bin/gcc -c -I. -I. -I../../include -I../../include -g -O2
> -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o aspi.o aspi.c
> In file included from aspi.c:37:
> winescsi.h:54: warning: `struct sg_header' declared inside parameter list
> winescsi.h:54: warning: its scope is only this definition or declaration,
> which is probably not what you want.
> aspi.c: In function `SCSI_LinuxSetTimeout':
> aspi.c:152: `SG_SET_TIMEOUT' undeclared (first use in this function)
> aspi.c:152: (Each undeclared identifier is reported only once
> aspi.c:152: for each function it appears in.)
> aspi.c: At top level:
> aspi.c:172: warning: `struct sg_header' declared inside parameter list
> aspi.c:173: conflicting types for `SCSI_LinuxDeviceIo'
> winescsi.h:54: previous declaration of `SCSI_LinuxDeviceIo'
> gmake[1]: *** [aspi.o] Error 1
> gmake[1]: Leaving directory `/a/vexpert/files8/test/wine/dlls/winaspi'
> gmake: *** [winaspi/libwnaspi32.so] Error 2
>
> Would you mind having a look? I am Cc:ing this to the FreeBSD-emulation
> mailing list in case someone there has a fix for that problem.
>
> Gerald
> --
> Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38C962B1.909C6490>