This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mingw make compile giving errors...


People,

Have installed b20.1, added gcc 2.95 and mingw extensions. Attempting to
compile make 3.77 for mingw. Done the following:

1. export CFLAGS='-I/cygnus/cygwin-b20/mingw/include -mno-cygwin'
2. export LDFLAGS=-L/cygnus/cygwin-b20/mingw/lib
3. ./configure
4. make

It gives the following results:

make all-recursive
Making all in glob
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/cygnus/cygwin-b20/mingw/include
-mno-cygwin -c glob.c
In file included from glob.c:75:
/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/../../../../i586-cygwin32/include/pwd.h:61:
	warning: parameter names (without types) in function declaration
[KAH: this appears to be because no definition of uid_t]
...
...
In file included from
/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/../../../../i586-cygwin32/include/sys/wait.h:5,
from job.c:88:
/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/../../../../i586-cygwin32/include/sys/resource.h:14:
field `ru_utime' has incomplete type
/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95/../../../../i586-cygwin32/include/sys/resource.h:15:
field `ru_stime' has incomplete type

Anyone got any idea what I have done wrong here? I thought I had
followed all of Mumit's instructions on installing mingw.

Looking forward to some help here. Thanks to everyone for the previous
help with make command lines.

Thanks.

Kev.
Kevin.Hill@tab.co.nz

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]