Hello!
I have tried to compile gpc-20010924 on a cygwin system (windows-98 Pentium 2). I think I follow the instructions in the Install file thoroughly but the compilation fails. The configuration seems to work without problems (I get promped for the patch for gpc-2.1; I use the gcc-core-2.95.2 source found at the gnu-home-site)
After a few seconds of make, however I get:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/Persson/gnucomplers/gcc-2.95.2/lib iberty/../include /home/Persson/gnucomplers/gcc-2.95.2/libiberty/strerror.c
/home/Persson/gnucomplers/gcc-2.95.2/libiberty/strerror.c:461: conflicting t ypes for `sys_errlist' /usr/include/sys/errno.h:23: previous declaration of `sys_errlist' make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/home/Persson/gnucomplers/gpc-gcc-build/libibert y' make: *** [all-libiberty] Error 2
I use the 'present' version of cygwin with the following setup.log file: 2001/09/29 16:38:34 Starting cygwin install, version 2.78.2.9 Current Directory: C:\user-pgm\install_files\cygwin source: from cwd Selected local directory: C:\user-pgm\install_files\cygwin root: C:/cygwin binary system Installing...latest/ash/ash-20010827-1.tar.bz2 Installing...latest/autoconf/autoconf-2.52-1.tar.bz2 Installing...latest/automake/automake-1.5-1.tar.bz2 Installing...latest/bash/bash-2.05-8.tar.bz2 Installing...latest/binutils/binutils-20010914-2.tar.bz2 Installing...latest/bison/bison-1.28-1.tar.gz Installing...latest/byacc/byacc.tar.gz Installing...latest/bzip2/bzip2-1.0.1-6.tar.gz Installing...latest/clear/clear-1.0.tar.gz Installing...latest/cpio/cpio-2.4.2.tar.gz Installing...contrib/cron/cron-3.0.1-5.tar.bz2 Installing...latest/crypt/crypt-1.0-1.tar.gz Installing...latest/ctags/ctags-5.0.1-1.tar.gz Installing...contrib/cvs/cvs-1.11.0-1.tar.gz Installing...latest/cygrunsrv/cygrunsrv-0.94-1.tar.bz2 Installing...latest/cygwin/cygwin-1.3.3-2.tar.bz2 Installing...latest/dejagnu/dejagnu-20010117-1.tar.gz Installing...latest/diff/diff.tar.gz Installing...latest/expect/expect-20010117-1.tar.gz Installing...latest/file/file-3.33-1.tar.gz Installing...latest/fileutils/fileutils-4.1-1.tar.bz2 Installing...latest/findutils/findutils.tar.gz Installing...latest/flex/flex-2.5.4-1.tar.gz Installing...latest/gawk/gawk-3.0.4-1.tar.gz Installing...latest/gcc/gcc-2.95.3-5.tar.bz2 Installing...latest/gdb/gdb-20010428-1.tar.gz Installing...contrib/gdbm/gdbm-1.8.0-3.tar.gz Installing...contrib/gettext/gettext-0.10.38-2.tar.bz2 Installing...contrib/ghostscript/ghostscript-6.51-1.tar.bz2 Installing...latest/gperf/gperf.tar.gz Installing...latest/grep/grep-2.4.2-1.tar.gz Installing...latest/groff/groff-1.16.1-1.tar.gz Installing...latest/gzip/gzip-1.3-1.tar.gz Installing...latest/inetutils/inetutils-1.3.2-14.tar.gz Installing...contrib/irc/irc-20010101-1.tar.gz Installing...contrib/jbigkit/jbigkit-1.2-4.tar.bz2 Installing...contrib/jpeg/jpeg-6b-4.tar.gz Installing...latest/less/less-358-3.tar.gz Installing...contrib/libpng/libpng-1.0.11-1.tar.gz Installing...latest/login/login-1.4-2.tar.gz Installing...contrib/lynx/lynx-2.8.4-1.tar.bz2 Installing...latest/m4/m4.tar.gz Installing...latest/make/make-3.79.1-4.tar.bz2 Installing...latest/man/man-1.5g-2.tar.gz Installing...latest/mingw/mingw-20010917-1.tar.gz Installing...latest/mingw-runtime/mingw-runtime-1.1-1.tar.bz2 Installing...latest/mt/mt-1.9.2-1.tar.bz2 Installing...contrib/mutt/mutt-1.2.5i-4.tar.bz2 Installing...contrib/ncftp/ncftp-3.0.2-2.tar.gz Installing...latest/ncurses/ncurses-5.2-5.tar.gz Installing...latest/cygwin/newlib-man-20001118.tar.gz Installing...latest/opengl/opengl-1.1.0-5.tar.gz Installing...latest/openssh/openssh-2.9p2-3.tar.bz2 Installing...latest/openssl/openssl-0.9.6b-1.tar.bz2 Installing...latest/patch/patch-2.5-2.tar.gz Installing...latest/pcre/pcre-3.4-2.tar.gz Installing...contrib/perl/perl-5.6.1-2.tar.bz2 Installing...contrib/popt/popt-1.6.1-1.tar.gz Installing...contrib/postgresql/postgresql-7.1.3-1.tar.bz2 Installing...contrib/python/python-2.1.1-2.tar.bz2 Installing...contrib/readline/readline-4.2-3.tar.bz2 Installing...latest/regex/regex-4.4.tar.gz Installing...contrib/rsync/rsync-2.4.6-2.tar.bz2 Installing...contrib/rxvt/rxvt-2.7.2-6.tar.gz Installing...latest/sed/sed-3.02-1.tar.gz Installing...latest/sh-utils/sh-utils-2.0-2.tar.gz Installing...contrib/squid/squid-2.4-STABLE20010508.tar.gz Installing...contrib/ssmtp/ssmtp-2.38.7-2.tar.gz Installing...latest/tar/tar-1.13.19-1.tar.gz Installing...latest/tcltk/tcltk-20001125-1.tar.gz Installing...contrib/tcsh/tcsh-6.10.00-3.tar.gz Installing...latest/termcap/termcap-20010825-1.tar.bz2 Installing...contrib/tetex/tetex-beta-20001218-1.tar.gz Installing...latest/texinfo/texinfo-4.0-4.tar.gz Installing...latest/textutils/textutils-2.0-2.tar.bz2 Installing...contrib/tiff/tiff-3.5.6beta-2.tar.gz Installing...latest/time/time.tar.gz Installing...contrib/unzip/unzip-5.41-1.tar.gz Installing...latest/vim/vim-6.0-1.tar.bz2 Installing...latest/w32api/w32api-1.1-1.tar.bz2 Installing...contrib/wget/wget-1.6-1.tar.gz Installing...latest/which/which-1.4.tar.gz Installing...contrib/xpm-nox/xpm-nox-4.1.0-1.tar.bz2 Installing...contrib/zip/zip-2.3-1.tar.gz Installing...latest/zlib/zlib-1.1.3-6.tar.gz mbox note: Installation Complete 2001/09/29 16:51:41 Ending cygwin install
What is wrong? Should I use another setup for Cygwin? Can my djgpp-installation cause problem (I have removed the 'djgpp-path' part of my autoexec.bat file temporarily)
Per
_________________________________________________________________ Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se
On 7 Oct 01, at 21:59, Per Persson wrote:
Hello!
I have tried to compile gpc-20010924 on a cygwin system (windows-98 Pentium 2). I think I follow the instructions in the Install file thoroughly but the compilation fails. The configuration seems to work without problems (I get promped for the patch for gpc-2.1; I use the gcc-core-2.95.2 source found at the gnu-home-site)
After a few seconds of make, however I get:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/Persson/gnucomplers/gcc-2.95.2/lib iberty/../include /home/Persson/gnucomplers/gcc-2.95.2/libiberty/strerror.c
/home/Persson/gnucomplers/gcc-2.95.2/libiberty/strerror.c:461: conflicting t ypes for `sys_errlist' /usr/include/sys/errno.h:23: previous declaration of `sys_errlist' make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/home/Persson/gnucomplers/gpc-gcc-build/libibert y' make: *** [all-libiberty] Error 2
[...]
Add "-DHAVE_SYS_ERRLIST" to the CFLAGS passed to "make" (e.g.,make "CFLAGS=-O2 -mcpu=pentium -DHAVE_SYS_ERRLIST"). That will solve the problem with "libiberty". I don't know why that problem exists, but it is a new problem. And it seems to be a new problem that arises out of recent Cygwin updates, which, it seems, the gcc 'configure' script does not handle well.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) Author of: Chief's Installer Pro for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm Email: African_Chief@bigfoot.com