Compiling newlib/libc/stdlib

Ian Collins ianc@kiwiplan.co.nz
Sun Oct 11 16:08:00 GMT 1998


I downloaded newlib-980824.tar.bz2 and winsup-980929.tar.bz2 from 

ftp.cygnus.com/pub/noer/winsup-snapshot  

I get the following errors when making these,

When compiling /usr/src/newlib/libc/stdlib/mlock.c, I get an error from
line 4 of malloc.h (located in /usr/src/newlib/libc/stdlib/malloc.h)
which says,

#define _PTR mptr

but mptr isn't defined. I can get over it by adding a define for mptr to
(void *).

The next error is

mstats.c:109: return-type is an incomplete type
mstats.c: in function mallinfo

Not sure what to do about this one.
Has anyone else seen errors like this? Should I go to a previous newlib
snapshot?

Regards,
Ian.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list