delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/09/15:34:09

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Fri, 09 Mar 2001 15:33:58 EST
X-Mailer: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-Id: <VA.000006a4.005dafcf@thesoftwaresource.com>
To: cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Problems remaking setup after cvs update
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
Reply-To: bkeener AT thesoftwaresource DOT com

Okay,

as I said in my message about cvs diff confusion and updated my cygwin 
and setup cvs sources last night and then today first thing (because I've 
had problems in the past when I start making changes right away) I was 
going to recompile setup.  So first thing I go to 
/build/i686-pc-cygwin/winsup/cinstall and do a make and poof the 
following error (this is only the last part of the screen - rest ran off 
the screen):

briank AT BK_SATELLITE /build/i686-pc-cygwin/winsup/cinstall
$ make 
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/l
d:/usr/
lib/libstdc++.a: file format not recognized; treating as linker script
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/l
d:/usr/
lib/libstdc++.a:1: syntax error
collect2: ld returned 1 exit status
c++: file path prefix `/build/i686-pc-cygwin/newlib/' never used
make: *** [setup.exe] Error 1

briank AT BK_SATELLITE /build/i686-pc-cygwin/winsup/cinstall
$

So having had problem before I simply remove my whole build directory and 
recreate it but first I moved my src and build directories to /usr since 
I thought / was not the appropriate place (I don't think this matter but 
I didn't want to leave it out).  I then cd into /usr/build and do a 
/usr/src/configure --host=i686-pc-cygwin to get it configured.

This has helped in the past when I've had problems with an update (which 
I do almost every time - takes me several attempts before things will 
compile again)and then I try to do my make again.  It runs and runs and 
then I get the following error (this is only the last part of the screen 
- rest ran off the screen):

 fhandler_windows.o fhandler_zero.o fork.o glob.o grp.o heap.o init.o 
ioctl.o lo
caltime.o malloc.o miscfuncs.o mmap.o net.o ntea.o passwd.o path.o 
pinfo.o pipe.
o poll.o pthread.o regexp.o regerror.o regsub.o registry.o resource.o 
scandir.o
security.o select.o shared.o shortcut.o signal.o sigproc.o smallprint.o 
spawn.o
strace.o strsep.o sync.o syscalls.o sysconf.o syslog.o termios.o thread.o 
times.
o tty.o uinfo.o uname.o wait.o window.o longjmp.o setjmp.o 
/usr/build/i686-pc-cy
gwin/libiberty/random.o /usr/build/i686-pc-cygwin/libiberty/strsignal.o  
version
o \
winver.o /usr/build/i686-pc-cygwin/winsup/w32api/lib/libkernel32.a  
/usr/build/i
686-pc-cygwin/newlib/libm/libm.a 
/usr/build/i686-pc-cygwin/newlib/libc/libc.a -l
gcc -lstdc++ -lshell32 -luuid
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/l
d:/usr/
lib/libstdc++.a: file format not recognized; treating as linker script
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/l
d:/usr/
lib/libstdc++.a:1: syntax error
collect2: ld returned 1 exit status
c++: file path prefix `/usr/build/i686-pc-cygwin/newlib/' never used
make[2]: *** [new-cygwin1.dll] Error 1
make[2]: Leaving directory `/usr/build/i686-pc-cygwin/winsup/cygwin'
make[1]: *** [cygwin] Error 2
make[1]: Leaving directory `/usr/build/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2

briank AT BK_SATELLITE /usr/build
$


What is wrong here - is there some environment I need to set, is there 
some easy way to compile again after a cvs update,  what is going on and 
what do I need to get my compiles working again.




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019