Problems remaking setup after cvs update

Brian Keener bkeener@thesoftwaresource.com
Fri Mar 9 12:33:00 GMT 2001


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@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@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@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.






More information about the Cygwin-developers mailing list