This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Compiling cygwin's setup.exe is failing
- To: cygwin at cygwin dot com
- Subject: Compiling cygwin's setup.exe is failing
- From: "Smith, Stephen P (AZ75)" <smith_stephen at htc dot honeywell dot com>
- Date: Thu, 20 Sep 2001 12:16:19 -0500
I want to compile the setup.exe program that is used to install cygwin.
Since I have a current version of cygwin installed(as of what was available
yesterday), I followed Delorie's suggestion in an earlier post and got the
source from CVS
export CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
cvs login ( password is anoncvs)
cvs checkout winsup
The post indicates that you need to do a full build before you can compile
setup, I tried that
../src/configure --prefix=/htc/Deos/cygwinInstaller/install 2>&1 | tee
configure.log
make 2>&1 | tee make.log
I am getting an error shown below. Does anyone have experience building
setup.exe from source?
gcc -L/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/winsup
-L/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/winsup/cygwin -
L/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/winsup/w32api/lib -isystem
/htc/Deos/cygwinInstaller/src/winsup/include -i
system /htc/Deos/cygwinInstaller/src/winsup/cygwin/include -isystem
/htc/Deos/cygwinInstaller/src/winsup/w32api/include
-isystem /htc/Deos/cygwinInstaller/src/newlib/libc/sys/cygwin -isystem
/htc/Deos/cygwinInstaller/src/newlib/libc/sys/cyg
win32 -B/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/newlib/ -isystem
/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/newli
b/targ-include -isystem /htc/Deos/cygwinInstaller/src/newlib/libc/include -c
-nostdinc -g -O2 -Wall -Wwrite-strings
-I. -I/htc/Deos/cygwinInstaller/src/winsup/cygwin/include
-I/htc/Deos/cygwinInstaller/src/winsup/cygwin -I/htc/Deos/cygw
inInstaller/src/newlib/libc/sys/cygwin
-I/htc/Deos/cygwinInstaller/src/newlib/libc/include
-I/htc/Deos/cygwinInstaller/s
rc/winsup/w32api/include -I/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6//include
-c -o ./mingw_getopt.o -mno-cygwin -I/htc/D
eos/cygwinInstaller/src/winsup/mingw/include
-I/htc/Deos/cygwinInstaller/src/winsup/w32api/include /htc/Deos/cygwinInsta
ller/src/winsup/cygwin/lib/getopt.c
/htc/Deos/cygwinInstaller/src/winsup/cygwin/lib/getopt.c: In function
`_vwarnx':
/htc/Deos/cygwinInstaller/src/winsup/cygwin/lib/getopt.c:114: `__argv'
undeclared (first use in this function)
/htc/Deos/cygwinInstaller/src/winsup/cygwin/lib/getopt.c:114: (Each
undeclared identifier is reported only once
/htc/Deos/cygwinInstaller/src/winsup/cygwin/lib/getopt.c:114: for each
function it appears in.)
gcc: file path prefix `/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/newlib/'
never used
gmake[2]: *** [mingw_getopt.o] Error 1
gmake[2]: Leaving directory
`/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/winsup/utils'
gmake[1]: *** [utils] Error 2
gmake[1]: Leaving directory
`/htc/Deos/cygwinInstaller/obj/i686-pc-cygwin/winsup'
gmake: *** [all-target-winsup] Error 2
> - sps -
>
> 602-436-2487
> stephen.smith@honeywell.com
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/