This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling cygwin from CVS - Undefined symbol


Christopher Faylor wrote:
> >Still having problems compiling Cygwin from CVS.
> 
> Remove cygwin.def from your source directory.
>
Could not find a cygwin.def in my source directory but deleted the full cygwin 
objects (build ) directory and did a new cvs update and then did my configure 
and my make and I got the following error (Note after this I did find 
cygwin.def in my build tree - not my source tree).  I then deleted my build 
directory again and redid my cvs update and did a configure and build again but 
could not get this error to occur again but did get the error I previously 
reported on that build and any others I attempted.  Even did a cvs update again 
today and removed the build directory but still could not reproduce this error 
but did get the longjmp and NOSIGFE error.

After verify cygwin.def and build directory did not exist and performing cvs 
update, configure and make:

Making all in sys
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
sys'
Making all in .
make[5]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
sys'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/s
ys'
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/s
ys'
Making all in reent
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
reent'
/usr/bin/gcc -L/usr/develop/obj/cygwin/i686-pc-cygwin/winsup 
-L/usr/develop/obj/
cygwin/i686-pc-cygwin/winsup/cygwin 
-L/usr/develop/obj/cygwin/i686-pc-cygwin/win
sup/w32api/lib -isystem /usr/develop/src/src/src/winsup/include -isystem 
/usr/de
velop/src/src/src/winsup/cygwin/include -isystem 
/usr/develop/src/src/src/winsup
/w32api/include -isystem /usr/develop/src/src/src/newlib/libc/sys/cygwin 
-isyste
m /usr/develop/src/src/src/newlib/libc/sys/cygwin32 
-B/usr/develop/obj/cygwin/i6
86-pc-cygwin/newlib/ -isystem 
/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/targ
-include -isystem /usr/develop/src/src/src/newlib/libc/include 
-DPACKAGE=\"newli
b\" -DVERSION=\"1.11.0\"  -I. -I/usr/develop/src/src/src/newlib/libc/reent  -O2
-DMB_CAPABLE -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_POS_ARGS 
-
DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL 
-DMAL
LOC_PROVIDED -I/usr/develop/src/src/src/winsup/cygwin/include -fno-builtin    
-O
2 -g -O2  -O2 -g -O2 -c /usr/develop/src/src/src/newlib/libc/reent/impure.c
rm -f lib.a
ar cru lib.a closer.o reent.o impure.o fcntlr.o fstatr.o getreent.o linkr.o 
lsee
kr.o openr.o readr.o signalr.o signgam.o sbrkr.o statr.o timer.o unlinkr.o 
write
r.o fstat64r.o lseek64r.o open64r.o execr.o
ranlib lib.a
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/r
eent'
Making all in errno
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
errno'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/e
rrno'
Making all in misc
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
misc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/m
isc'
Making all in machine
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
machine'
Making all in i386
make[5]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
machine/i386'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/m
achine/i386'
Making all in .
make[5]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
machine'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/m
achine'
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/m
achine'
Making all in posix
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
posix'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/p
osix'
Making all in syscalls
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/
syscalls'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc/s
yscalls'
Making all in .
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc'

rm -f libc.a
rm -rf tmp
mkdir tmp
cd tmp; \
 for i in argz/lib.a stdlib/lib.a ctype/lib.a search/lib.a stdio/lib.a 
stdio64/l
ib.a string/lib.a signal/lib.a time/lib.a locale/lib.a  reent/lib.a  
errno/lib.a
 misc/lib.a machine/lib.a  posix/lib.a syscalls/lib.a; do \
   ar x ../$i; \
 done; \
ar rc ../libc.a *.o
ranlib libc.a
rm -rf tmp
make[4]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc'
make[3]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libc'
Making all in libm
make[3]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm'

Making all in math
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/
math'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/m
ath'
Making all in common
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/
common'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/c
ommon'
Making all in machine
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/
machine'
Making all in i386
make[5]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/
machine/i386'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/m
achine/i386'
Making all in .
make[5]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/
machine'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/m
achine'
make[4]: Leaving directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm/m
achine'
make[4]: Entering directory 
`/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm'

make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm'
make[3]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/libm'
Making all in doc
make[3]: Entering directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib/doc'
Making all in .
make[3]: Entering directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib'
rm -rf libc.a libg.a tmp
mkdir tmp
cd tmp; \
 ar x ../libm.a s_isinf.o sf_isinf.o s_isnan.o sf_isnan.o s_ldexp.o sf_ldexp.o 
s
_frexp.o sf_frexp.o s_modf.o sf_modf.o s_scalbn.o sf_scalbn.o s_finite.o 
sf_fini
te.o s_copysign.o sf_copysign.o s_infconst.o ; \
 ar x ../libc/libc.a ; \
 ar rc ../libc.a *.o
ranlib libc.a
ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
rm -rf tmp
make[3]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib'
make[2]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib'
make[1]: Leaving directory `/usr/develop/obj/cygwin/i686-pc-cygwin/newlib'
Configuring in i686-pc-cygwin/libiberty
configure: error: invalid package name: target-subdir
make: *** [configure-target-libiberty] Error 1
~
$

Then I searched for, found, and deleted cygwin.def from my build direcotry 
(could not find in source) and removd my build directory and redid cvs update, 
configure and make.  At this point I received my previosuly reported error 
about longjmp and NOSIGFE and undefined symbol.

Is there some other file in the source tree I should be looking for.

-- 
Brian Keener
bkeenerReMoVeAnTiSpAm@thesoftwaresource.com




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]