News: Error Status:
As of Saturday, August 21, 1999 3:23 p
By Doug Clements
 

home

welcome

about

the team

the project

join

news

files

contact

Wine

First thing we have to do is get configure to detect the X stuff.. fixed
easily by adding the X include (/usr/X11R6.3/include) directory in the
configure script. (make sure you have a /usr link!)
You just have to link the X11R6.3 directory to X11..

The previous problem with mathlib making gcc appear to not work seem to
be gone. [confirmed? -Jc]

The configure script seems not to detect mmap in -lmmap, and for good
reason, I suppose. I tried to compile the partial mmap.c implementation,
but it requires a sys/mman.h. Configure also checks for this file, but I'm
not sure how much it is used outside of mmap.
08/25/99 mmap being worked on by Patrik.

Warning!
*** Warning: non-reentrant libc detected. Wine will be build without
*** thread support. Consider upgrading libc to a more recent
*** reentrant version of libc.
Can we just rebuild the latest version of libc with threads support? Has it
already been done? Native Be thread support?
08/25/99 - normal, according to Patrik.

We get
warnings up the yin-yang. I imagine this is because of the
compiler. The version on the 4.5 cd is gcc 2.9-beos-980929. If there are
different versions available, can we see if this fixes the problem? I think
it would be the compiler, because I don't get the same errors when I
compile on linux.

dlls/ntdll/exception.c:
/work/gg/src/i686-beos-branch/gg/be/gnupro/gcc/dwarf2out.c:8179: Internal
compiler error in function gen_subprogram_die
Rockin! I have no idea where to start with this one.

debugger/break.c:
PROT_READ, PROT_WRITE, and PROT_EXEC are undeclared.
These appear to be for memory protection. Where do they come from? mmap?

debugger/editline.c::
Conflicting types for `read' and 'write' from the POSIX Be headers. Are
they not really POSIX? Is wine's idea of POSIX not really POSIX?
from the Be headers:
extern ssize_t read(int fd, void *buf, size_t count);
extern ssize_t write(int fd, const void *buf, size_t count);
What wine declares:
extern int read();
extern int write();
08/25/99 - error gone, but still needs to be done properly.


debugger/msc.c:
PROT_READ, MAP_PRIVATE undeclared. Probably same problem as in
debugger/break.c.
08/25/99 - Problems with mmap; being worked on by Patrik.


debugger/source.c:
PROT_READ, MAP_PRIVATE undeclared. more mmap fun.
08/25/99 - Problems with mmap; being worked on by Patrik.

debugger/stabs.c:
It appears to want a link.h, which I don't have. Many undeclared things.
08/25/99 - Still broke. Volunteers?

files/async.c:
wset, rset, and others undeclared.
08/25/99 - Still broke. Volunteers?

files/drive.c:
drive.c:678: #error "statfs has no bfree/bavail member!"
Anyone know where we can get bfree or bavail?
08/25/99 - Still broke. Volunteers?

files/file.c:
More undeclared PROT_WRITE and PROT_READ
08/25/99 - Still broke. Problem with mmap; being worked on by Patrik.

graphics/ddraw.c:
Looked for signal.h in the wrong place.. not in sys/

loader/main.c:
It included a file that wanted inet.h; fed it socket.h instead, and it
was happier.

loader/signal.c:
SIGNAL_child undeclared

memory/instr.c:
Lots of invalid lvalue assignments; this one looks important, too.
[need update on status]

memory/virtual.c:
More mmap undeclared stuff
08/25/99 - Problems with mmap; being worked on by Patrik.


misc/comm.c:
TIOCMGET, TIOCM_CAR, FIONREAD undeclared.
Funky duplicate case errors..
What's happening there?
08/25/99 - Still broke, but a bug report has been sent in to Be on the duplicate case errors.

misc/winsock.c:
A few unfound .h files.. including socket.h didn't fix it.
08/25/99 - Still broke. Volunteers?

misc/winsock_async.c:
same as winsock

scheduler/client.c:
more mmap stuff.
Problems with mmap; being worked on by Patrik.
AF_UNIX undeclared
msghdr size unknown..
How do we fix this?
08/25/99 - Still broke. Volunteers?

scheduler/thread.c:
AF_UNIX undeclared

server/select.c:
must include socket.h for select stuff..

server/socket.h:
more msghdr errors. Where does this come from?
08/25/99 - Still broke. Volunteers?

server/thread.c:
mmap stuff.
08/22/99 - Problems with mmap; being worked on by Patrik.

And with this.. it
almost links completely..
seems to chunk on some sockets stuff, we may need libsocket after all.

[update - Most of the other stuff (not commented in maroon) is gone with the latest patch set from Patrik (on the files page). There is a patch.txt in the patch set that you can read to see what was done..]

Please mail us any confirmed fixes. Send to the list, preferably. Thanks!