winsup reorg completed

Corinna Vinschen corinna@vinschen.de
Fri Jan 7 16:04:00 GMT 2000


Chris Faylor wrote:
> [...]
> Please try this out, everybody.  This is step 1 towards making a
> new net release.

HELP!

First of all, the path to newlib was wrong computed but that's not
so important.

The real problem: I can't link anymore.

The first link pass fails! The output is as follows:

=== SNIP ===
ld -shared -o new-cygwin1.dll -e _dll_entry@12 cygwin.def assert.o dcr
t0.o debug.o delqueue.o dir.o dlfcn.o dll_init.o environ.o  errno.o ex
[...]
g.o termios.o times.o tty.o uinfo.o uname.o wait.o window.o longjmp.o 
setjmp.o /export/src/cygwin/libiberty/random.o /export/src/cygwin/libi
berty/strsignal.o pthread.o thread.o version.o \
winver.o /export/src/cygwin/winsup/w32api/lib/libkernel32.a /export/sr
c/cygwin/winsup/w32api/lib/libadvapi32.a /export/src/cygwin/newlib/lib
m/libm.a /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a /export/src/cy
gwin/newlib/libc/libc.a /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a
ld: cygwin.def:1032: parse error
ld: cygwin.def:1032: parse error
ld: cygwin.def:1032: parse error
ld: cygwin.def:1032: parse error
Warning, duplicate EXPORT: __mb_cur_max
Warning, duplicate EXPORT: _ctype_
Warning, duplicate EXPORT: _sys_errlist
Warning, duplicate EXPORT: _sys_nerr
regexp.o: In function `regmatch':
/export/src/cygwin/winsup/cygwin/./regexp/regexp.c:924: undefined refe
rence to `_imp___ctype_'
/export/src/cygwin/winsup/cygwin/./regexp/regexp.c:933: undefined refe
rence to `_imp___ctype_'
smallprint.o: In function `_small_vsprintf':
/export/src/cygwin/winsup/cygwin/smallprint.c:161: undefined reference
 to `_imp___ctype_'
make[1]: *** [new-cygwin1.dll] Error 1
make[1]: Leaving directory `/export/src/cygwin/winsup/cygwin'
make: *** [cygwin] Error 2
=== SNAP ===

Sorry but I don't understand it.

A compiler pass looks like:

=== SNIP ===
gcc -c -nostdinc++  -g -O2 -Wall -Wwrite-strings    -D_MT_SAFE=1  -I./
../cygwin/include -I./../cygwin -I./../../newlib/libc/sys/cygwin -I./.
./../newlib/libc/include -I./../w32api/include -I./config/i386
-I/usr/lib/gcc-lib/i586-cygwin32/2.95.2//include -fno-rtti -fno-except
ions -o ./shared.o shared.cc
=== SNAP ===

Can you help me? Do you need additional information?

Corinna


More information about the Cygwin-developers mailing list