This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Uncompilable 'setup' program !
- From: "Yann Crausaz" <yann_crausaz at bluemail dot ch>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 13 Nov 2002 10:12:38 +0000
- Subject: Uncompilable 'setup' program !
Hello poeple !
Currently, for my diploma work, I'm working on a port of RPM-4.1 for Cygwin
(which is actually nearly functionnal...), and I'd like to modify the "setup"
program to enable installations of programs in RPM format (hopefully!).
But here comes my problem : I just can't recompile setup-2.249.2.5-1-src.tar.bz2
(which is expanded into setup-2.249.2.5.tar.bz2, and then into setup-0),
even whithout having changed anything in the source.
On cygwin (DLL version: 1.3.12, Host: Windows 2000 Professional Ver 5.0
Build 2195 Service Pack 2), I got the following error message :
make[2]: Entering directory `/cygdrive/d/setup/setup-0_cygwin'
source='archive.cc' object='archive.o' libtool=no \
depfile='.deps/archive.Po' tmpdepfile='.deps/archive.TPo' \
depmode=gcc /bin/bash ./cfgaux/depcomp \
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"setup\" -DVERSION=\"0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DHAVE_ALLOCA_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STRING=1 -DHAVE_STRING_H=1 -I.
-I. -I./bz2lib -I./libgetopt++/include -Werror -Winline -Wall -Wpointer-arith
-Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wcomments -g -O2 -c -o archive.o `test -f 'archive.cc' || echo './'`archive.cc
In file included from archive.cc:31:
io_stream.h:34: conflicting types for `typedef long int ssize_t'
/usr/include/sys/types.h:164: previous declaration as `typedef _ssize_t
ssize_t'
make[2]: *** [archive.o] Error 1
make[2]: Leaving directory `/cygdrive/d/setup/setup-0_cygwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/setup/setup-0_cygwin'
make: *** [all] Error 2
I just did a './configure' and then a 'make'. What am I doing wrong ? In
which environment did Mr Delorie build his 'setup' tool ?
Thanks in advance
Yann Crausaz
-----------------------------------------------
Yann Crausaz
EIVD - University of Applied Sciences of Western Switzerland
Route de Cheseaux 1
1400 Yverdon-les-Bains
Switzerland
mailto:yann.crausaz@eivd.ch
mailto:yann_crausaz@bluemail.ch
-----------------------------------------------