This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Testing a freshly built cygwin1.dll


On Sat, Jun 24, 2000 at 10:08:26AM +0200, Gilles-Claude Rajaobelina wrote:
>Is there any recommended way to "safely" test a freshly built winsup in
>the real worlds?
>After the build completed, I issued
>
>$ make -w check
>
>which failed as:
>
>make: Entering directory `/obj/winsup/src'
>make[1]: Entering directory `/obj/winsup/src/etc'
>make[1]: Nothing to be done for `check'.
>make[1]: Leaving directory `/obj/winsup/src/etc'
>make[1]: Entering directory `/obj/winsup/src/libiberty'
>make[2]: Entering directory `/obj/winsup/src/libiberty/testsuite'
>echo 'int prepends_underscore = 0;' > test-us.c
>gcc -DHAVE_CONFIG_H -g -O3 -I..
>-I/src/CYGWIN/winsup/src/libiberty/testsuite/../../include  -o
>test-filter -DMAIN -DVERSION='"none"' -DHAVE_CONFIG_H \
> /src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c test-us.c
>-L.. -liberty
>/tmp/cc5CIort.o: In function `consume_count_with_underscores':
>/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:556: undefined
>reference to `_imp___ctype_'
>/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:530: undefined
>reference to `_imp___ctype_'
>/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:531: undefined
>reference to `_imp___ctype_'
>/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:537: undefined
>reference to `_imp___ctype_'
>/tmp/cc5CIort.o: In function `cplus_demangle_opname':
>/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:687: undefined
>reference to `_imp___ctype_'
>/tmp/cc5CIort.o:/src/CYGWIN/winsup/src/libiberty/testsuite/../cplus-dem.c:1271:
>more undefined references to `_imp___ctype_' follow
>collect2: ld returned 1 exit status
>make[2]: *** [test-filter] Error 1
>make[2]: Leaving directory `/obj/winsup/src/libiberty/testsuite'
>make[1]: *** [check-subdir] Error 2
>make[1]: Leaving directory `/obj/winsup/src/libiberty'
>make: *** [check-libiberty] Error 2
>make: Leaving directory `/obj/winsup/src'
>Command exited with non-zero status 2

The _imp___ctype errors are an indication of linking with an old cygwin
import library.  You should not be linking with older objects or libraries.
Any .o or .a has to be recompiled.

We do not have much of a testsuite currently but what is available is in
winsup/testsuite.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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