making cygwin.dll less than str8-forward; should I be doing something differently?
linda w
cygwin@tlinx.org
Wed Jul 28 08:40:00 GMT 2004
Decided to try my luck in building the cygwin.dll runtime, etc.
Found source, config'ed and make'd.
Went quite a ways until stoplight #1:
c++ -L/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup
-L/usr/src/cygwin-1.5.9-1/i6
86-pc-cygwin/winsup/cygwin
-L/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup/w32ap
i/lib -isystem /usr/src/cygwin-1.5.9-1/winsup/include -isystem
/usr/src/cygwin-1
.5.9-1/winsup/mingw/include -isystem
/usr/src/cygwin-1.5.9-1/winsup/w32api/inclu
de -B/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/newlib/ -isystem
/usr/src/cygwin-1.5
.9-1/i686-pc-cygwin/newlib/targ-include -isystem
/usr/src/cygwin-1.5.9-1/newlib/
libc/include -c -nostdinc++ -nostdinc -g -O2 -fno-exceptions -fno-rtti
-DHAVE_DE
CL_GETOPT=0 -Wall -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0
-I. -I/usr/src/cygwin-1.5.9-1/winsup/cygwin
-I/usr/lib/gcc-lib/i686-pc-cygwin/3
.3.1/include -fno-rtti -fno-exceptions -I/usr/src/cygwin-1.5.9-1/winsup
-include
/include/zconf.h -include /include/zlib.h -c -o ./dump_setup.o -g -O2
-fno-exce
ptions -fno-rtti -DHAVE_DECL_GETOPT=0 -mno-cygwin
-I/usr/src/cygwin-1.5.9-1/wins
up/mingw/include ../../.././winsup/utils/dump_setup.cc
<command line>:269594768:45288: /include/zconf.h: No such file or directory
<command line>:269594768:45288: /include/zlib.h: No such file or directory
make[2]: *** [dump_setup.o] Error 1
make[2]: Leaving directory
`/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup/utils'
make[1]: *** [utils] Error 1
make[1]: Leaving directory `/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2
----
So I unpacked source for zlib and found what appeared to be the include
files it
wanted. Created /include directory and put them in /include. Reran make.
Much spun by with 'nothing to do' got to the zlib part and zipped through
that too...yeah!
Then this crash which is a bit more messy:
c++ -L/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup
-L/usr/src/cygwin-1.5.9-1/i6
86-pc-cygwin/winsup/cygwin
-L/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup/w32ap
i/lib -isystem /usr/src/cygwin-1.5.9-1/winsup/include -isystem
/usr/src/cygwin-1
.5.9-1/winsup/cygwin/include -isystem
/usr/src/cygwin-1.5.9-1/winsup/w32api/incl
ude -B/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/newlib/ -isystem
/usr/src/cygwin-1.
5.9-1/i686-pc-cygwin/newlib/targ-include -isystem
/usr/src/cygwin-1.5.9-1/newlib
/libc/include -c -nostdinc++ -g -O2 -fno-exceptions -fno-rtti
-DHAVE_DECL_GETOPT
=0 -Wall -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0
-I. -I/u
sr/src/cygwin-1.5.9-1/winsup/cygwin
-I/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/incl
ude -fno-rtti -fno-exceptions -c -o parse_pe.o
-I/usr/src/cygwin-1.5.9-1/bfd -I/
usr/src/cygwin-1.5.9-1/include ../../.././winsup/utils/parse_pe.cc
../../../winsup/utils/parse_pe.cc: In function `void
select_data_section(bfd*, a
section*, void*)':
../../../winsup/utils/parse_pe.cc:67: error: 'struct bfd_section' has no
member
named '_raw_size'
../../../winsup/utils/parse_pe.cc:69: error: 'struct bfd_section' has no
member
named '_raw_size'
../../../winsup/utils/parse_pe.cc:70: error: 'struct bfd_section' has no
member
named '_raw_size'
make[2]: *** [parse_pe.o] Error 1
make[2]: Leaving directory
`/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup/utils'
make[1]: *** [utils] Error 1
make[1]: Leaving directory `/usr/src/cygwin-1.5.9-1/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2
---
Not a simple case of a missing file...I must have some other in-compatible
include file or package installed though I have latest released packages
installed.
Am I missing a package or library?
Any idea why it is looking for the include files in /include instead of
/usr/include?
Copies of the file do appear to exist in /usr/include.
TnxIA
-l
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list